Hello, 
I am a newbie to CLFS.

Now I am trying to build ARM environment on host (Redhat AS3) under
document of
http://cross-lfs.org/view/CLFS-SYSROOT-SVN-0.0.1-20070814/arm/index.html

I encountered gcc-statc build problem as follows.

/mnt/clfs/sources/gcc-build/./gcc/xgcc
-B/mnt/clfs/sources/gcc-build/./gcc/
-B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/
-B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem
/mnt/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem
/mnt/clfs/cross-tools/arm-unknown-linux-gnu/sys-include -O2 -O2 -g -O2
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I.
-I../../gcc-4.2.1/gcc -I../../gcc-4.2.1/gcc/.
-I../../gcc-4.2.1/gcc/../include -I../../gcc-4.2.1/gcc/../libcpp/include
-I../../gcc-4.2.1/gcc/../libdecnumber -I../libdecnumber  -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder   \
  -c ../../gcc-4.2.1/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/tmp/ccQ4Oqqi.s: Assembler messages:
/tmp/ccQ4Oqqi.s:62: Error: cannot represent BFD_RELOC_32 relocation in
this object file format
...snipped... same message repeated 4 times
/tmp/ccQ4Oqqi.s:72: Error: cannot represent BFD_RELOC_ARM_PCREL_BRANCH
relocation in this object file format
/tmp/ccQ4Oqqi.s:105: Error: cannot represent BFD_RELOC_ARM_PCREL_BRANCH
relocation in this object file format

make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2

I tried twice. I got same.

Does anyone know a solution for this problem ?

Regards,
momo

-- 
Hirofumi Momose <[EMAIL PROTECTED]>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to