This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 04:41:25 +0000
- Subject: [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
- Auto-submitted: auto-generated
- References: <bug-46037-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #11 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 04:41:14 UTC ---
(In reply to comment #10)
While this patch allows the lto-bootstrap below to complete on
x86_64-apple-darwin10...
../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist
--with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --with-build-config=bootstrap-lto
--enable-stage1-languages=c,lto --enable-languages=c,lto
it breaks the standard bootstrap of...
../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist
--with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-languages=c,lto
with the error...
/Users/howarth/darwin_objdir/./prev-gcc/xgcc
-B/Users/howarth/darwin_objdir/./prev-gcc/
-B/Users/howarth/dist/x86_64-apple-darwin10.6.0/bin/
-B/Users/howarth/dist/x86_64-apple-darwin10.6.0/bin/
-B/Users/howarth/dist/x86_64-apple-darwin10.6.0/lib/ -isystem
/Users/howarth/dist/x86_64-apple-darwin10.6.0/include -isystem
/Users/howarth/dist/x86_64-apple-darwin10.6.0/sys-include
-I../../gcc/libcpp -I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include
-I/sw/include -g -O2 -mdynamic-no-pic -gtoggle -W -Wall -Wwrite-strings
-Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -Werror
-I../../gcc/libcpp -I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include
-I/sw/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo
../../gcc/libcpp/charset.c
../../gcc/libcpp/charset.c:1:0: error: variable tracking requested, but useless
unless producing debug info [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [charset.o] Error 1
make[2]: *** [all-stage2-libcpp] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2