This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/1697: bootstrapping fails: malformed option `-A system=posix'
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/1697: bootstrapping fails: malformed option `-A system=posix'
- From: harri at trolltech dot com
- Date: 18 Jan 2001 17:11:42 -0000
- Reply-To: harri at trolltech dot com
>Number: 1697
>Category: other
>Synopsis: bootstrapping fails: malformed option `-A system=posix'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 18 09:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: harri@trolltech.com
>Release: 2.97
>Organization:
>Environment:
i386-linux/2.95.2
>Description:
I can't bootstrap the current CVS (20010118) with gcc 2.95.2
and srcdir != objdir.
configure --enable-shared
make bootstrap
....
/usr/local/src/gcc/obj/gcc/xgcc -B/usr/local/src/gcc/obj/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -dumpspecs > tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
/usr/local/src/gcc/obj/gcc/xgcc -B/usr/local/src/gcc/obj/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
echo "int prepends_underscore = 1;" >>tmp-under.c; \
else \
echo "int prepends_underscore = 0;" >>tmp-under.c; \
fi
/bin/sh /usr/local/src/gcc/gcc/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
touch s-under
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/usr/local/src/gcc/gcc/gcc -I/usr/local/src/gcc/gcc/gcc/. -I/usr/local/src/gcc/gcc/gcc/config -I/usr/local/src/gcc/gcc/gcc/../include underscore.c -o underscore.o
underscore.c:0: malformed option `-A system=posix'
underscore.c:0: malformed option `-A cpu=i386'
underscore.c:0: malformed option `-A machine=i386'
make[1]: *** [underscore.o] Error 1
make[1]: Leaving directory `/usr/local/src/gcc/obj/gcc'
make: *** [all-gcc] Error 2
The 'spec' file in the gcc dir is picked up by my old 2.95
and not understood.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: