* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
@ 2007-06-10 3:21 ` pinskia at gcc dot gnu dot org
2007-06-11 20:59 ` mfouts at danger dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-10 3:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-10 03:20 -------
Can you attach
/space/projects/reference/tools/arm-elf-gnu/4.2.0/gcc-build-926ej-s/./gcc/as ?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
2007-06-10 3:21 ` [Bug bootstrap/32101] " pinskia at gcc dot gnu dot org
@ 2007-06-11 20:59 ` mfouts at danger dot com
2007-07-23 6:27 ` mfouts at danger dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mfouts at danger dot com @ 2007-06-11 20:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mfouts at danger dot com 2007-06-11 20:59 -------
Subject: RE: xgcc invokes as with invalid -m option while assembling
crtbegin.o
#!/bin/sh
exec "$@"
-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Saturday, June 09, 2007 8:21 PM
To: Martin Fouts
Subject: [Bug bootstrap/32101] xgcc invokes as with invalid -m option
while assembling crtbegin.o
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-10 03:20
-------
Can you attach
/space/projects/reference/tools/arm-elf-gnu/4.2.0/gcc-build-926ej-s/./gc
c/as ?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
------------------------------------------------------------------------
----
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You reported the bug, or are watching the reporter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
2007-06-10 3:21 ` [Bug bootstrap/32101] " pinskia at gcc dot gnu dot org
2007-06-11 20:59 ` mfouts at danger dot com
@ 2007-07-23 6:27 ` mfouts at danger dot com
2007-07-24 5:17 ` mfouts at danger dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mfouts at danger dot com @ 2007-07-23 6:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mfouts at danger dot com 2007-07-23 06:27 -------
This bug is still present in 4.2.1 but now happens on both fc5 and fc6
/space/projects/reference/tools/arm-elf-gnu/4.2.0/gcc-build-926ej-s/./gc
c/as
still remains the two line script
---- here be script
#!/bin/sh
exec "$@"
----- there was script
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
` (2 preceding siblings ...)
2007-07-23 6:27 ` mfouts at danger dot com
@ 2007-07-24 5:17 ` mfouts at danger dot com
2007-12-12 23:44 ` acornejo at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mfouts at danger dot com @ 2007-07-24 5:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mfouts at danger dot com 2007-07-24 05:17 -------
OK, so this one's weird and starts out as a user error.
If the path specified in --prefix=/usr/local/armdev-$CPU-4.2.0 in the original
config is *not* writable by the account running the build, the make all-gcc
fails with the bizarre error indicated in the original bug report.
If the path specified *is* writable, then the build finishes just fine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
` (3 preceding siblings ...)
2007-07-24 5:17 ` mfouts at danger dot com
@ 2007-12-12 23:44 ` acornejo at gmail dot com
2008-02-05 0:15 ` alexlh at funk dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: acornejo at gmail dot com @ 2007-12-12 23:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from acornejo at gmail dot com 2007-12-12 23:43 -------
I have a similar bug, so I am posting here (otherwise I can open a new bug).
I run:
./configure --target=mipsel-semb-elf --prefix=/scratch/semb/semb/
--disable-libssp --with-newlib --enable-languages=c --disable-threads
--disable-shared --without-include-headers
Then make fails with the following:
MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crti.o crtn.o
make[4]: Entering directory
`/scratch/semb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc'
/scratch/semb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc/xgcc
-B/scratch/semb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc/
-B/scratch/semb/semb//mipsel-semb-elf/bin/
-B/scratch/semb/semb//mipsel-semb-elf/lib/ -isystem
/scratch/semb/semb//mipsel-semb-elf/include -isystem
/scratch/semb/semb//mipsel-semb-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I.
-I../.././gcc -I../.././gcc/. -I../.././gcc/../include
-I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber
-I../libdecnumber -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
-Dinhibit_libc -G 0 \
-c ../.././gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
exec: 2: -G: not found
make[4]: *** [crtbegin.o] Error 1
I am running on Ubuntu (in case that maters). This seems to be a bug, since
this command runs properly on gcc-4.1 (just downloaded a fresh copy and tested
it).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
` (4 preceding siblings ...)
2007-12-12 23:44 ` acornejo at gmail dot com
@ 2008-02-05 0:15 ` alexlh at funk dot org
2009-04-19 22:02 ` ramana at gcc dot gnu dot org
2009-12-10 22:54 ` rearnsha at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: alexlh at funk dot org @ 2008-02-05 0:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from alexlh at funk dot org 2008-02-05 00:14 -------
I have the same problem: line 2: exec: -m: invalid option
Trying to build 4.2, the directory specified in --prefix *is* writable by the
user running the build.
--
alexlh at funk dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexlh at funk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
` (5 preceding siblings ...)
2008-02-05 0:15 ` alexlh at funk dot org
@ 2009-04-19 22:02 ` ramana at gcc dot gnu dot org
2009-12-10 22:54 ` rearnsha at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-04-19 22:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ramana at gcc dot gnu dot org 2009-04-19 22:02 -------
This doesn't appear with any of the release branches (4.3, 4.4) or trunk
currently. Can this now be closed out ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/32101] xgcc invokes as with invalid -m option while assembling crtbegin.o
2007-05-26 22:30 [Bug bootstrap/32101] New: xgcc invokes as with invalid -m option while assembling crtbegin.o mfouts at danger dot com
` (6 preceding siblings ...)
2009-04-19 22:02 ` ramana at gcc dot gnu dot org
@ 2009-12-10 22:54 ` rearnsha at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2009-12-10 22:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rearnsha at gcc dot gnu dot org 2009-12-10 22:54 -------
No feedback in 6 months. Closing...
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101
^ permalink raw reply [flat|nested] 9+ messages in thread