This is the mail archive of the gcc-bugs@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]

2.95.1 on SunOS_4.1.4 fails to compile self on start up.


This appears to be a loss of functionality between versions.

I started from a state of having a 2.8.1 gcc compiler built and running.
It successfully compiled itself and the files were the same size. 

On loading 2.95.1, I was able to get the 2.8.1 compiler to build the
source code and install itself, but when I asked the 2.95.1 compiler to
build itself, it stopped immediately. The output is the same without the
-ansi flag. as the *.h files are the rebuilt ones, you would think
correction of system header files would be one of the tasks. This is the
output:

test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -ansi -g -O2 -I. -I../../libiberty/../include  
../../libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -ansi -g -O2 -I. -I../../libiberty/../include 
../../libiberty/choose-temp.c
In file included from ../../libiberty/choose-temp.c:32:
/u/mjohnson/go/include/unistd.h:105: ANSI C requires a named argument
before `...'
/u/mjohnson/go/include/unistd.h:143: ANSI C requires a named argument
before `...'
gmake[1]: *** [choose-temp.o] Error 1


Mike
-- 
============================================================================
The views expressed in this email are strictly mine and do not represent
any official or unofficial policy of any other legal entity.


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