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

Khem Raj raj.khem at gmail.com
Sat Jan 23 23:32:25 UTC 2010


On Sat, Jan 23, 2010 at 1:59 AM, Guo Hongruan <camelguo at gmail.com> wrote:
> 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?

Coincidently, I am seeing similar but not same type of error since
yesterday when I started to do qemu ppc work. I have a half cooked
patch
which still does not work yet.

> Is it caused by the incorrect toolchain set?

probably some gcc misconfiguration. What options are passed to gcc
configure and eglibc configure can you post them plz.

> 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
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list