public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Stage3 Bootstrap Fails...
@ 2014-10-13  9:36 Cyd Haselton
  0 siblings, 0 replies; only message in thread
From: Cyd Haselton @ 2014-10-13  9:36 UTC (permalink / raw)
  To: gcc-help

Hello,

I'm currently in the process of bootstrapping GCC 4.8.0 from version
4.7.0 on an Android tablet in a terminal app that simulates a proper
Linux file system.

Everything goes well until stage3. The make seems to be trying to
configure and build any library that was not specifically disabled in
the initial top-level build.  This causes errors that did not occur
earlier in the process.

The first time this happened, I fixed (I think) the problem by
rerunning the top level config with the added ---disable-xxxx
option...where xxxx is the library that stage3 suddenly tries to
build, and running make restrap.  I've run into the same problem
again, and since restrapping takes a *long* time on my device, and
because i have limited commandline space, I'd like to know if there's
an easier way to get stage3 to only build stuff that's already been
built in previous stages.

Let me know what info I should post about this problem that would
help.  For now, here is the last top-level configure:

../gcc-4.8.0/configure --prefix=/usr/gcc-4.8
--build=arm-linux-androideabi --host=arm-linux-androideabi
--target=arm-linux-androideabi --disable-ld
--with-as=/usr/gcc-4.8/bin/as --with-ld=/usr/gcc-4.8/bin/ld
--enable-shared --enable-languages=c,c++ -disable-gold
--disable-fortran --disable-libssp --disable-libquadmath
--disable-libquadmath-support --disable-libada --disable-nls
--disable-werror --disable-multilib --disable-libgomp --disable-cloog
--disable-sjlj-exceptions --disable-libitm --disable-ppl
--with-build-time-tools=/usr/gcc-4.8/bin
--with-sysroot=/usr/gcc-4.8/sysroot
--with-build-sysroot=/usr/gcc-4.8/sysroot "CFLAGS=-Wall -O2 -mandroid
-mbionic" "LDFLAGS=-Wl,--dynamic-linker=/system/bin/linker -lc -ldl
-lgcc -lm" "LIBCFLAGS=-O2 -g -mandroid -mbionic" "LIBCPPFLAGS=-O2 -g
-mandroid -mbionic" "CXXFLAGS=-frtti" "LIBCXXFLAGS=-O2 -g -mandroid
-mbionic -fno-implicit-templates" "LIBS=-lc -ldl -lgcc -lm -lsupc++
-lgnustl_shared" SHELL=/system/bin/sh

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-13  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13  9:36 Stage3 Bootstrap Fails Cyd Haselton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).