public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty.
@ 2009-01-18 0:29 dave dot korn dot cygwin at gmail dot com
2009-01-18 0:32 ` [Bug bootstrap/38903] " dave dot korn dot cygwin at gmail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: dave dot korn dot cygwin at gmail dot com @ 2009-01-18 0:29 UTC (permalink / raw)
To: gcc-bugs
[refs: http://gcc.gnu.org/ml/gcc/2009-01/threads.html#00060
http://gcc.gnu.org/ml/gcc/2009-01/threads.html#00216 ]
Bootstrap on cygwin is currently failing during stage 3 with:
/home/andy/live-gcc/my_gcc/./gcc/xgcc
-B/home/andy/live-gcc/my_gcc/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -isystem
/usr/local/i686-pc-cygwin/sys-include -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../../gcc/libiberty/../include -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic
../../../gcc/libiberty/strsignal.c -o pic/strsignal.o; \
else true; fi
/home/andy/live-gcc/my_gcc/./gcc/xgcc
-B/home/andy/live-gcc/my_gcc/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -isystem
/usr/local/i686-pc-cygwin/sys-include -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../../gcc/libiberty/../include -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic
../../../gcc/libiberty/strsignal.c -o strsignal.o
../../../gcc/libiberty/strsignal.c:408: error: conflicting types for
'strsignal'
/usr/include/string.h:78: note: previous declaration of 'strsignal' was here
make[2]: *** [strsignal.o] Error 1
make[2]: Leaving directory
`/home/andy/live-gcc/my_gcc/i686-pc-cygwin/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/home/andy/live-gcc/my_gcc'
make: *** [all] Error 2
This happens because libiberty configure has a hard-coded hack that kicks in
when building libiberty as a target library, which causes strsignal (and a
couple of others) to be removed from the list of functions for configure to
check against the system libraries, causing the libiberty versions to be built
when they aren't needed. (They used to be required; formerly, Cygwin pulled in
the object files from libiberty when linking the DLL, but this was fixed some
time ago and the hack has been obsolete since then). I am testing a patch to
remove the hack.
--
Summary: Bootstrap failure on Cygwin vs. libiberty.
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dave dot korn dot cygwin at gmail dot com
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
@ 2009-01-18 0:32 ` dave dot korn dot cygwin at gmail dot com
2009-01-18 21:40 ` dave dot korn dot cygwin at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dave dot korn dot cygwin at gmail dot com @ 2009-01-18 0:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dave dot korn dot cygwin at gmail dot com 2009-01-18 00:31 -------
Created an attachment (id=17131)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17131&action=view)
Remove troublesome clause from libiberty configure
Now testing vs. both src/ and gcc/
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
2009-01-18 0:32 ` [Bug bootstrap/38903] " dave dot korn dot cygwin at gmail dot com
@ 2009-01-18 21:40 ` dave dot korn dot cygwin at gmail dot com
2009-01-26 9:48 ` dave dot korn dot cygwin at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dave dot korn dot cygwin at gmail dot com @ 2009-01-18 21:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dave dot korn dot cygwin at gmail dot com 2009-01-18 21:40 -------
Fixed on HEAD by r.143487; sorry, forgot to put the PR/ reference in the SVN
logfile.
--
dave dot korn dot cygwin at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
2009-01-18 0:32 ` [Bug bootstrap/38903] " dave dot korn dot cygwin at gmail dot com
2009-01-18 21:40 ` dave dot korn dot cygwin at gmail dot com
@ 2009-01-26 9:48 ` dave dot korn dot cygwin at gmail dot com
2009-07-29 9:24 ` davek at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dave dot korn dot cygwin at gmail dot com @ 2009-01-26 9:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dave dot korn dot cygwin at gmail dot com 2009-01-26 09:48 -------
http://gcc.gnu.org/ml/gcc/2009-01/msg00367.html
Confirmed by OP.
--
dave dot korn dot cygwin at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
` (2 preceding siblings ...)
2009-01-26 9:48 ` dave dot korn dot cygwin at gmail dot com
@ 2009-07-29 9:24 ` davek at gcc dot gnu dot org
2009-07-29 9:28 ` davek at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-07-29 9:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from davek at gcc dot gnu dot org 2009-07-29 09:23 -------
Reopening against 4.3.4 RC 20090727.
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|VERIFIED |UNCONFIRMED
Resolution|FIXED |
Version|4.4.0 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
` (3 preceding siblings ...)
2009-07-29 9:24 ` davek at gcc dot gnu dot org
@ 2009-07-29 9:28 ` davek at gcc dot gnu dot org
2009-07-29 11:45 ` davek at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-07-29 9:28 UTC (permalink / raw)
To: gcc-bugs
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |davek at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-07-29 09:27:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
` (4 preceding siblings ...)
2009-07-29 9:28 ` davek at gcc dot gnu dot org
@ 2009-07-29 11:45 ` davek at gcc dot gnu dot org
2009-07-29 12:08 ` davek at gcc dot gnu dot org
2009-07-30 10:25 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-07-29 11:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from davek at gcc dot gnu dot org 2009-07-29 11:45 -------
Subject: Bug 38903
Author: davek
Date: Wed Jul 29 11:45:30 2009
New Revision: 150209
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150209
Log:
PR bootstrap/38903: Backport fix from HEAD.
* configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure: Regenerated.
Modified:
branches/gcc-4_3-branch/libiberty/ChangeLog
branches/gcc-4_3-branch/libiberty/configure
branches/gcc-4_3-branch/libiberty/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
` (5 preceding siblings ...)
2009-07-29 11:45 ` davek at gcc dot gnu dot org
@ 2009-07-29 12:08 ` davek at gcc dot gnu dot org
2009-07-30 10:25 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-07-29 12:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from davek at gcc dot gnu dot org 2009-07-29 12:08 -------
Fixed on gcc-4_3-branch.
Not present on gcc-4_4-branch, fix was applied to HEAD before branching.
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38903] Bootstrap failure on Cygwin vs. libiberty.
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
` (6 preceding siblings ...)
2009-07-29 12:08 ` davek at gcc dot gnu dot org
@ 2009-07-30 10:25 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-30 10:25 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38903
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-07-30 10:25 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-18 0:29 [Bug bootstrap/38903] New: Bootstrap failure on Cygwin vs. libiberty dave dot korn dot cygwin at gmail dot com
2009-01-18 0:32 ` [Bug bootstrap/38903] " dave dot korn dot cygwin at gmail dot com
2009-01-18 21:40 ` dave dot korn dot cygwin at gmail dot com
2009-01-26 9:48 ` dave dot korn dot cygwin at gmail dot com
2009-07-29 9:24 ` davek at gcc dot gnu dot org
2009-07-29 9:28 ` davek at gcc dot gnu dot org
2009-07-29 11:45 ` davek at gcc dot gnu dot org
2009-07-29 12:08 ` davek at gcc dot gnu dot org
2009-07-30 10:25 ` rguenth 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).