[LLVMdev] Error when attempting to build llvm-gcc-4.2-2.4.source on Mac OS X 10.5.6

Elvis Dowson elvis.dowson at mac.com
Sun Dec 28 13:27:29 PST 2008


Hi,
        I'm new to LLVM and I want to setup the Trident Compiler  
system on Mac OS X. I downloaded the llvm-gcc-4.2-2.4.source.tar.gz  
package, created a build directory and ran the following command to  
configure

$ ../src/configure --program-prefix=llvm- --disable-bootstrap --enable- 
checking --enable-languages=c,c++
$ make -j 2

Configure works fine, but I get the following error after running the  
make command:

gcc -c   -g -O2 -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  -mdynamic-no-pic -DHAVE_CONFIG_H -I. -I. - 
I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../ 
intl -I../../src/gcc/../libcpp/include  -I../../src/gcc/../ 
libdecnumber -I../libdecnumber    ../../src/gcc/tree-nested.c -o tree- 
nested.o
../../src/gcc/tree-nested.c: In function 'convert_tramp_reference':
../../src/gcc/tree-nested.c:1846: error: 'BUILT_IN_ADJUST_TRAMPOLINE'  
undeclared (first use in this function)
../../src/gcc/tree-nested.c:1846: error: (Each undeclared identifier  
is reported only once
../../src/gcc/tree-nested.c:1846: error: for each function it appears  
in.)
make[2]: *** [tree-nested.o] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2

How can I resolve this error?

Best regards,

Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081229/99460c93/attachment.html>


More information about the llvm-dev mailing list