public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/7800: underscore.c:0: malformed option `-A system=posix'
@ 2003-05-09 22:46 Zack Weinberg
  0 siblings, 0 replies; 4+ messages in thread
From: Zack Weinberg @ 2003-05-09 22:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/7800; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: Wolfgang Bangerth <bangerth@dealii.org>,
    mikerushford@eyes-on-the-skies.org
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/7800: underscore.c:0: malformed option `-A
 system=posix'
Date: Fri, 09 May 2003 15:37:17 -0700

 Wolfgang Bangerth <bangerth@dealii.org> wrote:
 >   Zack posted this question a while ago:
 >     
 >      This error indicates that the bootstrap compiler is picking up the
 >      specs file for the just-built compiler; naturally this cannot work.  I
 >      am not sure how it could have happened -- please repeat the command I
 >      quoted, with an additional -v option tacked on the end, and post the
 >      output.
 
 Wow, this is old.  I did track down one way this could happen, and
 papered it over by removing underscore.c.
 See http://gcc.gnu.org/ml/gcc-patches/2002-09/msg00271.html (ignore
 the subsequent thread, which is mostly sound and fury about who owns
 the c++filt executable).
 
 I hesitate to call the problem resolved, however, because there is
 nothing intrinsically *stopping* Make from generating $build/gcc/specs
 before we are done using the bootstrap compiler.  I don't know why the
 bootstrap compiler was reading $build/gcc/specs in the first place,
 but my theory is it was a bug in gcc 2.95, which it is far too late to
 fix now.
 
 A larger question is why do we generate that file at all?  It is an
 exact dump of the specs compiled into the driver; as such I see no
 purpose for it other than to slow down the driver by making it read
 the file on every invocation.  People who want to hand-hack the specs
 file can always use -dumpspecs to get a copy first (of course, this
 would need documentation, if we made that change).
 
 zw


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bootstrap/7800: underscore.c:0: malformed option `-A system=posix'
@ 2003-05-09 15:28 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-05-09 15:28 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mikerushford, nobody

Synopsis: underscore.c:0: malformed option `-A system=posix'

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Fri May  9 15:28:06 2003
State-Changed-Why:
    Zack posted this question a while ago:
    
    > make[3]: Entering directory `/sda3/objdir/gcc/intl'
     > make[3]: Nothing to be done for `all'.
     > make[3]: Leaving directory `/sda3/objdir/gcc/intl'
     > gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional   -DHAVE_CONFIG_H    -I. -I. -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/. -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/config -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/../include underscore.c -o underscore.o
     > underscore.c:0: malformed option `-A system=posix'
     
     This error indicates that the bootstrap compiler is picking up the
     specs file for the just-built compiler; naturally this cannot work.  I
     am not sure how it could have happened -- please repeat the command I
     quoted, with an additional -v option tacked on the end, and post the
     output.
     
     zw
    
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7800


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bootstrap/7800: underscore.c:0: malformed option `-A system=posix'
@ 2002-09-01 10:46 Zack Weinberg
  0 siblings, 0 replies; 4+ messages in thread
From: Zack Weinberg @ 2002-09-01 10:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/7800; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: mikerushford@eyes-on-the-skies.org
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/7800: underscore.c:0: malformed option `-A system=posix'
Date: Sun, 1 Sep 2002 10:44:11 -0700

 > make[3]: Entering directory `/sda3/objdir/gcc/intl'
 > make[3]: Nothing to be done for `all'.
 > make[3]: Leaving directory `/sda3/objdir/gcc/intl'
 > gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional   -DHAVE_CONFIG_H    -I. -I. -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/. -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/config -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/../include underscore.c -o underscore.o
 > underscore.c:0: malformed option `-A system=posix'
 
 This error indicates that the bootstrap compiler is picking up the
 specs file for the just-built compiler; naturally this cannot work.  I
 am not sure how it could have happened -- please repeat the command I
 quoted, with an additional -v option tacked on the end, and post the
 output.
 
 zw


^ permalink raw reply	[flat|nested] 4+ messages in thread

* bootstrap/7800: underscore.c:0: malformed option `-A system=posix'
@ 2002-09-01 10:26 mikerushford
  0 siblings, 0 replies; 4+ messages in thread
From: mikerushford @ 2002-09-01 10:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7800
>Category:       bootstrap
>Synopsis:       underscore.c:0: malformed option `-A system=posix'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 01 10:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     mike rushford
>Release:        gcc-3.1.1
>Organization:
>Environment:
gcc version 2.7.2.3 running on my system
Linux kernel 1.2.34
>Description:
 make bootstrap
