From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23503 invoked by alias); 30 Jun 2005 20:10:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23430 invoked by uid 48); 30 Jun 2005 20:10:02 -0000 Date: Thu, 30 Jun 2005 20:10:00 -0000 From: "fxcoudert at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050630200958.22259.fxcoudert@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/22259] New: spawnv cannot execute gcc/as X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg03620.txt.bz2 List-Id: 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