http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053

--- Comment #11 from rhabarber1848 at web dot de 2012-04-13 22:35:58 UTC ---
Using this patch solves the problem here:
https://dev.openwrt.org/browser/trunk/toolchain/gcc/patches/4.7.0/870-ppc_no_crtsavres.patch

# ./powerpc-tuxbox-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=./powerpc-tuxbox-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdk/libexec/gcc/powerpc-tuxbox-linux-gnu/4.7.0/lto-wrapper
Target: powerpc-tuxbox-linux-gnu
Configured with: ../gcc-4.7.0/configure --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --target=powerpc-tuxbox-linux-gnu
--prefix=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdk
--with-sysroot=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdkroot
--with-native-system-header-dir=/include --enable-languages=c,c++
--with-cpu=823 --with-float=soft --enable-__cxa_atexit --disable-libmudflap
--disable-libgomp --disable-libssp
--with-gmp=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdk
--with-mpfr=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdk
--with-ppl=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdk
--with-cloog=/root/tuxbox/work_eglibc_dbox2_26_470/image/cdk
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--enable-threads=posix --enable-target-optspace --disable-nls
--enable-clocale=generic --disable-multilib --enable-c99 --enable-long-long
--enable-symvers=gnu --enable-shared
Thread model: posix
gcc version 4.7.0 (GCC)

Reply via email to