This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[3.0] Bootstrap failure - ASM_SPEC conflict with gas
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [3.0] Bootstrap failure - ASM_SPEC conflict with gas
- From: Matt Schalit <mschalit at pacbell dot net>
- Date: Fri, 01 Jun 2001 22:10:48 -0700
Madam/Sir:
I can't bootstrap gcc 3.0 on SCO UnixWare 7.1.1
using gas-2.10.1 because the ASM_SPEC causes -Qy which
causes gas to error out. I can't even get past the first
configure test.
I've read the FAQ about getting the right as chosen,
but I'm still stuck. I'd really like to use gas.
Here's what I did:
$ su - root
Password: ******
# mv /usr/ccs/bin/as /usr/ccs/bin/as.orig
# mv /bin/as /bin/as.orig
# exit
$ /usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.3/as --version
GNU assembler 2.10.1
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i586-sco-sysv5uw7.1.1'.
$ /usr/local/bin/gcc --version
2.95.3
$ pwd
/home/matthew/Uber/CVS/objdir
$ CC=gcc ../gcc/configure
Configuring for a i586-sco-sysv5uw7.1.1 host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava target-libchill
(Any other directories should still work fine.)
Created "Makefile" in /home/matthew/Uber/CVS/objdir using "mh-frag"
/usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.3/as: unrecognized option `-Qy'
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Thank you for reading this far. The ASM_SPEC is set in
<build_dir>/gcc/gcc/config/svr4.h
from what I can gather.
#define ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
This has been an issue for Uw7 development for some time.
Would someone please offer any suggestion that comes to mind?
I do not understand how to read an ASM_SPEC nor use one.
I have a few ideas, but that would make this even longer.
Sincerely,
Matthew