Sanjeev C
2010-Jun-04 11:41 UTC
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
I'm getting following errors while cross compiling llvm for ARM. Please help since it is urgent and critical My gcc version is 4.2.0, 32bit Linux and target is ARM Configure options are: ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=armv7fl-montavista-linux-gnueabi --enable-cross --with-sysroot=/home//arm_v7_vfp_le/target/ --with-build-sysroot=/home//arm_v7_vfp_le/target/ --enable-shared --enable-languages=c,c++ --with-as=/home//arm_v7_vfp_le/bin/arm_v7_vfp_le-as --with-ld=/home//arm_v7_vfp_le/bin/arm_v7_vfp_le-ld --enable-checking=release --disable-multilib --enable-llvm=/home//Desktop/Sanjeev/LLVM/llvm-2.7 --enable-clocale=gnu --with-cpu=cortex-a8 --with-interwork --with-arch=armv7-a --with-mode=arm --with-tune=cortex-a8 --with-fpu=vfp3 --disable-bootstrap I get following errors: /home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/xgcc -B/home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/ -B/usr/local/armv7fl-montavista-linux-gnueabi/bin/ -B/usr/local/armv7fl-montavista-linux-gnueabi/lib/ -isystem /usr/local/armv7fl-montavista-linux-gnueabi/include -isystem /usr/local/armv7fl-montavista-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. -I../.././libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 --sysroot=/home//arm_v7_vfp_le/target/ -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo -c ../.././libmudflap/mf-runtime.c -o mf-runtime.o>/dev/null 2>&1make[4]: *** [mf-runtime.lo] Error 1 make[4]: Leaving directory `/home//llvm-gcc-4.2-2.7.source/armv7fl-montavista-linux-gnueabi/libmudflap' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home//llvm-gcc-4.2-2.7.source/armv7fl-montavista-linux-gnueabi/libmudflap' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home//llvm-gcc-4.2-2.7.source/armv7fl-montavista-linux-gnueabi/libmudflap' make[1]: *** [all-target-libmudflap] Error 2 make[1]: Leaving directory `/home//llvm-gcc-4.2-2.7.source' make: *** [all] Error 2 Thanks a lot Sanjeev -- View this message in context: http://old.nabble.com/build-errors-while-cross-compiling-llvm-gcc-for-ARM-tp28778845p28778845.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Dimitry Andric
2010-Jun-06 13:47 UTC
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
On 2010-06-04 13:41, Sanjeev C wrote:> I get following errors: > > /home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/xgcc > -B/home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/ > -B/usr/local/armv7fl-montavista-linux-gnueabi/bin/ > -B/usr/local/armv7fl-montavista-linux-gnueabi/lib/ -isystem > /usr/local/armv7fl-montavista-linux-gnueabi/include -isystem > /usr/local/armv7fl-montavista-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. > -I../.././libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g > -O2 --sysroot=/home//arm_v7_vfp_le/target/ -MT mf-runtime.lo -MD -MP -MF > .deps/mf-runtime.Tpo -c ../.././libmudflap/mf-runtime.c -o mf-runtime.o >> /dev/null 2>&1 > make[4]: *** [mf-runtime.lo] Error 1Unfortunately, the only informative part of this compilation error was hidden by the "> /dev/null 2>&1" redirection. Could you please remove that redirection, re-run the build, and report the actual error message?
Sanjeev chugh
2010-Jun-07 07:02 UTC
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
This is the full description of errors I am getting /home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/xgcc -B/home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/ -B/usr/local/armv7fl-montavista-linux-gnueabi/bin/ -B/usr/local/armv7fl-montavista-linux-gnueabi/lib/ -isystem /usr/local/armv7fl-montavista-linux-gnueabi/include -isystem /usr/local/armv7fl-montavista-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. -I../.././libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 --sysroot=/home//arm_v7_vfp_le/target/ -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo -c ../.././libmudflap/mf-runtime.c -o mf-runtime.o /tmp/cczBL31y.s: Assembler messages: /tmp/cczBL31y.s:409: rdhi, rdlo and rm must all be different /tmp/cczBL31y.s:2742: Error: offset too big /tmp/cczBL31y.s:2743: Error: offset too big /tmp/cczBL31y.s:2752: Error: offset too big /tmp/cczBL31y.s:2753: Error: offset too big /tmp/cczBL31y.s:2762: Error: offset too big /tmp/cczBL31y.s:2763: Error: offset too big /tmp/cczBL31y.s:2772: Error: offset too big /tmp/cczBL31y.s:2773: Error: offset too big /tmp/cczBL31y.s:2778: Error: offset too big /tmp/cczBL31y.s:2779: Error: offset too big /tmp/cczBL31y.s:2788: Error: offset too big /tmp/cczBL31y.s:2789: Error: offset too big /tmp/cczBL31y.s:2801: Error: offset too big /tmp/cczBL31y.s:2802: Error: offset too big /tmp/cczBL31y.s:3826: Error: offset too big /tmp/cczBL31y.s:3827: Error: offset too big /tmp/cczBL31y.s:3840: Error: offset too big /tmp/cczBL31y.s:3841: Error: offset too big /tmp/cczBL31y.s:5125: Error: offset too big /tmp/cczBL31y.s:5126: Error: offset too big /tmp/cczBL31y.s:5130: Error: offset too big /tmp/cczBL31y.s:5131: Error: offset too big On Sun, Jun 6, 2010 at 7:17 PM, Dimitry Andric <dimitry at andric.com> wrote:> On 2010-06-04 13:41, Sanjeev C wrote: > > I get following errors: > > > > /home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/xgcc > > -B/home/llvm-gcc-4.2-2.7.source/host-i686-pc-linux-gnu/gcc/ > > -B/usr/local/armv7fl-montavista-linux-gnueabi/bin/ > > -B/usr/local/armv7fl-montavista-linux-gnueabi/lib/ -isystem > > /usr/local/armv7fl-montavista-linux-gnueabi/include -isystem > > /usr/local/armv7fl-montavista-linux-gnueabi/sys-include -DHAVE_CONFIG_H > -I. > > -I../.././libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g > > -O2 --sysroot=/home//arm_v7_vfp_le/target/ -MT mf-runtime.lo -MD -MP -MF > > .deps/mf-runtime.Tpo -c ../.././libmudflap/mf-runtime.c -o mf-runtime.o > >> /dev/null 2>&1 > > make[4]: *** [mf-runtime.lo] Error 1 > > Unfortunately, the only informative part of this compilation error was > hidden by the "> /dev/null 2>&1" redirection. Could you please remove > that redirection, re-run the build, and report the actual error message? >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100607/6ba6f524/attachment.html>
Maybe Matching Threads
- [LLVMdev] build errors while cross compiling llvm-gcc for ARM
- [LLVMdev] build errors while cross compiling llvm-gcc for ARM
- [LLVMdev] build errors while cross compiling llvm-gcc for ARM
- [LLVMdev] build errors while cross compiling llvm-gcc for ARM
- [LLVMdev] build errors while cross compiling llvm-gcc for ARM