Hi.

This morning's build attempts on both i386-pc-solaris2.10 and
sparc-sun-solaris2.10 failed with the following error:

/export/home/arth/gnu/gcc-1124/./prev-gcc/xgcc 
-B/export/home/arth/gnu/gcc-1124/./prev-gcc/ 
-B/export/home/arth/local/i386-pc-solaris2.10/bin/ 
-B/export/home/arth/local/i386-pc-solaris2.10/bin/ 
-B/export/home/arth/local/i386-pc-solaris2.10/lib/ -isystem 
/export/home/arth/local/i386-pc-solaris2.10/include -isystem 
/export/home/arth/local/i386-pc-solaris2.10/sys-include    -c   -g -O2 -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. -I. -I/home/ahaas/gnu/gcc.git/gcc 
-I/home/ahaas/gnu/gcc.git/gcc/. -I/home/ahaas/gnu/gcc.git/gcc/../include 
-I/home/ahaas/gnu/gcc.git/gcc/../libcpp/include 
-I/export/home/arth/local/include -I/export/home/arth/local/include  
-I/home/ahaas/gnu/gcc.git/gcc/../libdecnumber 
-I/home/ahaas/gnu/gcc.git/gcc/../libdecnumber/dpd -I../libdecnumber    /!
 home/ahaas/gnu/gcc.git/gcc/tree-call-cdce.c -o tree-call-cdce.o
/home/ahaas/gnu/gcc.git/gcc/toplev.c: In function 'crash_signal':
/home/ahaas/gnu/gcc.git/gcc/toplev.c:445:3: error: implicit declaration of 
function 'signal' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

The likely cause is this patch applied yesterday:

2010-11-23  Joseph Myers  <jos...@codesourcery.com>
        { ...snip ... }
        * toplev.c: Don't include <signal.h> or <sys/resource.h>.
        (setup_core_dumping, strip_off_ending, decode_d_option): Move to
        opts.c.

With the issues involving libquadmath I'm not expect the i386 build to
succeed even once this snag is resolved, but my sparc builds have been
working, and I had a successful build yesterday morning:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/sparc-sun-solaris2.10/4.6.0/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: /export/home/arth/src/gcc.git/configure 
--prefix=/export/home/arth/local --enable-languages=c,c++,objc --disable-nls 
--with-gmp=/export/home/arth/local --with-mpfr=/export/home/arth/local 
--with-mpc=/export/home/arth/local --enable-checking=release --enable-threads 
--with-gnu-as --with-as=/export/home/arth/local/bin/as --with-gnu-ld 
--with-ld=/export/home/arth/local/bin/ld --enable-libstdcxx-pch=no 
--with-cpu=ultrasparc3 --with-tune=ultrasparc3
Thread model: posix
gcc version 4.6.0 20101123 (experimental) [master revision 
66b86a7:d759d44:e71ec76db59f8a20d013503e7192680f92872796] (GCC)

Art Haas

Reply via email to