From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6329 invoked by alias); 13 Oct 2014 09:36:49 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 6315 invoked by uid 89); 13 Oct 2014 09:36:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f41.google.com Received: from mail-oi0-f41.google.com (HELO mail-oi0-f41.google.com) (209.85.218.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 13 Oct 2014 09:36:47 +0000 Received: by mail-oi0-f41.google.com with SMTP id u20so12303585oif.14 for ; Mon, 13 Oct 2014 02:36:44 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.146.138 with SMTP id tc10mr3506187oeb.31.1413193004595; Mon, 13 Oct 2014 02:36:44 -0700 (PDT) Received: by 10.76.157.230 with HTTP; Mon, 13 Oct 2014 02:36:44 -0700 (PDT) Date: Mon, 13 Oct 2014 09:36:00 -0000 Message-ID: Subject: Stage3 Bootstrap Fails... From: Cyd Haselton To: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00079.txt.bz2 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