Building the trunk into an empty directoy with
"$GCCDIR/configure" --enable-languages=c,fortran 
   --prefix=/projects/tob/gcc-trunk && make && make install
on an openSUSE 10.2rc2 system fails with
'cc1: error: unrecognized command line option "-Wno-overlength-strings'.

This is with "make" since I had the feeling "make -j2".

Yesterdays build with r119277 was still ok, the error occurs with r119303 up to
r119311. Building GCC 4.2 on the same machine works.


gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macr
os -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute
-Werror -fno-common   -DHAVE_CONFIG_H -I. -I. -I/home/tob/p
rojects/gcc/gcc -I/home/tob/projects/gcc/gcc/.
-I/home/tob/projects/gcc/gcc/../include
-I/home/tob/projects/gcc/gcc/../libcpp/include  -
I/home/tob/projects/gcc/gcc/../libdecnumber -I../libdecnumber   
/home/tob/projects/gcc/gcc/tree-ssanames.c -o tree-ssanames.o
cc1: error: unrecognized command line option "-Wno-overlength-strings"

There are three cc1:
./gcc/cc1
./stage1-gcc/cc1
./prev-gcc/cc1

And doing
./gcc/cc1 -quiet -Wno-overlength-strings < /dev/null
gives no error. (and no other cc1 is in the path.)

If I do now manually make, some files are compiled again, the compilation
succeeds but with make install I get immediately the "-Wno-overlength-strings"
error again.
which gcc returns:
   /usr/bin/gcc
which is 4.1.2 20061115 (prerelease) (SUSE Linux), which also happily accepts
"-Wno-overlength-strings".

I cannot reproduce it anymore at the moment, but I also had at some point
inbetween:
xgcc: error trying to exec 'cc1': execvp: No permission.

(No of pty is also ok: 7 vs. 4096)


-- 
           Summary: gcc trunk fails to bootstrap on x86_64-unknown-linux-gnu
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30018

Reply via email to