The latest set of patches to update the Sparc platform has resulted in a
build failure in stage 1 of this mornings builds:

gcc -c   -g -fkeep-inline-functions -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 
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. 
-I/export/home/arth/src/gcc.git/gcc
-I/export/home/arth/src/gcc.git/gcc/. 
-I/export/home/arth/src/gcc.git/gcc/../include 
-I/export/home/arth/src/gcc.git/gcc/../libcpp/include 
-I/export/home/arth/local/include -I/export/home/arth/local/include 
-I/export/home/arth/local/include  
-I/export/home/arth/src/gcc.git/gcc/../libdecnumber 
-I/export/home/arth/src/gcc.git/gcc/../libdecnumber/dpd -I../libdecnumber    
-I. -I. -I/export/home/arth/src/gcc.git/gcc 
-I/export/home/arth/src/gcc.git/gcc/. 
-I/export/home/arth/src/gcc.git/gcc/../include 
-I/export/home/arth/src/gcc.git/gcc/../libcpp/include 
-I/export/home/arth/local/include -I/export/home/arth/local/include 
-I/export/home/arth/local/include  
-I/export/home/arth/src/gcc.git/gcc/../libdecnumber 
-I/export/home/arth/src/gcc.git/gcc/../libdecnumber/dpd -I../libdecnumber   
/export/home/arth/src/gcc.git/gcc/config/sol2-stubs.c
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c: In function 
'sparc_fold_builtin':
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9727:2: error: duplicate
case value
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9726:2: error: 
previously used here
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9728:2: error: duplicate
case value
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9726:2: error: 
previously used here
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9729:2: error: duplicate
case value
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9726:2: error: 
previously used here
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9730:2: error: duplicate
case value
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9726:2: error: 
previously used here
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9731:2: error: duplicate
case value
/export/home/arth/src/gcc.git/gcc/config/sparc/sparc.c:9726:2: error: 
previously used here
gmake[3]: *** [sparc.o] Error 1

I'd mailed about bootstrap failures last week, and in those the build
was failing at the stage2/stage three comparison. One question in the
reply to my earlier mail was what version of GNU as/ld I'm, and there
both from binutils-2.21, built on December 15 last year and working fine
all this year:

$ as --version
GNU assembler (GNU Binutils) 2.21
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.10'.
$ ld --version
GNU ld (GNU Binutils) 2.21
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

I tried to build using the Solaris provided GNU as and Sun ld, but the
build failed when trying to build an 'lto' library. I've unfortunately
removed the build log so I can't copy the error, but it looked to be due
to a path issue where a '.libs' directory did not exist.

Here's the configuration for my last successful GCC build early last
month:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/sparc-sun-solaris2.10/4.7.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.7.0 20110906 (experimental) [master revision
bdc818b:c562c54:dfb98d7502700782f4a1a4e04357e46fd90784fe] (GCC)

Thanks to everyone working on GCC.

Art Haas

Reply via email to