From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12838 invoked by alias); 5 Jul 2002 15:02:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 12816 invoked from network); 5 Jul 2002 15:02:22 -0000 Received: from unknown (HELO mail.acunia.com) (194.7.211.211) by sources.redhat.com with SMTP; 5 Jul 2002 15:02:22 -0000 Received: from acunia.com (abdera.leuven.intern.acunia.com [10.0.4.165]) by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g65EvSN07972; Fri, 5 Jul 2002 16:57:30 +0200 Message-ID: <3D25B529.5080603@acunia.com> Date: Fri, 05 Jul 2002 08:07:00 -0000 From: jeroen dobbelaere Organization: ACUNIA User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard.Earnshaw@arm.com CC: gcc-patches@gcc.gnu.org Subject: Re: [patch] Re: Fix arm-linux bootstrap problem on cvs. References: <200207050820.JAA01208@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00277.txt.bz2 Richard Earnshaw wrote: > jeroen.dobbelaere@acunia.com said: > >>Bootstrapping the cvs without this patch (with --disable-checking) >>failed : > > > > Can't reproduce this on my netwinder. It also seems very strange that you > should be seeing this on a --disable-checking build but not if you apply > the patch and then enable checking. > > Can you get a back-trace? > > R. > This time, I did a build with : cat config.status #!/bin/sh # This file was generated automatically by configure. Do not edit. # This directory was configured as follows: ../gcc/configure --with-gcc-version-trigger=/usr/src/cvs-others/gcc-trees/gcc-head/gcc/gcc/version.c --host=armv5l-unknown-linux-gnu --prefix=/usr/local/gcc-3.2-cvs --with-cpu=xscale --disable-checking --norecursion # using "mt-frag" Again ending in : /usr/src/cvs-others/gcc-trees/gcc-head/build/gcc/xgcc -shared-libgcc -B/usr/src/cvs-others/gcc-trees/gcc-head/build/gcc/ -nostdinc++ -L/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/src -L/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/gcc-3.2-cvs/armv5l-unknown-linux-gnu/bin/ -B/usr/local/gcc-3.2-cvs/armv5l-unknown-linux-gnu/lib/ -isystem /usr/local/gcc-3.2-cvs/armv5l-unknown-linux-gnu/include -nostdinc++ -I/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include/armv5l-unknown-linux-gnu -I/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include -I../../../../gcc/libstdc++-v3/libsupc++ -I../../../../gcc/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../gcc/libstdc++-v3/src/complex_io.cc -fPIC -DPIC -o .libs/complex_io.o In file included from /usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include/ios:49, from /usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include/istream:44, from /usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include/sstream:44, from /usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include/complex:51, from ../../../../gcc/libstdc++-v3/src/complex_io.cc:30: /usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/include/bits/ios_base.h:427: internal compiler error: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[4]: *** [complex_io.lo] Error 1 make[4]: Leaving directory `/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3' make[2]: *** [all-recursive-am] Error 2 make[2]: Leaving directory `/usr/src/cvs-others/gcc-trees/gcc-head/build/armv5l-unknown-linux-gnu/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/usr/src/cvs-others/gcc-trees/gcc-head/build' make: *** [bootstrap] Error 2 Program received signal SIGSEGV, Segmentation fault. 0x001eef74 in ggc_set_mark (p=0x20) at ../../gcc/gcc/ggc-page.c:436 436 L2 = LOOKUP_L2 (p); (gdb) where #0 0x001eef74 in ggc_set_mark (p=0x20) at ../../gcc/gcc/ggc-page.c:436 #1 0x00029124 in gt_ggc_mx_lang_tree_node (x_p=0x20) at gtype-cp.h:265 (gdb) print p $1 = (const void *) 0x20 (gdb) list 431 base = &table->table[0]; 432 #endif 433 434 /* Extract the level 1 and 2 indices. */ 435 L1 = LOOKUP_L1 (p); 436 L2 = LOOKUP_L2 (p); 437 438 return base[L1][L2]; 439 } 440 (gdb) Next thing I'll try is with the patch, but without the checking... Greetings, -- Jeroen Dobbelaere Embedded Software Engineer ACUNIA Embedded Solutions http://www.acunia.com/aes