public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error compiling GCC 3.2.1
@ 2002-12-27 16:49 Max Bane
  2002-12-27 20:56 ` LLeweLLyn Reese
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Max Bane @ 2002-12-27 16:49 UTC (permalink / raw)
  To: gcc-help

Hi all. Having difficulting compiling gcc 3.2.1. I'm currently running gcc 
2.95.3 on an x86 machine. I've downloaded and extracted the source tarball, 
and when i do this:

unset CFLAGS &&
unset CXXFLAGS &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-3.2.1/configure --prefix=/usr --enable-shared \
--enable-languages=c,c++,objc,f77,java --enable-threads=posix \
--with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &&
make bootstrap

I get this:

[... Snip]
Bootstrapping the compiler
make[1]: Entering directory `/home/max/dl/gcc-build/gcc'
make CC="stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
         STAGE_PREFIX=stage1/ \
         CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" 
STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/lib 
LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
make[2]: Entering directory `/home/max/dl/gcc-build/gcc'
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC    -g -O2 -W 
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional 
-pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. 
-I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config 
-I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/read-rtl.c -o read-rtl.o
../../gcc-3.2.1/gcc/read-rtl.c: In function `read_rtx':
../../gcc-3.2.1/gcc/read-rtl.c:541: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [read-rtl.o] Error 1
make[2]: Leaving directory `/home/max/dl/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/max/dl/gcc-build/gcc'
make: *** [bootstrap] Error 2

Any idea what's going on here? I'd really like to get gcc 3 working so I can 
compile a bunch of other stuff.
Thanks.
-- 
Max Bane
Health is merely the slowest possible rate at which one can die.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error compiling GCC 3.2.1
  2002-12-27 16:49 Error compiling GCC 3.2.1 Max Bane
@ 2002-12-27 20:56 ` LLeweLLyn Reese
  2002-12-28 17:38 ` Oliver Kullmann
  2002-12-30 14:58 ` Error compiling GCC 3.2.1 Andrea 'fwyzard' Bocci
  2 siblings, 0 replies; 7+ messages in thread
From: LLeweLLyn Reese @ 2002-12-27 20:56 UTC (permalink / raw)
  To: bane; +Cc: gcc-help

Max Bane <bane@uchicago.edu> writes:

> Hi all. Having difficulting compiling gcc 3.2.1. I'm currently running gcc 
> 2.95.3 on an x86 machine. I've downloaded and extracted the source tarball, 
> and when i do this:
> 
> unset CFLAGS &&
> unset CXXFLAGS &&
> mkdir ../gcc-build &&
> cd ../gcc-build &&
> ../gcc-3.2.1/configure --prefix=/usr --enable-shared \
> --enable-languages=c,c++,objc,f77,java --enable-threads=posix \
> --with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &&
> make bootstrap
> 
> I get this:
> 
> [... Snip]
> Bootstrapping the compiler
> make[1]: Entering directory `/home/max/dl/gcc-build/gcc'
> make CC="stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
>          STAGE_PREFIX=stage1/ \
>          CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" 
> STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/lib 
> LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
> make[2]: Entering directory `/home/max/dl/gcc-build/gcc'
> stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC    -g -O2 -W 
> -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional 
> -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. 
> -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config 
> -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/read-rtl.c -o read-rtl.o
> ../../gcc-3.2.1/gcc/read-rtl.c: In function `read_rtx':
> ../../gcc-3.2.1/gcc/read-rtl.c:541: internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [read-rtl.o] Error 1
> make[2]: Leaving directory `/home/max/dl/gcc-build/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/home/max/dl/gcc-build/gcc'
> make: *** [bootstrap] Error 2
> 
> Any idea what's going on here? I'd really like to get gcc 3 working so I can 
> compile a bunch of other stuff.
> Thanks.
[snip]

Weird. There are lots of people reporting sucessful builds under
linux.

