This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap failure in tree-ssa-pre.o


Hi.

My build from last night failed due to a warning/error.

Configure options:

/mnt/src/gcc/configure --prefix=/opt/gnu --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
--enable-languages="c,c++,objc" --disable-checking --with-system-zlib \
--with-gc=page --disable-libstdcxx-pch

Host: i686-pc-linux-gnu

I'm building on an up-to-date Debian unstable box.

$ make bootstrap-lean > make_out 2>&1 &
[ ... snip build log ... ]
/usr/src/gcc_svn/objdir-0216/./prev-gcc/xgcc -B/usr/src/gcc_svn/objdir-0216/./prev-gcc/ -B/opt/gnu/i686-pc-linux-gnu/bin/ -c   -O2 -g -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror    -DHAVE_CONFIG_H -I. -I. -I/mnt/src/gcc/gcc -I/mnt/src/gcc/gcc/. -I/mnt/src/gcc/gcc/../include -I/mnt/src/gcc/gcc/../libcpp/include  -I/mnt/src/gcc/gcc/../libdecnumber -I../libdecnumber    /mnt/src/gcc/gcc/tree-ssa-pre.c -o tree-ssa-pre.o
cc1: warnings being treated as errors
/mnt/src/gcc/gcc/tree-ssa-pre.c: In function 'create_value_expr_from':
/mnt/src/gcc/gcc/tree-ssa-pre.c:3203: warning: 'pool' may be used uninitialized in this function
make[3]: *** [tree-ssa-pre.o] Error 1
make[3]: Leaving directory `/usr/src/gcc_svn/objdir-0216/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/usr/src/gcc_svn/objdir-0216'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/usr/src/gcc_svn/objdir-0216'
make: *** [bootstrap-lean] Error 2
$

A temporary workaround is to build with '--disable-werror'.

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]