* [Bug bootstrap/22259] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
@ 2005-06-30 20:16 ` fxcoudert at gcc dot gnu dot org
2005-06-30 20:20 ` [Bug bootstrap/22259] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-30 20:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-30 20:16 -------
Looks related to bonzini's 2005-06-16 patch
(http://gcc.gnu.org/ml/gcc-cvs/2005-06/msg00667.html). Adding him to Cc list.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
2005-06-30 20:16 ` [Bug bootstrap/22259] " fxcoudert at gcc dot gnu dot org
@ 2005-06-30 20:20 ` pinskia at gcc dot gnu dot org
2005-07-01 21:34 ` ian at airs dot com
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-30 20:20 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|spawnv cannot execute gcc/as|[4.1 Regression] spawnv
| |cannot execute gcc/as
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
2005-06-30 20:16 ` [Bug bootstrap/22259] " fxcoudert at gcc dot gnu dot org
2005-06-30 20:20 ` [Bug bootstrap/22259] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-01 21:34 ` ian at airs dot com
2005-07-01 21:45 ` dje at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ian at airs dot com @ 2005-07-01 21:34 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-07-01 21:34 ` ian at airs dot com
@ 2005-07-01 21:45 ` dje at gcc dot gnu dot org
2005-07-02 2:49 ` dannysmith at users dot sourceforge dot net
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-07-01 21:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dje at gcc dot gnu dot org 2005-07-01 21:44 -------
One option: have gcc/Makefile stamp-as target test "build" and output
appropriate script to MS Windows BATCH file as.bat.
*) case "$build" in \
*mingw32*) echo 'XXX' > as.bat \
... ;;
*) echo '#!$(SHELL)' > as; echo 'exec $< "$$@"' >> as ; \
chmod +x as ;; \
esac
esac
assuming that GCC execing "as" will find as.bat. The link/copy for other
directories using as$(exeext) might also cause problems. So one might need to
place the mingw32 test as the outer case and separate the entire logic for ./*,
../*, and * between mingw32 and everything else.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-07-01 21:45 ` dje at gcc dot gnu dot org
@ 2005-07-02 2:49 ` dannysmith at users dot sourceforge dot net
2005-07-02 8:08 ` fxcoudert at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-07-02 2:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-07-02 02:49 -------
A workaround is to specify the full path to as in configure script, eg
--with-as=/mingw/bin/as.exe --with-ld=/mingw.bin/ld.exe --
with /nm=/mingw/bin/ld.exe
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-07-02 2:49 ` dannysmith at users dot sourceforge dot net
@ 2005-07-02 8:08 ` fxcoudert at gcc dot gnu dot org
2005-07-02 8:55 ` fxcoudert at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-07-02 8:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-07-02 08:08 -------
> One option: have gcc/Makefile stamp-as target test "build" and output
> appropriate script to MS Windows BATCH file as.bat.
I tried to copy the assembler in the tree, instead of making a script pointing
to it. It works. Is there any drawback to this approach?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-07-02 8:08 ` fxcoudert at gcc dot gnu dot org
@ 2005-07-02 8:55 ` fxcoudert at gcc dot gnu dot org
2005-07-02 17:18 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-07-02 8:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-07-02 08:55 -------
Created an attachment (id=9192)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9192&action=view)
Patch
Attached patch implements the idea of making a special case for mingw32 in
stamp-as, stamp-collect-ld and stamp-nm (gcc/Makefile.in).
It does fix this problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-07-02 8:55 ` fxcoudert at gcc dot gnu dot org
@ 2005-07-02 17:18 ` pinskia at gcc dot gnu dot org
2005-07-21 7:47 ` bonzini at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-02 17:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 17:18 -------
Patch here but you forgot the changeLog :).
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |07/msg00086.html
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |patch
Last reconfirmed|0000-00-00 00:00:00 |2005-07-02 17:18:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-07-02 17:18 ` pinskia at gcc dot gnu dot org
@ 2005-07-21 7:47 ` bonzini at gcc dot gnu dot org
2005-08-02 21:31 ` fxcoudert at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-07-21 7:47 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-07-02 17:18:36 |2005-07-21 07:38:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-07-21 7:47 ` bonzini at gcc dot gnu dot org
@ 2005-08-02 21:31 ` fxcoudert at gcc dot gnu dot org
2005-08-06 11:39 ` fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-02 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-08-02 21:31 -------
bonzini, you assigned the bug to yourself, but I haven't seen any patch or
comment to my proposed patch. I'm still looking for someone to okay that patch,
or propose a better way to do it. The number of patches needed to build mingw32
is still growing, so i'd like to get this one fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-08-02 21:31 ` fxcoudert at gcc dot gnu dot org
@ 2005-08-06 11:39 ` fxcoudert at gcc dot gnu dot org
2005-08-08 16:32 ` bonzini at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-06 11:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-08-06 11:39 -------
Patch pinged (for the second time). ChangeLog entry provided.
--
What |Removed |Added
----------------------------------------------------------------------------
URL|http://gcc.gnu.org/ml/gcc- |http://gcc.gnu.org/ml/gcc-
|patches/2005- |patches/2005-
|07/msg00086.html |08/msg00379.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-08-06 11:39 ` fxcoudert at gcc dot gnu dot org
@ 2005-08-08 16:32 ` bonzini at gcc dot gnu dot org
2005-09-03 19:58 ` fxcoudert at gcc dot gnu dot org
2005-09-15 22:36 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-08-08 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-08-08 16:32 -------
I don't like the patch, the correct way is to teach pex-win32.c about '#!'
because GCC is built under a Unix-like environment (MSYS).
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (11 preceding siblings ...)
2005-08-08 16:32 ` bonzini at gcc dot gnu dot org
@ 2005-09-03 19:58 ` fxcoudert at gcc dot gnu dot org
2005-09-15 22:36 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-03 19:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-03 19:58 -------
>From what I have seen on the gcc ml, it looks like the opposition to a
pex-win32.c patch (Mark) agrees on it, and Christopher said in
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00513.html he could do it. Adding
him to the PR. Maybe the assignment should be changed, too.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |cgf at alum dot bu dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
2005-06-30 20:10 [Bug bootstrap/22259] New: spawnv cannot execute gcc/as fxcoudert at gcc dot gnu dot org
` (12 preceding siblings ...)
2005-09-03 19:58 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-15 22:36 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-15 22:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 22:36 -------
Fixed by:
2005-09-14 Christopher Faylor <cgf@timesys.com>
* pex-win32.c: Include "windows.h".
(backslashify): New function.
(fix_argv): Use backslashify to convert path to windows format.
Allocate one more place in new argv for potential executable from '#!'
parsing.
(tack_on_executable): New function. Conditional on USE_MINGW_MSYS
(openkey): Ditto.
(mingw_rootify): Ditto.
(msys_rootify): Ditto.
(spawn_script): New function.
(pex_win32_exec_child): Save translated argv in newargv. Pass to
spawn_script if spawnv* fails.
(main): New function. Conditional on MAIN. Useful for testing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
^ permalink raw reply [flat|nested] 15+ messages in thread