Arvind Ayyangar
2008-Jan-21 09:37 UTC
[LLVMdev] LLVM build freezes in scratchbox, ARM target
Hi, I am new to LLVM and have been trying to get it working on scratchbox (ARM target). When I try to build llvm-2.1, the build freezes with the following output.. /scratchbox/compilers/arm-softfloat-linux-gcc-3.4.4-cs-2005q3-2-glibc-2.3.6/bin/sbox-arm-softfloat-linux-gnu-nm: 'libgcc/./_dvmd_lnx_s.o': No such file mv -f libgcc/./_dvmd_lnx.visT libgcc/./_dvmd_lnx.vis /home/arvind/tools/llvm/llvm_build/./gcc/xgcc -B/home/arvind/tools/llvm/llvm_build/./gcc/ -B/opt/llvm//arm-unknown-linux-gnu/bin/ -B/opt/llvm//arm-unknown-linux-gnu/lib/ -isystem /opt/llvm//arm-unknown-linux-gnu/include -isystem /opt/llvm//arm-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/. -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/../include -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/../libcpp/include -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/../libdecnumber -I../libdecnumber -DL_dvmd_lnx -xassembler-with-cpp -c /home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/config/arm/lib1funcs.asm -include libgcc/./_dvmd_lnx.vis -o libgcc/./_dvmd_lnx.o /home/arvind/tools/llvm/llvm_build/./gcc/xgcc -B/home/arvind/tools/llvm/llvm_build/./gcc/ -B/opt/llvm//arm-unknown-linux-gnu/bin/ -B/opt/llvm//arm-unknown-linux-gnu/lib/ -isystem /opt/llvm//arm-unknown-linux-gnu/include -isystem /opt/llvm//arm-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/. -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/../include -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/../libcpp/include -I/home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/../libdecnumber -I../libdecnumber -DL_cmpdi2 -fvisibility=hidden -DHIDE_EXPORTS -c /home/arvind/tools/llvm/llvm-gcc4.2-2.1.source/gcc/libgcc2.c -o libgcc/./_cmpdi2.o Is this a known issue or am I missing out something very basic ? Thanks in advance... -- Cheers Arvind
Rafael Espindola
2008-Jan-21 10:13 UTC
[LLVMdev] LLVM build freezes in scratchbox, ARM target
On 21/01/2008, Arvind Ayyangar <arvind.ayyangar at gmail.com> wrote:> Hi, > I am new to LLVM and have been trying to get it working on > scratchbox (ARM target). When I try to build llvm-2.1, the build > freezes with the following output.. >I have build llvm inside scratchbox sometime ago. More recently Lauro pointed out that one should use a patched qemu. Not sure if it is still necessary, but give it a try: http://dev.openbossa.org/trac/mamona/wiki/QEmuInstallationGuide Cheers, -- Rafael Avila de Espindola Google Ireland Ltd. Gordon House Barrow Street Dublin 4 Ireland Registered in Dublin, Ireland Registration Number: 368047
Lauro Ramos Venancio
2008-Jan-21 14:17 UTC
[LLVMdev] LLVM build freezes in scratchbox, ARM target
Hi Arvind, To use llvm inside scratchbox you must use a newer qemu. See http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/ (in Portuguese, but the important things are in bash :) ) I don't know if it is the problem in this case, but it should be the first attempt. Lauro 2008/1/21, Rafael Espindola <espindola at google.com>:> On 21/01/2008, Arvind Ayyangar <arvind.ayyangar at gmail.com> wrote: > > Hi, > > I am new to LLVM and have been trying to get it working on > > scratchbox (ARM target). When I try to build llvm-2.1, the build > > freezes with the following output.. > > > > I have build llvm inside scratchbox sometime ago. More recently Lauro > pointed out that one should use a patched qemu. Not sure if it is > still necessary, but give it a try: > > > http://dev.openbossa.org/trac/mamona/wiki/QEmuInstallationGuide > > Cheers, > -- > Rafael Avila de Espindola > > Google Ireland Ltd. > Gordon House > Barrow Street > Dublin 4 > Ireland > > Registered in Dublin, Ireland > Registration Number: 368047 > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >