public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Ada bootstrap failure for mainline on hppa2.0w-hp-hpux11.00
@ 2006-02-16 22:01 John David Anglin
  2006-02-17  8:33 ` Rainer Emrich
  0 siblings, 1 reply; 4+ messages in thread
From: John David Anglin @ 2006-02-16 22:01 UTC (permalink / raw)
  To: gcc; +Cc: r.emrich

> cc1: error: unrecognized command line option "-f  "

I don't see any such option in the last xgcc command.  What's your
gmake version?  I've seen problems using versions earlier than 3.80.
The next most likely possibility is that this is another loop
invariant bug: http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01306.html

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

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

* Re: Ada bootstrap failure for mainline on hppa2.0w-hp-hpux11.00
  2006-02-16 22:01 Ada bootstrap failure for mainline on hppa2.0w-hp-hpux11.00 John David Anglin
@ 2006-02-17  8:33 ` Rainer Emrich
  2006-02-18  2:26   ` Jim Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Rainer Emrich @ 2006-02-17  8:33 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John David Anglin schrieb:
>> cc1: error: unrecognized command line option "-f  "
> 
> I don't see any such option in the last xgcc command.  What's your
> gmake version?  I've seen problems using versions earlier than 3.80.
> The next most likely possibility is that this is another loop
> invariant bug: http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01306.html
> 
> Dave
I'm using gmake 3.80 and it's the first time that I see this kind of problem.
As you say there's no such option "-f  " in the xgcc command.

Rainer

- --
Rainer Emrich
TECOSIM GmbH
Im Eichsfeld 3
65428 Rüsselsheim

Phone: +49(0)6142/8272 12
Mobile: +49(0)163/56 949 20
Fax.:   +49(0)6142/8272 49
Web: www.tecosim.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD9Ypf3s6elE6CYeURAjQrAKCkuN38d8ZrwCCXJ+srKUCdCbhv/ACfdAAw
Gkil23Sx8PVqk3aJ2HLVYLI=
=8rVu
-----END PGP SIGNATURE-----

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

* Re: Ada bootstrap failure for mainline on hppa2.0w-hp-hpux11.00
  2006-02-17  8:33 ` Rainer Emrich
@ 2006-02-18  2:26   ` Jim Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Wilson @ 2006-02-18  2:26 UTC (permalink / raw)
  To: Rainer Emrich; +Cc: gcc

Rainer Emrich wrote:
> I'm using gmake 3.80 and it's the first time that I see this kind of problem.
> As you say there's no such option "-f  " in the xgcc command.

The gcc driver has support to convert arbitrary long options into -f 
options.  So for instance --test-coverage gets converted to 
-ftest-coverage.  See the last entry of the option_map table which 
performs this magic.  This was added for POSIX support, as POSIX has 
some special rules for how command line options work, but -- options are 
always safe in POSIX.

If you have something like "--<special-character>" on the command line, 
the gcc driver would convert that to a -f option, and then cc1 would 
complain that "-f<special-character>" is not a recognized option.  It 
does look like you have some spurious -- characters on your gcc command 
line.  Maybe one of them is followed by a non-printing non-white space 
character?

I wonder if this -- to -f conversion feature is documented anywhere.  It 
probably isn't.  Also, the option_map table is probably long out of 
date, because it is supposed to list every option that doesn't start 
with -f, or which requires arguments.  Otherwise, gcc won't be fully 
compliant with the POSIX rules for command line arguments.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

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

* Ada bootstrap failure for mainline on hppa2.0w-hp-hpux11.00
@ 2006-02-16 15:09 Rainer Emrich
  0 siblings, 0 replies; 4+ messages in thread
From: Rainer Emrich @ 2006-02-16 15:09 UTC (permalink / raw)
  To: gcc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Failed to build gnattools:

# gnattools2
gmake -C ../gcc/ada/tools -f ../Makefile \
  "CC=../../xgcc -B../../" "CFLAGS=-O2 -g -O2 " "ADAFLAGS=-gnatpg -gnata"
"INCLUDES=-I. -I.. -I../..
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada/../config
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada/../../include
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada/.."
"ADA_INCLUDES=-I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada" "exeext="
"fsrcdir=/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada"
"srcdir=/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada"
"GNATMAKE=../../gnatmake" "GNATLINK=../../gnatlink" "GNATBIND=../../gnatbind"
"TOOLSCASE=native" \
  ../../gnatchop ../../gnat ../../gnatkr ../../gnatls ../../gnatprep
../../gnatxref ../../gnatfind ../../gnatname ../../gnatclean ../../gprmake
gmake[3]: Entering directory
`/disk1/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/gcc-4.2/gcc-4.2/gcc/ada/tools'
../../gnatmake -c -I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada gnatchop
- --GCC="../../xgcc -B../../ -O2 -g -O2  -mdisable-indexing     -gnatpg -gnata"
../../xgcc -c -I./ -I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada -B../../ -O2 -g -O2
- -mdisable-indexing -gnatpg -gnata -I-
/raid/tecosim/it/devel/projects/develtools/src/gcc-4.2-svn/gcc/ada/gnatchop.adb
../../gnatbind -I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada -static -x gnatchop
../../gnatlink -v gnatchop -o ../../gnatchop --GCC="../../xgcc -B../../
- -static-libgcc -I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada" ../../prefix.o
../../version.o targext.o link.o ../rts/libgnat.a
../../../libiberty/libiberty.a  /usr/lib/libcl.a

GNATLINK 4.2.0 20060216 (experimental)
Copyright 1995-2006, Free Software Foundation, Inc
xgcc -c -gnatA -gnatWb -gnatiw -B../../ -static-libgcc -I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada -gnatws
b~gnatchop.adb
../../xgcc b~gnatchop.o ../../prefix.o ../../version.o targext.o link.o
../rts/ada.o ../rts/a-charac.o ../rts/a-chlat1.o ../rts/gnat.o ../rts/g-string.o
./interfac.o ./system.o ../rts/s-addope.o ./s-casuti.o ../rts/g-casuti.o
./s-htable.o ../rts/s-parame.o ../rts/s-crtl.o ../rts/i-cstrea.o ./s-purexc.o
../rts/s-restri.o ./s-stoele.o ../rts/s-carun8.o ../rts/s-imgint.o
../rts/a-comlin.o ../rts/s-stache.o ../rts/s-strops.o ../rts/s-sopco3.o
../rts/s-sopco4.o ../rts/s-sopco5.o ../rts/s-traceb.o ../rts/s-traent.o
../rts/s-soflin.o ../rts/a-elchha.o ./s-secsta.o ./s-exctab.o ../rts/a-ioexce.o
../rts/a-string.o ../rts/a-stream.o ../rts/g-os_lib.o ../rts/s-assert.o
../rts/s-finroo.o ../rts/s-memory.o ./s-stalib.o ../rts/s-unstyp.o
../rts/s-bitops.o ../rts/a-strmap.o ../rts/a-stmaco.o ../rts/a-chahan.o
../rts/a-strsea.o ../rts/a-strfix.o ../rts/s-stratt.o ../rts/s-finimp.o
../rts/a-finali.o ../rts/a-filico.o ../rts/g-dirope.o ../rts/g-regexp.o
../rts/g-comlin.o ../rts/s-ficobl.o ../rts/s-fileio.o ../rts/a-textio.o
../rts/s-valuti.o ../rts/s-valuns.o ../rts/s-valint.o ../rts/s-wchcon.o
../rts/s-wchjis.o ../rts/s-wchcnv.o ../rts/s-wchstw.o ../rts/a-tags.o
./a-except.o ./gnatvsn.o ./types.o ./hostparm.o ./gnatchop.o -o ../../gnatchop
../rts/libgnat.a ../../../libiberty/libiberty.a /usr/lib/libcl.a --   -L../rts/
- -L./ -L/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada/
-
-L/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/install/lib/gcc/hppa2.0w-hp-hpux11.00/4.2.0/adalib/
../rts/libgnat.a /usr/lib/libcl.a -B../../ -static-libgcc -I../rts -I.
- -I/SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/src/gcc/ada
cc1: error: unrecognized command line option "-f  "
collect2: gcc returned 1 exit status
gnatlink: cannot call ../../xgcc
gmake[3]: *** [../../gnatchop] Error 4

Rainer

- --
Rainer Emrich
TECOSIM GmbH
Im Eichsfeld 3
65428 RÃŒsselsheim

Phone: +49(0)6142/8272 12
Mobile: +49(0)163/56 949 20
Fax.:   +49(0)6142/8272 49
Web: www.tecosim.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD9JW13s6elE6CYeURAnz5AJ4xtezot8SGi6axm2yyR/VEeL2fsACgolOe
pKzU5SEPRjXe3ZYqY/RMzck=
=he1M
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2006-02-18  2:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-16 22:01 Ada bootstrap failure for mainline on hppa2.0w-hp-hpux11.00 John David Anglin
2006-02-17  8:33 ` Rainer Emrich
2006-02-18  2:26   ` Jim Wilson
  -- strict thread matches above, loose matches on Subject: below --
2006-02-16 15:09 Rainer Emrich

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).