Hi,
I try to rebuild an old toolchain from my script which was originally using uClibc 0.9.33.X, i have updated to binutils 2.25, gcc 4.9.3 and uclibc-ng 1.0.5. But the build failed when building uclibc. Is something wrong with the configuration of gcc first stage ?
LD ld-uClibc-1.0.5.so STRIP -x -R .note -R .comment /home/clement/cortex-toolchain/obj/uclibc/lib/libubacktrace.a STRIP -x -R .note -R .comment /home/clement/cortex-toolchain/obj/uclibc/lib/libdl.a arm-unknown-linux-uclibcgnueabi-gcc: error: libgcc_eh.a: No such file or directory ldso/ldso/Makefile.in:76: recipe for target '/home/clement/cortex-toolchain/obj/uclibc/lib/ld-uClibc.so' failed make: *** [/home/clement/cortex-toolchain/obj/uclibc/lib/ld-uClibc.so] Error 1 make: *** Waiting for unfinished jobs....
My target is an arm linux and this the gcc first stage options:
${SRCDIR}/${GCC}/configure \ --target=${TARGET} \ --prefix=${PREFIX} \ --disable-decimal-float \ --disable-libatomic \ --disable-libgomp \ --disable-libmudflap \ --disable-libquadmath \ --disable-libssp \ --disable-libstdcxx-pch \ --disable-nls \ --disable-shared \ --disable-threads \ --enable-languages=c \ --enable-poison-system-directories \ --with-gnu-as \ --with-gnu-ld \ --with-newlib \ --with-sysroot=${SYSROOT} \ --without-headers \ --with-gmp=${LIBDIR} \ --with-mpc=${LIBDIR} \ --with-mpfr=${LIBDIR}
make all-gcc all-target-libgcc make install-gcc install-target-libgcc
Thanks, Clement