public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19234] New: Bootstrap ignores compiler flags supplied on command line
@ 2005-01-02 21:38 v dot haisman at sh dot cvut dot cz
  2005-01-03 15:26 ` [Bug bootstrap/19234] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-01-02 21:38 UTC (permalink / raw)
  To: gcc-bugs

I was trying to work around the problem described in PR 19120 by doing totaly
unoptimized build:

wilx@logout:::~/tmp/gcc-head/objdir> CFLAGS="-O0 -fno-omit-frame-pointer -g3"
BOOT_CFLAGS="-O0 -fno-omit-frame-pointer -g3" LIBCFLAGS="-O0
-fno-omit-frame-pointer -g3" ../srcdir/configure --disable-nls
--enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=pentium3
--with-arch=pentium3 --with-system-zlib --disable-shared --prefix=/home/4/wilx
--enable-languages=c,c++ --disable-sjlj-exceptions --enable-shared=libstdc++
--enable-shared=libobjc --with-gc=zone

make BOOT_CFLAGS="-O0 -fno-omit-frame-pointer -g3" CFLAGS="-O0
-fno-omit-frame-pointer -g3" LIBCFLAGS="-O0 -fno-omit-frame-pointer -g3" bootstrap

Yet still I get -O2 during compilation:

./xgcc -B./ -B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -isystem
/home/4/wilx/i386-unknown-freebsd4.10/include -isystem
/home/4/wilx/i386-unknown-freebsd4.10/sys-include
-L/home/4/wilx/tmp/gcc-head/objdir/gcc/../ld -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include   -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../srcdir/gcc -I../../srcdir/gcc/.
-I../../srcdir/gcc/../include -I../../srcdir/gcc/../libcpp/include 
-DL_fixunsxfdi -c ../../srcdir/gcc/libgcc2.c -o libgcc/./_fixunsxfdi.o

-- 
           Summary: Bootstrap ignores compiler flags supplied on command
                    line
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot haisman at sh dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
                    cvut dot cz
 GCC build triplet: i386-unknown-freebsd4.10
  GCC host triplet: i386-unknown-freebsd4.10
GCC target triplet: i386-unknown-freebsd4.10


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


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

end of thread, other threads:[~2005-01-04 21:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-02 21:38 [Bug bootstrap/19234] New: Bootstrap ignores compiler flags supplied on command line v dot haisman at sh dot cvut dot cz
2005-01-03 15:26 ` [Bug bootstrap/19234] " pinskia at gcc dot gnu dot org
     [not found] ` <20050103152635.720.qmail@sourceware.org>
2005-01-04 21:24   ` Vaclav Haisman
2005-01-04 21:40     ` Andrew Pinski
2005-01-04 21:25 ` v dot haisman at sh dot cvut dot cz
2005-01-04 21:40 ` pinskia at physics dot uc dot edu

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