public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/22259] New: spawnv cannot execute gcc/as
@ 2005-06-30 20:10 fxcoudert at gcc dot gnu dot org
  2005-06-30 20:16 ` [Bug bootstrap/22259] " fxcoudert at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-30 20:10 UTC (permalink / raw)
  To: gcc-bugs

Building gcc on i686-pc-mingw32 fails with:

/home/FX/ibin/./gcc/xgcc -B/home/FX/ibin/./gcc/ -B/mingw/i686-pc-mingw32/bin/
-B/mingw/i686-pc-mingw32/lib/ -isystem /mingw/i686-pc-mingw32/include -isystem
/mingw/i686-pc-mingw32/sys-include -O2 -I../../gcc/gcc/../winsup/w32api/include
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include 
-DL_chkstk -xassembler-with-cpp -c ../../gcc/gcc/config/i386/cygwin.asm -o
libgcc/./_chkstk.o
executable: C:/msys/1.0/home/FX/ibin/gcc/cc1.exe
executable: C:/msys/1.0/home/FX/ibin/gcc/as
xgcc.exe: _spawnv: No such file or directory

[lines beginning with "executable:" are debug statements printing the executable
argument to pex_win32_exec_child, in libiberty/pex-win32.c]

In fact, xgcc cannot be used. It tries to execute gcc/cc1.exe, which works fine,
then gcc/as. gcc/as is a script, and not a real win32 executable program. Thus
the spawn fails.

I don't know when this stopped to work. Seems that "before", the assembler was
called directly and not by this script. Does someone know when this changed, and
does someone have an idea on how to fix this?

-- 
           Summary: spawnv cannot execute gcc/as
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259


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

end of thread, other threads:[~2005-09-15 22:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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
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
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

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