This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [3.0] Bootstrap failure - ASM_SPEC conflict with gas
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: [3.0] Bootstrap failure - ASM_SPEC conflict with gas
- From: Matt Schalit <mschalit at pacbell dot net>
- Date: Wed, 06 Jun 2001 10:21:34 -0700
- References: <3B187558.E2EC68D1@pacbell.net>
I solved this problem by installing binutils 2.11,
which simply ignores any -Q option sent to it, unlike
2.10.1, which errored out.
Once again, gcc-bugs was no help at all.
Matt
Matt Schalit wrote:
>
> 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