View previous topic :: View next topic |
Author |
Message |
ddc Guru
Joined: 29 Aug 2006 Posts: 522
|
Posted: Sat Mar 29, 2008 6:19 pm Post subject: crossdev fails with target=sh (HITACHI SUPER H) |
|
|
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 |
|
|
ddc Guru
Joined: 29 Aug 2006 Posts: 522
|
Posted: Sun Mar 30, 2008 10:11 pm Post subject: |
|
|
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 |
|
|
roarinelk Guru
Joined: 04 Mar 2004 Posts: 520
|
Posted: Tue Apr 01, 2008 7:08 am Post subject: |
|
|
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 |
|
|
ddc Guru
Joined: 29 Aug 2006 Posts: 522
|
Posted: Sun Apr 13, 2008 7:29 am Post subject: |
|
|
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 |
|
|
|