Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crossdev fails with target=sh (HITACHI SUPER H)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sat Mar 29, 2008 6:19 pm    Post subject: crossdev fails with target=sh (HITACHI SUPER H) Reply with quote

crossdev -t sh-linux-gnu
#crossdev --target sh4-unknown-linux-gnu

build.log http://rafb.net/p/Tyky0731.html

Quote:
make subdir=stdlib -C stdlib ..=../ subdir_lib
make[2]: Entering directory `/var/tmp/cross/sh-linux-gnu/portage/cross-sh-linux-gnu/glibc-2.7-r2/work/glibc-2.7/stdlib'
make[2]: *** No rule to make target `/var/tmp/cross/sh-linux-gnu/portage/cross-sh-linux-gnu/glibc-2.7-r2/work/build-default-sh-linux-gnu-nptl/stdlib/atof.o', needed by `/var/tmp/cross/sh-linux-gnu/portage/cross-sh-linux-gnu/glibc-2.7-r2/work/build-default-sh-linux-gnu-nptl/stdlib/stamp.o'. Stop.
make[2]: Leaving directory `/var/tmp/cross/sh-linux-gnu/portage/cross-sh-linux-gnu/glibc-2.7-r2/work/glibc-2.7/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/cross/sh-linux-gnu/portage/cross-sh-linux-gnu/glibc-2.7-r2/work/glibc-2.7'
make: *** [all] Error 2
*
* ERROR: cross-sh-linux-gnu/glibc-2.7-r2 failed.
* Call stack:


it fails at the glibc stage ... any idea ?






http://psas.pdx.edu/GentooCrossCompilerHowto/
http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=4
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Mar 30, 2008 10:11 pm    Post subject: Reply with quote

crossdev -t sh-linux-gnu && crossdev -t sh1-linux-gnu are failing

while crossdev -t sh4-linux-gnu has success .... isn't it curious ?
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 439

PostPosted: Tue Apr 01, 2008 7:08 am    Post subject: Reply with quote

IIRC, "-t sh" only works for glibc up to 2.5.
The toolchains produced with "-t sh4" can build binaries for all earlier SH variants (CFLAG -m3 for SH-3, ...)
I don't know if glibc will run sh-2/3 since the default CFLAGS for sh4-* gcc's are "-m4 -ml" (SH4 little-endian).
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Apr 13, 2008 7:29 am    Post subject: Reply with quote

well the crossdev should control his parameters and warn about what it could and what it cold not be emerged
just to save hours and hours of futile compile

here I did a lot of testing, I know now what has success and what has failure

the crossdev is frustrating if compared with the debian's one
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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