Here are my ideas:

    (a) http://gcc.gnu.org/install/
        Double check the install instructions, this time more
        throughly.

    (b) Compare your system and configure options to those found at:
        http://gcc.gnu.org/gcc-3.2/buildstat.html

    For both (a) and (b) pay careful attention to the versions of
        software required to build gcc.

    (c) And finally - gcc is *very* sensitive to bad memory - much
        more so than any ram tester you know of.

        Pick a large ball of source you *know* compiles on your
        machine (linux kernel is often a good choice) and build it
        about 10 times. If it fails once, you likely have bad memory,
        and should try replacing it.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error compiling GCC 3.2.1
  2002-12-27 16:49 Error compiling GCC 3.2.1 Max Bane
  2002-12-27 20:56 ` LLeweLLyn Reese
@ 2002-12-28 17:38 ` Oliver Kullmann
  2003-01-01 19:12   ` LLeweLLyn Reese
  2002-12-30 14:58 ` Error compiling GCC 3.2.1 Andrea 'fwyzard' Bocci
  2 siblings, 1 reply; 7+ messages in thread
From: Oliver Kullmann @ 2002-12-28 17:38 UTC (permalink / raw)
  To: gcc-help

Hi,

I have exactly the same problem (posted in also on this list,
and sent an error report, but yet no answer).

Getting a segmentation fault in the bootstrapping phase.

Oliver

> 
> Hi all. Having difficulting compiling gcc 3.2.1. I'm currently running gcc 
> 2.95.3 on an x86 machine. I've downloaded and extracted the source tarball, 
> and when i do this:
> 
> unset CFLAGS &&
> unset CXXFLAGS &&
> mkdir ../gcc-build &&
> cd ../gcc-build &&
> ../gcc-3.2.1/configure --prefix=/usr --enable-shared \
> --enable-languages=c,c++,objc,f77,java --enable-threads=posix \
> --with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &&
> make bootstrap
> 
> I get this:
> 
> [... Snip]
> Bootstrapping the compiler
> make[1]: Entering directory `/home/max/dl/gcc-build/gcc'
> make CC="stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
>          STAGE_PREFIX=stage1/ \
>          CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" 
> STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/lib 
> LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
> make[2]: Entering directory `/home/max/dl/gcc-build/gcc'
> stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC    -g -O2 -W 
> -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional 
> -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. 
> -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config 
> -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/read-rtl.c -o read-rtl.o
> ../../gcc-3.2.1/gcc/read-rtl.c: In function `read_rtx':
> ../../gcc-3.2.1/gcc/read-rtl.c:541: internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [read-rtl.o] Error 1
> make[2]: Leaving directory `/home/max/dl/gcc-build/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/home/max/dl/gcc-build/gcc'
> make: *** [bootstrap] Error 2
> 
> Any idea what's going on here? I'd really like to get gcc 3 working so I can 
> compile a bunch of other stuff.
> Thanks.
> -- 
> Max Bane
> Health is merely the slowest possible rate at which one can die.

-- 
Dr. Oliver Kullmann
Computer Science Department
University of Wales Swansea
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs-svr1.swan.ac.uk/~csoliver/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error compiling GCC 3.2.1
  2002-12-27 16:49 Error compiling GCC 3.2.1 Max Bane
  2002-12-27 20:56 ` LLeweLLyn Reese
  2002-12-28 17:38 ` Oliver Kullmann
@ 2002-12-30 14:58 ` Andrea 'fwyzard' Bocci
  2002-12-31  6:39   ` Oliver Kullmann
  2 siblings, 1 reply; 7+ messages in thread
From: Andrea 'fwyzard' Bocci @ 2002-12-30 14:58 UTC (permalink / raw)
  To: bane; +Cc: gcc-help

