[LLVMdev] llvm-gcc compilation error: BUILT_IN_ADJUST_TRAMPOLINE undeclared

Johan Cockx johan at sikanda.be
Tue Nov 18 02:22:20 PST 2008


You're right,  thanks.  However,   now I ran into the next problem.  This
seems to be related to the fact that I have a 64-bit machine?

$ ../../src/llvm-gcc/configure --prefix=/home/johan/llvm
--program-prefix=llvm- --enable-llvm=/home/johan/llvm/obj/llvm
--enable-languages=c,c++
...
$ gmake
...
/home/johan/llvm/obj/llvm-gcc/./gcc/xgcc
-B/home/johan/llvm/obj/llvm-gcc/./gcc/
-B/home/johan/llvm/x86_64-unknown-linux-gnu/bin/
-B/home/johan/llvm/x86_64-unknown-linux-gnu/lib/ -isystem
/home/johan/llvm/x86_64-unknown-linux-gnu/include -isystem
/home/johan/llvm/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g -O2
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I32
-I../../../src/llvm-gcc/gcc -I../../../src/llvm-gcc/gcc/32
-I../../../src/llvm-gcc/gcc/../include
-I../../../src/llvm-gcc/gcc/../libcpp/include
-I../../../src/llvm-gcc/gcc/../libdecnumber -I../libdecnumber
-I/home/johan/llvm/obj/llvm/include -I/home/johan/llvm/src/llvm/include -m32
-g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder  -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables \
      -c ../../../src/llvm-gcc/gcc/crtstuff.c -DCRT_BEGIN \
      -o 32/crtbegin.o
In file included from /usr/include/features.h:359,
                 from /usr/include/stdio.h:28,
                 from ../../../src/llvm-gcc/gcc/tsystem.h:90,
                 from ../../../src/llvm-gcc/gcc/crtstuff.c:68:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory


On Tue, Nov 18, 2008 at 11:17 AM, Johan Cockx <johan.cockx at sikando.com>wrote:

> You're right,  thanks.  However,   now I ran into the next problem.  This
> seems to be related to the fact that I have a 64-bit machine?
>
> $ ../../src/llvm-gcc/configure --prefix=/home/johan/llvm
> --program-prefix=llvm- --enable-llvm=/home/johan/llvm/obj/llvm
> --enable-languages=c,c++
> ...
> $ gmake
> ...
> /home/johan/llvm/obj/llvm-gcc/./gcc/xgcc
> -B/home/johan/llvm/obj/llvm-gcc/./gcc/
> -B/home/johan/llvm/x86_64-unknown-linux-gnu/bin/
> -B/home/johan/llvm/x86_64-unknown-linux-gnu/lib/ -isystem
> /home/johan/llvm/x86_64-unknown-linux-gnu/include -isystem
> /home/johan/llvm/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g -O2
> -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I32
> -I../../../src/llvm-gcc/gcc -I../../../src/llvm-gcc/gcc/32
> -I../../../src/llvm-gcc/gcc/../include
> -I../../../src/llvm-gcc/gcc/../libcpp/include
> -I../../../src/llvm-gcc/gcc/../libdecnumber -I../libdecnumber
> -I/home/johan/llvm/obj/llvm/include -I/home/johan/llvm/src/llvm/include -m32
> -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
> -fno-zero-initialized-in-bss -fno-toplevel-reorder  -fno-omit-frame-pointer
> -fno-asynchronous-unwind-tables \
>       -c ../../../src/llvm-gcc/gcc/crtstuff.c -DCRT_BEGIN \
>       -o 32/crtbegin.o
> In file included from /usr/include/features.h:359,
>                  from /usr/include/stdio.h:28,
>                  from ../../../src/llvm-gcc/gcc/tsystem.h:90,
>                  from ../../../src/llvm-gcc/gcc/crtstuff.c:68:
> /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
> directory
>
>
>
> On Tue, Nov 18, 2008 at 10:53 AM, Duncan Sands <baldrick at free.fr> wrote:
>
>> Hi
>>
>> > This is my first attempt to compile llvm-gcc.
>> > The llvm core compiled without problems.
>>
>> you didn't tell it where to find llvm when you configured.
>> Check out README.LLVM, in particular the --enable-llvm=
>> option.
>>
>> Ciao,
>>
>> Duncan.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081118/a990c41c/attachment.html>


More information about the llvm-dev mailing list