[LLVMdev] Build(s) broken?

Török Edwin edwintorok at gmail.com
Sun Aug 30 23:44:30 PDT 2009


On 2009-08-30 23:09, Jim Grosbach wrote:
> On Aug 30, 2009, at 10:18 AM, Paul Melis wrote:
>
>   
>> Also, llvm-gcc also doesn't build for me. Here the error is related to
>> exception handling:
>>
>> make[3]: Leaving directory `/home/melis/c/llvm-gcc-svn-build/ 
>> libdecnumber'
>> make[3]: Entering directory `/home/melis/c/llvm-gcc-svn-build/gcc'
>> /home/melis/local/bin/gcc -c   -g -DIN_GCC   -W -Wall -Wwrite-strings
>> -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
>> -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
>> -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -I. -I.
>> -I../../llvm-gcc-svn/gcc -I../../llvm-gcc-svn/gcc/.
>> -I../../llvm-gcc-svn/gcc/../include
>> -I../../llvm-gcc-svn/gcc/../libcpp/include
>> -I../../llvm-gcc-svn/gcc/../libdecnumber -I../libdecnumber
>> gtype-desc.c -o gtype-desc.o
>> gtype-desc.c:5862: error: 'sjlj_fc_type_node' undeclared here (not  
>> in a
>> function)
>> make[3]: *** [gtype-desc.o] Error 1
>> make[3]: Leaving directory `/home/melis/c/llvm-gcc-svn-build/gcc'
>> make[2]: *** [all-stage1-gcc] Error 2
>> make[2]: Leaving directory `/home/melis/c/llvm-gcc-svn-build'
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory `/home/melis/c/llvm-gcc-svn-build'
>> make: *** [all] Error 2
>>
>> Is there something suddenly wrong with my system (which hasn't changed
>> in any way)? I used to be able to build LLVM(GCC) without problems a  
>> few
>> weeks ago...
>>
>>     
>
> SJLJ exception handling is only implemented on ARM Darwin. It looks  
> like your target is pulling in bits of that?
>   


I get the same error when trying to build the LLVM2.6 prerelease1 on
x86-64 Linux.
FWIW building TOT llvm/llvm-gcc doesn't have this problem.

Best regards,
--Edwin



More information about the llvm-dev mailing list