At 05.50 27/12/2002 -0600, Max Bane wrote:
>Hi all. Having difficulting compiling gcc 3.2.1. I'm currently running gcc
>2.95.3 on an x86 machine. I've downloaded and extracted the source tarball,
>and when i do this:
>
>unset CFLAGS &&
>unset CXXFLAGS &&
>mkdir ../gcc-build &&
>cd ../gcc-build &&
>../gcc-3.2.1/configure --prefix=/usr --enable-shared \
>--enable-languages=c,c++,objc,f77,java --enable-threads=posix \
>--with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &&
>make bootstrap
>
>I get this:
>
>[... Snip]
>Bootstrapping the compiler
>make[1]: Entering directory `/home/max/dl/gcc-build/gcc'
>make CC="stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
>          STAGE_PREFIX=stage1/ \
>          CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"
>STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/lib
>LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
>make[2]: Entering directory `/home/max/dl/gcc-build/gcc'
>stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC    -g -O2 -W
>-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional
>-pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
>-I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config
>-I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/read-rtl.c -o read-rtl.o
>../../gcc-3.2.1/gcc/read-rtl.c: In function `read_rtx':
>../../gcc-3.2.1/gcc/read-rtl.c:541: internal error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>make[2]: *** [read-rtl.o] Error 1
>make[2]: Leaving directory `/home/max/dl/gcc-build/gcc'
>make[1]: *** [stage2_build] Error 2
>make[1]: Leaving directory `/home/max/dl/gcc-build/gcc'
>make: *** [bootstrap] Error 2
>
>Any idea what's going on here? I'd really like to get gcc 3 working so I can
>compile a bunch of other stuff.
>Thanks.

Some times ago I had prolems bootstrapping w/ 2.95.
If, after the error, you go back to /home/max/dl/gcc-build and redo
make bootstrap
do you get the same error in the same place ? or does it (strangely) groks on ?
what happens if you repeat the process from scratch ?
I know it sounds silly...

fwyzard 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error compiling GCC 3.2.1
  2002-12-30 14:58 ` Error compiling GCC 3.2.1 Andrea 'fwyzard' Bocci
@ 2002-12-31  6:39   ` Oliver Kullmann
  0 siblings, 0 replies; 7+ messages in thread
From: Oliver Kullmann @ 2002-12-31  6:39 UTC (permalink / raw)
  To: Andrea 'fwyzard' Bocci; +Cc: gcc-help

On Mon, Dec 30, 2002 at 04:30:13PM +0100, Andrea 'fwyzard' Bocci wrote:
> Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm
> Precedence: bulk
> List-Unsubscribe: <mailto:gcc-help-unsubscribe-O.Kullmann=swansea.ac.uk@gcc.gnu.org>
> List-Archive: <http://gcc.gnu.org/ml/gcc-help/>
> List-Post: <mailto:gcc-help@gcc.gnu.org>
> List-Help: <mailto:gcc-help-help@gcc.gnu.org>
> Delivered-To: mailing list gcc-help@gcc.gnu.org
> X-Sender: fwyzard-gcc@libero.it@popmail.libero.it (Unverified)
> Date: Mon, 30 Dec 2002 16:30:13 +0100
> To: bane@uchicago.edu
> From: "Andrea 'fwyzard' Bocci" <fwyzard@inwind.it>
> Cc: gcc-help@gcc.gnu.org
> In-Reply-To: <200212270550.18988.bane@uchicago.edu>
> X-RAVMilter-Version: 8.4.1(snapshot 20020920) (postino.fi.infn.it)
> Subject: Re: Error compiling GCC 3.2.1
> X-Spam-Status: No, hits=-0.8 required=8.0
> 	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01
> 	version=2.43
> X-Spam-Level: 
> 
> At 05.50 27/12/2002 -0600, Max Bane wrote:
> >Hi all. Having difficulting compiling gcc 3.2.1. I'm currently running gcc
> >2.95.3 on an x86 machine. I've downloaded and extracted the source tarball,
> >and when i do this:
> >
> >unset CFLAGS &&
> >unset CXXFLAGS &&
> >mkdir ../gcc-build &&
> >cd ../gcc-build &&
> >../gcc-3.2.1/configure --prefix=/usr --enable-shared \
> >--enable-languages=c,c++,objc,f77,java --enable-threads=posix \
> >--with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &&
> >make bootstrap
> >
> >I get this:
> >
> >[... Snip]
> >Bootstrapping the compiler
> >make[1]: Entering directory `/home/max/dl/gcc-build/gcc'
> >make CC="stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
> >         STAGE_PREFIX=stage1/ \
> >         CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"
> >STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/lib
> >LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
> >make[2]: Entering directory `/home/max/dl/gcc-build/gcc'
> >stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC    -g -O2 
> >-W
> >-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
> >-Wtraditional
> >-pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
> >-I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config
> >-I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/read-rtl.c -o 
> >read-rtl.o
> >../../gcc-3.2.1/gcc/read-rtl.c: In function `read_rtx':
> >../../gcc-3.2.1/gcc/read-rtl.c:541: internal error: Segmentation fault
> >Please submit a full bug report,
> >with preprocessed source if appropriate.
> >See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> >make[2]: *** [read-rtl.o] Error 1
> >make[2]: Leaving directory `/home/max/dl/gcc-build/gcc'
> >make[1]: *** [stage2_build] Error 2
> >make[1]: Leaving directory `/home/max/dl/gcc-build/gcc'
> >make: *** [bootstrap] Error 2
> >
> >Any idea what's going on here? I'd really like to get gcc 3 working so I 
> >can
> >compile a bunch of other stuff.
> >Thanks.
> 
> Some times ago I had prolems bootstrapping w/ 2.95.
> If, after the error, you go back to /home/max/dl/gcc-build and redo
> make bootstrap
> do you get the same error in the same place ? or does it (strangely) groks 
> on ?
> what happens if you repeat the process from scratch ?
> I know it sounds silly...
> 
> fwyzard 
> 


