Mailing List Archive

crossdev and powerpc-e500v2-linux-gnuspe
Good morning, I'm new to gentoo-embedded.

I'm trying to create a toolchain for powerpc-e500v2-linux-gnuspe.

I have created (but not tested) a toolchain for powerpc-e500v2-linux-gnu.
However, when I'm trying to create powerpc-e500v2-linux-gnuspe, I get the
following error while compiling glibc:

../sysdeps/powerpc/fpu/fclrexcpt.c: In function ‘__feclearexcept’:
../sysdeps/powerpc/fpu/fclrexcpt.c:29:12: error: impossible constraint in
‘asm’
../sysdeps/powerpc/fpu/fclrexcpt.c:36:3: error: impossible constraint in
‘asm’
../sysdeps/powerpc/fpu/fclrexcpt.c:36:3: error: impossible constraint in
‘asm’

I attach the logs.


I also tried to create a toolchain for powerpc-softfloat-linux-gnuspe, as
it would at least partially meet my needs, and also failed, albeit with
different errors:

iofclose.c:(.text+0x2c8): undefined reference to `_Unwind_Resume'
/var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofclose.o):(.eh_fra
me+0x13): undefined reference to `__gcc_personality_v0'
/var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofflush.o):
In func
tion `fflush':
iofflush.c:(.text+0x1a8): undefined reference to `_Unwind_Resume'
/var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofflush.o):(.eh_fra
me+0x13): undefined reference to `__gcc_personality_v0'
/var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(iofputs.o):
In funct
ion `fputs':
[...some more errors regarding mysterious _Unwind_Resume...]
ftello.c:(.text+0x268): undefined reference to `_Unwind_Resume'
/var/tmp/portage/cross-powerpc-softfloat-linux-gnuspe/glibc-2.15-r3/work/build-default-powerpc-softfloat-linux-gnuspe-nptl/libc.a(ftello.o):(.eh_frame+0x13):
undefined reference to `__gcc_personality_v0'
collect2: error: ld returned 1 exit status

I also attach the logs for that case.

Am I doing anything wrong?

Versions:

sys-devel/crossdev-20120913
binutils-2.22-r1
gcc-4.6.3
linux-headers-3.6
glibc-2.15-r3



Regards
Grzegorz Borowiak