little-endian NPTL-based SH toolchains build, not big-endian ones

Robert P. J. Day rpjday@mindspring.com
Sat Nov 12 21:46:00 GMT 2005


  just checked the results of letting my test box crunch trying to
build NPTL-based SH toolchains for the following processor selections:
sh3, sh3eb, sh4, sh4eb, with the latest official releases of all of
the GNU software.

  the builds for sh3 and sh4 run to completion and produce a gcc that
seems to compile a simple source file involving "__thread", so that's
good news.

  the builds for sh3eb and sh4eb both failed with similar errors, in
the final gcc-building stage when invoking a monster multi-line call
to xgcc of the form (abbreviating for sanity):

/home/rpjday/results/sh3eb/build/build-gcc/gcc/xgcc ... -o
./libgcc_s.so.1.tmp ... ) > ./libgcc_s.so

/home/rpjday/results/sh3eb/tools/sh3eb-unknown-linux-gnu/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/rpjday/results/sh3eb/build/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/rpjday/results/sh3eb/build/build-gcc/gcc'
make: *** [all-gcc] Error 2

(equivalent error for sh4eb as well).

  doing a "find" for all files named "crti.o" in all *four*
architecture result subdirectories, i get:

./sh3/build/build-glibc/nptl/crti.o
./sh3/build/build-glibc/csu/crti.o
./sh3/tools/sh3-unknown-linux-gnu/sys-root/usr/lib/crti.o
./sh4/build/build-glibc/nptl/crti.o
./sh4/build/build-glibc/csu/crti.o
./sh4/tools/sh4-unknown-linux-gnu/sys-root/usr/lib/crti.o

  so that file exists for the little-endian builds but not for
big-endian builds.  i'm about to dig into this unless someone wants to
save me the trouble.

rday



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list