Hi,

I have the same problems, and the error is absolutely reproducible:

I can redo bootstrap, get the error, I repeat the process from scratch,
get the error.

Oliver


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error compiling GCC 3.2.1
  2002-12-28 17:38 ` Oliver Kullmann
@ 2003-01-01 19:12   ` LLeweLLyn Reese
  2003-01-01 23:38     ` Error compiling GCC 3.2.1 (got it!) Oliver Kullmann
  0 siblings, 1 reply; 7+ messages in thread
From: LLeweLLyn Reese @ 2003-01-01 19:12 UTC (permalink / raw)
  To: Oliver Kullmann; +Cc: gcc-help

Oliver Kullmann <O.Kullmann@Swansea.ac.uk> writes:

> Hi,
> 
> I have exactly the same problem (posted in also on this list,
> and sent an error report, but yet no answer).
[snip]

Unfortunately no one knows the answer. Here are some suggestions:

(a) Try getting a pre-built gcc 3.2.1 binary and building with that.

(b) Double check the versions of the tools you use to build
    gcc. 2.95.3 is probably solid, (I built 3.2.1 with 2.95.3 on
    FreeBSD, I know others have on other platforms.) so check your
    binutils versions first. If you have experimental/unofficial
    binutils, try replacing them. (Note: Some linux distros ship with
    experimental/unofficial binutils - so you may have them and not
    know it.)

(c) If you have a linux distro that builds everything with every
    optimization flag (e.g., mandrake, which uses -03 -fomit-frame-pointer
    -fexpensive-optimization -march=pentiumpro -mcpu=pentiumpro, and
    others I can't recall) try building gcc 2.95.3 without these
    optimizations, and use the new 2.95.3 for building 3.2.1 .

(d) Use 'make bootstrap4' instead of make bootstrap. This adds an
    additional stage; normally, the stage1 compiler builds the stage2
    compiler with the flags -g -O2. Using make bootstrap4, the stage1
    compiler builds the stage2 compiler with no optimization flags
    (reducing the chance that it will be miscompiled) and the stage2
    compiler builds the stage3 compiler with -g -O2.

(e) Try 'make BOOT_CFLAGS='-O' bootstrap ' or
    make BOOT_CFLAGS='-O0' bootstrap to build gcc with fewer
    optimizations.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error compiling GCC 3.2.1 (got it!)
  2003-01-01 19:12   ` LLeweLLyn Reese
