On Fri, Jan 9, 2015 at 6:37 AM, Andrew Haley <a...@redhat.com> wrote: > On 01/09/2015 12:30 PM, Richard Biener wrote: >> Does --disable-lto-plugin work? > > Over to you, Cyd. > > Andrew. > An additional important note about --disable-lto, --disable-libsanitizer appears to be required with that option and bootstrapping doesn't appear to work. For the record, the complete configure I used for the build:
../gcc-4.9.2/configure --prefix=/usr/gcc-4.9.2 --build=arm-linux-androideabi --host=arm-linux-androideabi --target=arm-linux-androideabi --disable-ld --with-mpfr=/usr/gcc-4.9.2 --with-mpc=/usr/gcc-4.9.2 --with-gmp=/usr/gcc-4.9.2 --with-as=/usr/gcc-4.9.2/bin/as --with-ld=/usr/gcc-4.9.2/bin/ld --enable-shared --enable-languages=c,c++ --disable-bootstrap --disable-sjlj-exceptions --disable-nls --disable-gold --disable-fortran --disable-libssp --disable-lto --disable-libquadmath --disable-libquadmath-support --disable-libada --disable-werror --disable-multilib --disable-libgomp --disable-cloog --with-build-time-tools=/usr/gcc-4.8.3/bin CFLAGS=-Wall -O2 -mandroid -mbionic CXXFLAGS=-Wall -mandroid -mbionic -frtti LDFLAGS=-Wl,--dynamic-linker=/system/bin/linker -lc -ldl -lgcc -lm LIBCFLAGS=-O2 -mandroid -mbionic LIBCPPFLAGS=-O2 -mandroid -mbionic LIBCXXFLAGS=-O2 -mandroid -mbionic -fno-implicit-templates -frtti LIBS=-lc -ldl -lgcc -lm -lsupc++ -lgnustl_shared --with-build-sysroot=/usr/gcc-4.8.3/sysroot --disable-libsanitizer