This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/22259] New: spawnv cannot execute gcc/as
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2005 20:10:02 -0000
- Subject: [Bug bootstrap/22259] New: spawnv cannot execute gcc/as
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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