make[1]: Entering directory `/sda3/objdir/libiberty'
make[2]: Entering directory `/sda3/objdir/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sda3/objdir/libiberty/testsuite'
make[1]: Leaving directory `/sda3/objdir/libiberty'
make[1]: Entering directory `/sda3/objdir/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/sh /sda3/gcc-3.1.1/gcc-3.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /sda3/gcc-3.1.1/gcc-3.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /sda3/gcc-3.1.1/gcc-3.1.1/install-sh -c " "INSTALL_SCRIPT=/bin/sh /sda3/gcc-3.1.1/gcc-3.1.1/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/sda3/gcc-3.1.1/gcc-3.1.1/missing makeinfo  " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i486-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/sda3/objdir/zlib'
Bootstrapping the compiler
make[1]: Entering directory `/sda3/objdir/gcc'
make CC="gcc" libdir=/usr/local/lib LANGUAGES="c " \
        CFLAGS="-g " MAKEINFO="/sda3/gcc-3.1.1/gcc-3.1.1/missing makeinfo " \
        MAKEINFOFLAGS=""
make[2]: Entering directory `/sda3/objdir/gcc'
(cd intl && make all)
make[3]: Entering directory `/sda3/objdir/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sda3/objdir/gcc/intl'
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional   -DHAVE_CONFIG_H    -I. -I. -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/. -I/sda3/gcc-3.1.1/gcc-3.1.1/gcc/config -I/sda3/gcc-3.1.1/gcc-3.1.1/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[2]: *** [underscore.o] Error 1
make[2]: Leaving directory `/sda3/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/sda3/objdir/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
compile on my system
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="eots.out"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="eots.out"

KysrKyAgWW91ciBMSU5VWCBWZXJzaW9uOiBjYXQgL3Byb2MvdmVyc2lvbiAgICsrKysrCkxpbnV4
IHZlcnNpb24gMi4wLjMzIChyb290QG5lcGFsLTUyLnBwcC5ob29rZWQubmV0KSAoZ2NjIHZlcnNp
b24gMi43LjIuMSkgIzMgVGh1IEp1bCAyIDA1OjU2OjM3IEdNVCAxOTk4CgorKysrICBDUFUgSW5m
b3JtYXRpb246IGNhdCAvcHJvYy9jcHVpbmZvICAgKysrKysKcHJvY2Vzc29yCTogMApjcHUJCTog
NDg2Cm1vZGVsCQk6IHVua25vd24KdmVuZG9yX2lkCTogdW5rbm93bgpzdGVwcGluZwk6IHVua25v
d24KZmRpdl9idWcJOiBubwpobHRfYnVnCQk6IG5vCmYwMGZfYnVnCTogbm8KZnB1CQk6IHllcwpm
cHVfZXhjZXB0aW9uCTogeWVzCmNwdWlkCQk6IG5vCndwCQk6IHllcwpmbGFncwkJOgpib2dvbWlw
cwk6IDM5Ljk0CgorKysrICBNRU1PUlkgYW5kIFNXQVAgVXNhZ2U6IGNhdCAvcHJvYy9tZW1pbmZv
ICAgKysrKysKICAgICAgICB0b3RhbDogICAgdXNlZDogICAgZnJlZTogIHNoYXJlZDogYnVmZmVy
czogIGNhY2hlZDoKTWVtOiAgNjQ2NDMwNzIgNTgxMDk5NTIgIDY1MzMxMjAgMzEzNTA3ODQgIDc1
NTMwMjQgMTYwMTUzNjAKU3dhcDogMTgwODc5MzYwIDM5NzYzOTY4IDE0MTExNTM5MgpNZW1Ub3Rh
bDogICAgIDYzMTI4IGtCCk1lbUZyZWU6ICAgICAgIDYzODAga0IKTWVtU2hhcmVkOiAgICAzMDYx
NiBrQgpCdWZmZXJzOiAgICAgICA3Mzc2IGtCCkNhY2hlZDogICAgICAgMTU2NDAga0IKU3dhcFRv
dGFsOiAgIDE3NjY0MCBrQgpTd2FwRnJlZTogICAgMTM3ODA4IGtCCgo=


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-09 22:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09 22:46 bootstrap/7800: underscore.c:0: malformed option `-A system=posix' Zack Weinberg
  -- strict thread matches above, loose matches on Subject: below --
2003-05-09 15:28 bangerth
2002-09-01 10:46 Zack Weinberg
2002-09-01 10:26 mikerushford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).