This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/41746] New: LTO Fails to bootstrap, stage 2
- From: "mckelvey at maskull dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2009 00:44:06 -0000
- Subject: [Bug bootstrap/41746] New: LTO Fails to bootstrap, stage 2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Built OK a day or so ago without LTO.
/cygdrive/e/Home/cvsroot/gcc-obj/./prev-gcc/xgcc
-B/cygdrive/e/Home/cvsroot/gcc-obj/./prev-gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -isystem
/usr/local/i686-pc-cygwin/sys-include -c -gtoggle -DIN_GCC -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat
-DHAVE_CONFIG_H -I. -Ilto -I/cygdrive/e/Home/cvsroot/gcc/gcc
-I/cygdrive/e/Home/cvsroot/gcc/gcc/lto
-I/cygdrive/e/Home/cvsroot/gcc/gcc/../include
-I/cygdrive/e/Home/cvsroot/gcc/gcc/../libcpp/include
-I/cygdrive/e/Home/cvsroot/gcc/gcc/../libdecnumber
-I/cygdrive/e/Home/cvsroot/gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I/usr/include/libelf /cygdrive/e/Home/cvsroot/gcc/gcc/lto/lto-elf.c -o
lto/lto-elf.o
/cygdrive/e/Home/cvsroot/gcc/gcc/lto/lto-elf.c: In function
'lto_elf_file_close':
/cygdrive/e/Home/cvsroot/gcc/gcc/lto/lto-elf.c:630:25: error: 'SHN_XINDEX'
undeclared (first use in this function)
/cygdrive/e/Home/cvsroot/gcc/gcc/lto/lto-elf.c:630:25: error: (Each undeclared
identifier is reported only once
/cygdrive/e/Home/cvsroot/gcc/gcc/lto/lto-elf.c:630:25: error: for each function
it appears in.)
make[3]: *** [lto/lto-elf.o] Error 1
make[3]: Leaving directory `/cygdrive/e/Home/cvsroot/gcc-obj/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/cygdrive/e/Home/cvsroot/gcc-obj'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/cygdrive/e/Home/cvsroot/gcc-obj'
make: *** [bootstrap] Error 2
uname -a
CYGWIN_NT-5.1 MCKELVEY-XP 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-cygwin/4.5.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/e/Home/cvsroot/gcc/configure --verbose
--enable-threads --disable-nls --enable-checking=release
--disable-win32-registry --enable-languages=c,c++
Thread model: posix
gcc version 4.5.0 20091015 (experimental) (GCC)
BUILDING:
alias CONFIGURECVS='/cygdrive/e/Home/cvsroot/gcc/configure --verbose
--enable-threads --disable-nls --enable-checking=release --enable-lto
--disable-win32-registry --enable-languages=c,c++ 2>&1 | tee clog'
alias BUILD='nice make CFLAGS='\'''\'' BOOT_CFLAGS='\'''\'' LIBCFLAGS='\''-g
-O'\'' CXXFLAGS='\''-O'\'' LIBCXXFLAGS='\''-g -O'\'' bootstrap 2>&1 |
tee log'
--
Summary: LTO Fails to bootstrap, stage 2
Product: gcc
Version: lto
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mckelvey at maskull dot com
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41746