@ 2003-01-01 23:38     ` Oliver Kullmann
  0 siblings, 0 replies; 7+ messages in thread
From: Oliver Kullmann @ 2003-01-01 23:38 UTC (permalink / raw)
  To: gcc-help

On Wed, Jan 01, 2003 at 11:09:22AM -0800, LLeweLLyn Reese wrote:
> To: Oliver Kullmann <O.Kullmann@Swansea.ac.uk>
> Cc: gcc-help@gcc.gnu.org
> Reply-To: gcc-help@gcc.gnu.org
> From: LLeweLLyn Reese <llewelly@lifesupport.shutdown.com>
> Date: 01 Jan 2003 11:09:22 -0800
> In-Reply-To: <20021228162641.GB16019@swan.ac.uk>
> User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
> Subject: Re: Error compiling GCC 3.2.1
> X-Spam-Status: No, hits=-0.4 required=8.0
> 	tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
> 	      SPAM_PHRASE_00_01,UNDESIRED_LANGUAGE_BODY,USER_AGENT,
> 	      USER_AGENT_GNUS_UA
> 	version=2.43
> X-Spam-Level: 
> 
> Oliver Kullmann <O.Kullmann@Swansea.ac.uk> writes:
> 
> > Hi,
> > 
> > I have exactly the same problem (posted in also on this list,
> > and sent an error report, but yet no answer).
> [snip]
> 
> Unfortunately no one knows the answer. Here are some suggestions:
> 
> (a) Try getting a pre-built gcc 3.2.1 binary and building with that.
> 
> (b) Double check the versions of the tools you use to build
>     gcc. 2.95.3 is probably solid, (I built 3.2.1 with 2.95.3 on
>     FreeBSD, I know others have on other platforms.) so check your
>     binutils versions first. If you have experimental/unofficial
>     binutils, try replacing them. (Note: Some linux distros ship with
>     experimental/unofficial binutils - so you may have them and not
>     know it.)
>

I reinstalled 2.95.3, and in fact I got it working!

Thanks!

Oliver

 
> (c) If you have a linux distro that builds everything with every
>     optimization flag (e.g., mandrake, which uses -03 -fomit-frame-pointer
>     -fexpensive-optimization -march=pentiumpro -mcpu=pentiumpro, and
>     others I can't recall) try building gcc 2.95.3 without these
>     optimizations, and use the new 2.95.3 for building 3.2.1 .
> 
> (d) Use 'make bootstrap4' instead of make bootstrap. This adds an
>     additional stage; normally, the stage1 compiler builds the stage2
>     compiler with the flags -g -O2. Using make bootstrap4, the stage1
>     compiler builds the stage2 compiler with no optimization flags
>     (reducing the chance that it will be miscompiled) and the stage2
>     compiler builds the stage3 compiler with -g -O2.
> 
> (e) Try 'make BOOT_CFLAGS='-O' bootstrap ' or
>     make BOOT_CFLAGS='-O0' bootstrap to build gcc with fewer
>     optimizations.

-- 
Dr. Oliver Kullmann
Computer Science Department
University of Wales Swansea
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs-svr1.swan.ac.uk/~csoliver/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-01-01 23:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-27 16:49 Error compiling GCC 3.2.1 Max Bane
2002-12-27 20:56 ` LLeweLLyn Reese
2002-12-28 17:38 ` Oliver Kullmann
2003-01-01 19:12   ` LLeweLLyn Reese
2003-01-01 23:38     ` Error compiling GCC 3.2.1 (got it!) Oliver Kullmann
2002-12-30 14:58 ` Error compiling GCC 3.2.1 Andrea 'fwyzard' Bocci
2002-12-31  6:39   ` Oliver Kullmann

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).