gborowiak n00b
Joined: 28 Jan 2013 Posts: 1
|
Posted: Mon Jan 28, 2013 2:35 pm Post subject: crossdev and powerpc-e500v2-linux-gnuspe |
|
|
I'm trying to create a toolchain for powerpc-e500v2-linux-gnuspe with crossdev utility (I see there is no gnuspe binary stage for powerpc, only standard gnu).
I have successfully created a cross-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 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
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
My host is amd64.
BTW. Is this possible to integrate an external binary toolchain (e.g. the one supplied by Freescale) to work with cross-emerge?
Regards
Grzegorz Borowiak |
|