[Bug bootstrap/12731] New: make bootstrap mostly ignores non-default CFLAGS

bh at techhouse dot brown dot edu gcc-bugzilla@gcc.gnu.org
Wed Oct 22 18:57:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12731

           Summary: make bootstrap mostly ignores non-default CFLAGS
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bh at techhouse dot brown dot edu
                CC: gcc-bugs at gcc dot gnu dot org

In
   http://gcc.gnu.org/install/build.html

there is the comment that we can do the following:
          make CFLAGS='-O' LIBCFLAGS='-g -O2' \
            LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap

However, this only seems to make the stage1 compiler be built without debugging.
 I'm still seeing the stage2 compiler being built _with_ debugging and -O2.

This troubles me because on one of the platforms I maintain (Solaris 7 with a
paltry 128 Mb), stage1 runs out of virtual memory compiling expr.c for stage2;
also, to save space, I have to manually strip the executables after installing them.

I've seen this in all the 3.2 and greater releases (haven't tried earlier ones);
3.3.2 is the first where I run out of memory.



More information about the Gcc-bugs mailing list