Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crossdev and powerpc-e500v2-linux-gnuspe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gborowiak
n00b
n00b


Joined: 28 Jan 2013
Posts: 1

PostPosted: Mon Jan 28, 2013 2:35 pm    Post subject: crossdev and powerpc-e500v2-linux-gnuspe Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum