public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/38580] New: Bootstrap broken on mingw32
@ 2008-12-19 18:09 fxcoudert at gcc dot gnu dot org
2008-12-19 23:05 ` [Bug bootstrap/38580] " dannysmith at users dot sourceforge dot net
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-12-19 18:09 UTC (permalink / raw)
To: gcc-bugs
Bootstraping on i586-pc-mingw32 (with mingw-3.15.1, the latest version) is
broken by:
(SHLIB_LINK='ln -s -f @shlib_map_file@ @shlib_map_file@.def && if [ ! -d
@multilib_dir@/shlib ]; then mkdir @multilib_dir@/shlib else true; fi &&
/home/FX/gfortran/ibin/./gcc/xgcc -B/home/FX/gfortran/ibin/./gcc/
-L/home/FX/gfortran/ibin/i586-pc-mingw32/winsup/mingw
-L/home/FX/gfortran/ibin/i586-pc-mingw32/winsup/w32api/lib -isystem
/home/FX/gfortran/gcc-trunk/winsup/mingw/include -isystem
/home/FX/gfortran/gcc-trunk/winsup/w32api/include -B/mingw/i586-pc-mingw32/bin/
-B/mingw/i586-pc-mingw32/lib/ -isystem /mingw/i586-pc-mingw32/include -isystem
/mingw/i586-pc-mingw32/sys-include -O2
-I../../gcc-trunk/gcc/../winsup/w32api/include -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -isystem ./include -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs
@shlib_map_file@.def
-Wl,--out-implib,@multilib_dir@/shlib/@shlib_base_name@.a.tmp -o
@multilib_dir@/shlib/@shlib_base_name@_1.dll.tmp @multilib_flags@ @shlib_objs@
-lmingw32 -lmingwex -lmoldname -lmsvcrt -luser32 -lkernel32 -ladvapi32
-lshell32 && if [ -f @multilib_dir@/shlib/@shlib_base_name@_1.dll ]; then mv -f
@multilib_dir@/shlib/@shlib_base_name@_1.dll
@multilib_dir@/shlib/@shlib_base_name@_1.dll.backup; else true; fi && mv
@multilib_dir@/shlib/@shlib_base_name@_1.dll.tmp
@multilib_dir@/shlib/@shlib_base_name@_1.dll && mv
@multilib_dir@/shlib/@shlib_base_name@.a.tmp
@multilib_dir@/shlib/@shlib_base_name@.a'; \
/home/FX/gfortran/ibin/./prev-gcc/xgcc
-B/home/FX/gfortran/ibin/./prev-gcc/ -B/mingw/i586-pc-mingw32/bin/ -g -O2
-D__USE_MINGW_ACCESS -Wno-pedantic-ms-format -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc-trunk/gcc -I../../gcc-trunk/gcc/.
-I../../gcc-trunk/gcc/../include -I../../gcc-trunk/gcc/../libcpp/include
-I/home/FX/gfortran/dependencies/include -I../../gcc-trunk/gcc/../libdecnumber
-I../../gcc-trunk/gcc/../libdecnumber/dpd -I../libdecnumber \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/mingw/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/mingw/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"4.4.0\" -DDEFAULT_TARGET_MACHINE=\"i586-pc-mingw32\"
-DSTANDARD_BINDIR_PREFIX=\"/mingw/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"
`test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo
"-DENABLE_SHARED_LIBGCC"` \
-c ../../gcc-trunk/gcc/gcc.c -o gcc.o)
cc1.exe: warnings being treated as errors
../../gcc-trunk/gcc/gcc.c: In function 'process_command':
../../gcc-trunk/gcc/gcc.c:3423: error: passing argument 2 of 'execvp' from
incompatible pointer type
c:/MinGW/include/process.h:120: note: expected 'const char * const*' but
argument is of type 'char **'
This same error happens at stage 2 and 3. Working around it by compiling gcc.c
(and only gcc.c) without -Werror, I can confirm that the rest of the bootstrap
then goes fine.
--
Summary: Bootstrap broken on mingw32
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: build
Severity: critical
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
GCC build triplet: i586-pc-mingw32
GCC host triplet: i586-pc-mingw32
GCC target triplet: i586-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
@ 2008-12-19 23:05 ` dannysmith at users dot sourceforge dot net
2008-12-19 23:13 ` fxcoudert at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-12-19 23:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dannysmith at users dot sourceforge dot net 2008-12-19 23:01 -------
Patch for this was submitted 4 months ago:
http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01143.html
Danny
--
dannysmith at users dot sourceforge dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-12-19 23:01:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
2008-12-19 23:05 ` [Bug bootstrap/38580] " dannysmith at users dot sourceforge dot net
@ 2008-12-19 23:13 ` fxcoudert at gcc dot gnu dot org
2008-12-21 23:05 ` [Bug bootstrap/38580] [4.4 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-12-19 23:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-12-19 23:11 -------
I'm adding Kai to the CC list. As he's now maintainer, he may want to help
here.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kai dot tietz at onevision
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
2008-12-19 23:05 ` [Bug bootstrap/38580] " dannysmith at users dot sourceforge dot net
2008-12-19 23:13 ` fxcoudert at gcc dot gnu dot org
@ 2008-12-21 23:05 ` pinskia at gcc dot gnu dot org
2009-01-05 11:27 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-21 23:05 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Bootstrap broken on mingw32 |[4.4 Regression] Bootstrap
| |broken on mingw32
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-12-21 23:05 ` [Bug bootstrap/38580] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2009-01-05 11:27 ` rguenth at gcc dot gnu dot org
2009-01-08 0:05 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-05 11:27 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-01-05 11:27 ` rguenth at gcc dot gnu dot org
@ 2009-01-08 0:05 ` jakub at gcc dot gnu dot org
2009-01-08 8:41 ` dannysmith at users dot sourceforge dot net
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-08 0:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2009-01-08 00:05 -------
Ian Taylor said on IRC that -b/-V should use pex_one/exit instead of execvp.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-01-08 0:05 ` jakub at gcc dot gnu dot org
@ 2009-01-08 8:41 ` dannysmith at users dot sourceforge dot net
2009-01-09 9:36 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2009-01-08 8:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dannysmith at users dot sourceforge dot net 2009-01-08 08:41 -------
Created an attachment (id=17052)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17052&action=view)
Replace execvp with pex_one in process_command
Patch uses pex_one as per Ian Taylor suggestion , but the error reporting may
need expansion.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-01-08 8:41 ` dannysmith at users dot sourceforge dot net
@ 2009-01-09 9:36 ` jakub at gcc dot gnu dot org
2009-01-09 9:55 ` ktietz at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-09 9:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2009-01-09 09:36 -------
Seems to work on x86_64-linux. The error message is different if the program
doesn't exist:
./xgcc -b nonexistent-target -B ./ -v
./xgcc: error trying to exec './nonexistent-target-gcc-4.4.0': execvp: No such
file or directory
from:
./xgcc -b nonexistent-target -B ./ -v
xgcc: couldn't run './nonexistent-target-gcc-4.4.0': No such file or directory
but I guess that's not a big deal. When the program exists, it works just
fine. If it works on mingw, can you post it to gcc-patches?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-01-09 9:36 ` jakub at gcc dot gnu dot org
@ 2009-01-09 9:55 ` ktietz at gcc dot gnu dot org
2009-01-13 7:41 ` dannysmith at gcc dot gnu dot org
2009-01-13 7:43 ` dannysmith at users dot sourceforge dot net
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-01-09 9:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ktietz at gcc dot gnu dot org 2009-01-09 09:55 -------
(In reply to comment #4)
> Created an attachment (id=17052)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17052&action=view) [edit]
> Replace execvp with pex_one in process_command
> Patch uses pex_one as per Ian Taylor suggestion , but the error reporting may
> need expansion.
> Danny
Ok, I agree that the error message shouldn't be here a big problem. Your patch
works for mingw-w64, so I have no objections.
Kai
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (7 preceding siblings ...)
2009-01-09 9:55 ` ktietz at gcc dot gnu dot org
@ 2009-01-13 7:41 ` dannysmith at gcc dot gnu dot org
2009-01-13 7:43 ` dannysmith at users dot sourceforge dot net
9 siblings, 0 replies; 11+ messages in thread
From: dannysmith at gcc dot gnu dot org @ 2009-01-13 7:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dannysmith at gcc dot gnu dot org 2009-01-13 07:41 -------
Subject: Bug 38580
Author: dannysmith
Date: Tue Jan 13 07:40:51 2009
New Revision: 143330
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143330
Log:
PR bootstrap/38580
* gcc.c (process_command): Replace call to execvp with calls
to pex_one and exit.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/38580] [4.4 Regression] Bootstrap broken on mingw32
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-01-13 7:41 ` dannysmith at gcc dot gnu dot org
@ 2009-01-13 7:43 ` dannysmith at users dot sourceforge dot net
9 siblings, 0 replies; 11+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2009-01-13 7:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from dannysmith at users dot sourceforge dot net 2009-01-13 07:43 -------
Fixed on trunk.
--
dannysmith at users dot sourceforge dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38580
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-01-13 7:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-19 18:09 [Bug bootstrap/38580] New: Bootstrap broken on mingw32 fxcoudert at gcc dot gnu dot org
2008-12-19 23:05 ` [Bug bootstrap/38580] " dannysmith at users dot sourceforge dot net
2008-12-19 23:13 ` fxcoudert at gcc dot gnu dot org
2008-12-21 23:05 ` [Bug bootstrap/38580] [4.4 Regression] " pinskia at gcc dot gnu dot org
2009-01-05 11:27 ` rguenth at gcc dot gnu dot org
2009-01-08 0:05 ` jakub at gcc dot gnu dot org
2009-01-08 8:41 ` dannysmith at users dot sourceforge dot net
2009-01-09 9:36 ` jakub at gcc dot gnu dot org
2009-01-09 9:55 ` ktietz at gcc dot gnu dot org
2009-01-13 7:41 ` dannysmith at gcc dot gnu dot org
2009-01-13 7:43 ` dannysmith at users dot sourceforge dot net
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).