[oe] undefined reference to `_restfpr_14_x' in gcc-4.4.2/libgcc/../gcc/unwind.inc:307 when building ppc603e

Guo Hongruan camelguo at gmail.com
Sat Jan 23 09:59:47 UTC 2010


Hi guys,
   I am trying to building openembedded with the following configuration.
MACHINE=storcenter
DISTRO=micro
LIBC=eglibc
But I met the following error when compiling eglibc-2_10:

  /media/work-disk/testslave/oe_gss_inc_change_allinone/build/tmp/cross/eglibc/ppc603e/lib/gcc/powerpc-oe-linux/4.4.2/libgcc_eh.a(unwind-dw2.o):  
In function `_Unwind_Backtrace':
|  
/media/work-disk/testslave/oe_gss_inc_change_allinone/build/tmp/work/eglibc/ppc603e-oe-linux/gcc-cross-intermediate-4.4.2-r2.1/gcc-4.4.2/libgcc/../gcc/unwind.inc:307:  
undefined reference to `_restfpr_14_x'
| collect2: ld returned 1 exit status
| make[2]: ***  
[/media/work-disk/testslave/oe_gss_inc_change_allinone/build/tmp/work/eglibc/ppc603e-oe-linux/eglibc-2.10-r8.6/build-powerpc-oe-linux/elf/sln]  
Error 1
| make[2]: *** Waiting for unfinished jobs....
|  
/media/work-disk/testslave/oe_gss_inc_change_allinone/build/tmp/cross/eglibc/ppc603e/lib/gcc/powerpc-oe-linux/4.4.2/libgcc_eh.a(unwind-dw2.o):  
In function `_Unwind_Backtrace':
|  
/media/work-disk/testslave/oe_gss_inc_change_allinone/build/tmp/work/eglibc/ppc603e-oe-linux/gcc-cross-intermediate-4.4.2-r2.1/gcc-4.4.2/libgcc/../gcc/unwind.inc:307:  
undefined reference to `_restfpr_14_x'
| collect2: ld returned 1 exit status
| make[2]: ***  
[/media/work-disk/testslave/oe_gss_inc_change_allinone/build/tmp/work/eglibc/ppc603e-oe-linux/eglibc-2.10-r8.6/build-powerpc-oe-linux/elf/ldconfig]  
Error 1

anyone has met the same question before?
Is it caused by the incorrect toolchain set?
Is there anyone who has ever built toolchain for powerpc successfully?

Thanks a lot!


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com




More information about the Openembedded-devel mailing list