c/2034: boostrap error, CVS gcc, as: unrecognized option `-Qy'

mschalit@pacbell.net mschalit@pacbell.net
Mon Feb 19 22:06:00 GMT 2001


>Number:         2034
>Category:       c
>Synopsis:       boostrap error, CVS gcc, as: unrecognized option `-Qy'
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 19 22:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Schalit
>Release:        2.97 cvs downloaded Mon., 2/19/01
>Organization:
>Environment:
Compiling on UnixWare 7.1.1 + all OS patches.
No UDK (Unixware Develeopment Kit).
This is an i586-sco-sysv5uw7.1.1

gnu-make-3.79.1
binutils-2.10.1
autoconf-2.13
gnu-m4-1.4p

Using either cc OR gcc 2.95.2.1.

LD_LIBRARY_PATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/BerkeleyDB/lib
LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/BerkeleyDB/lib
PATH=/sbin:/usr/sbin:/etc:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/kde/bin:/usr/X/bin


>Description:

I'm getting a bootstrap error during gmake, where
the build crashes with the error:
  
    /usr/local/bin/as: unrecognized option `-Qy' 

I've determined that this happens whether I use gcc or cc
to build the CVS version, and it happens right after
the fixincludes.


I've determined that -Qy is a valid option to

   /usr/bin/as     <--- SCO's OS.

During two different compiles using cc or gcc, the error
is the same and in the same place.

During this build I'm forcing a few --with's that
directly affect this error.  Here's are the configure
statements I used that correspond to building with 
cc and gcc:

-------- cc version -------------------------------
CC=cc ../gcc/configure --enable-shared --enable-threads --enable-language=c++ \
--x-libraries=/usr/X/lib --x-includes=/usr/X/include --disable-nls \
--with-gnu-ld --with-ld=/usr/local/bin/ld \
--with-gnu-as --with-as=/usr/local/bin/as \
--with-system-zlib > con.log 2>&1
------------------------------------------------------


--------------- gcc version ------------------------------
../gcc/configure --enable-shared --enable-threads --enable-language=c++ \
--x-libraries=/usr/X/lib --x-includes=/usr/X/include --disable-nls \
--with-gnu-ld --with-ld=/usr/local/bin/ld \
--with-gnu-as --with-as=/usr/local/bin/as \
--with-system-zlib > con.log 2>&1
---------------------------------------------------------------


Here's the error output, which is the same for both
compile attempts with cc or gcc.:
-----------------------------------------------------
SHLIB_INSTALL='' \
SHLIB_EXT='' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='' \
SHLIB_MAPFILES='' \
SHLIB_NM_FLAGS='-pg' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
./xgcc -B./ -B/usr/local/i586-sco-sysv5uw7.1.1/bin/ -isystem /usr/local/i586-sco
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions -fPIC -fno-omit-frame-pointer  \
  -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
/usr/local/bin/as: unrecognized option `-Qy'
gmake[2]: *** [crtbegin.o] Error 1
gmake[2]: Leaving directory `/home/matthew/Uber/CVS/objdir/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/home/matthew/Uber/CVS/objdir/gcc'
gmake: *** [bootstrap] Error 2
-----------------------------------------------------------------


I have put the make.log, and con.log (output of configure)
on my ftp site if ya'll want to take a look at them:

  ftp://63.194.213.179:710/pub/Random/gcc.con.log
  ftp://63.194.213.179:710/pub/Random/gcc.make.log


The same problem occurs even if I leave out the
 --with-gnu-as --with-as=/usr/local/bin/as

I just used those to force the system to realize that
the 'as' it was finding during every configure was gnu-as.
It didn't seem to care.

>How-To-Repeat:
This is repeatable every time I build CVS gcc, and this
problem existed when I compiled the older gcc 2.95.2.1.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list