public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
@ 2008-11-28 8:53 pinskia at gcc dot gnu dot org
2008-11-28 8:53 ` [Bug bootstrap/38300] " pinskia at gcc dot gnu dot org
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 8:53 UTC (permalink / raw)
To: gcc-bugs
I found the patch for PR 27880 causes libgcj and libstdc++ to contain a
reference to _Unwind_GetIPInfo on darwin8.11. This causes a bootstrap failure
and/or the testsuite to fail all the time with an undefined symbol.
/bin/sh ./libtool --tag=GCJ --mode=link
/Users/apinski/src/local/gcc/objdir/gcc/gcj
-B/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava/
-B/Users/apinski/src/local/gcc/objdir/gcc/
-L/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava
-ffloat-store -fomit-frame-pointer -Usun -g -O2 -o gij -rpath
/Users/apinski/local-gcc/lib/gcj-4.4.0-10 -rpath /Users/apinski/local-gcc/lib
-shared-libgcc
-L/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava/.libs
libgij.la
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
__Unwind_GetIPInfo
collect2: ld returned 1 exit status
--
Summary: [4.4 Regression] libstdc++ and libgcj contain a
reference to _Unwind_GetIPInfo
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: build
Severity: blocker
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: *-*-darwin8.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
@ 2008-11-28 8:53 ` pinskia at gcc dot gnu dot org
2008-11-28 8:54 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 8:53 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at gcc dot gnu dot org
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
2008-11-28 8:53 ` [Bug bootstrap/38300] " pinskia at gcc dot gnu dot org
@ 2008-11-28 8:54 ` pinskia at gcc dot gnu dot org
2008-11-28 9:05 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 8:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-11-28 08:53 -------
The link test was doing the correct thing as libgcc in Darwin (before 9) did
not contain _Unwind_GetIPInfo.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
2008-11-28 8:53 ` [Bug bootstrap/38300] " pinskia at gcc dot gnu dot org
2008-11-28 8:54 ` pinskia at gcc dot gnu dot org
@ 2008-11-28 9:05 ` pinskia at gcc dot gnu dot org
2008-11-28 9:33 ` schwab at suse dot de
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 9:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-11-28 09:04 -------
Here is the patch which I am currently testing:
Index: unwind_ipinfo.m4
===================================================================
--- unwind_ipinfo.m4 (revision 142255)
+++ unwind_ipinfo.m4 (working copy)
@@ -15,6 +15,10 @@ AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
*) with_system_libunwind=no ;;
esac
fi
+ # Darwin before version 9 does not have _Unwind_GetIPInfo.
+ case ${target} in
+ *-*-darwin[0-8]*) have_unwind_getipinfo=no ;;
+ esac
# Based on system-libunwind and target, do we have ipinfo?
if test x$with_system_libunwind = xyes; then
case ${target} in
--- CUT ---
I should note that someone almost forgot to regenerate libstdc++ after the
original change went in.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-11-28 09:04:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-11-28 9:05 ` pinskia at gcc dot gnu dot org
@ 2008-11-28 9:33 ` schwab at suse dot de
2008-11-28 17:36 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: schwab at suse dot de @ 2008-11-28 9:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from schwab at suse dot de 2008-11-28 09:31 -------
This will also match darwin10.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-11-28 9:33 ` schwab at suse dot de
@ 2008-11-28 17:36 ` pinskia at gcc dot gnu dot org
2008-12-05 12:28 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 17:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-11-28 17:35 -------
(In reply to comment #3)
> This will also match darwin10.
You are correct, in fact it does not set have_unwind_getipinfo to no anyways as
it was being set to yes in the else statement.
Index: unwind_ipinfo.m4
===================================================================
--- unwind_ipinfo.m4 (revision 142255)
+++ unwind_ipinfo.m4 (working copy)
@@ -22,7 +22,11 @@ AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
*) have_unwind_getipinfo=yes ;;
esac
else
- have_unwind_getipinfo=yes
+ # Darwin before version 9 does not have _Unwind_GetIPInfo.
+ case ${target} in
+ *-*-darwin[1-8].*) have_unwind_getipinfo=no ;;
+ *) have_unwind_getipinfo=yes ;;
+ esac
fi
if test x$have_unwind_getipinfo = xyes; then
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-11-28 17:36 ` pinskia at gcc dot gnu dot org
@ 2008-12-05 12:28 ` rguenth at gcc dot gnu dot org
2008-12-05 17:31 ` howarth at nitro dot med dot uc dot edu
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-05 12:28 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=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-12-05 12:28 ` rguenth at gcc dot gnu dot org
@ 2008-12-05 17:31 ` howarth at nitro dot med dot uc dot edu
2008-12-05 17:49 ` schwab at suse dot de
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-12-05 17:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from howarth at nitro dot med dot uc dot edu 2008-12-05 17:30 -------
Andrew,
This last patch would still be problematic since it will not catch targets
set to *-*-darwin8 rather than *-*-darwin8.5. A better fix would be to use the
approach from...
------------------------------------------------------------------------
r142417 | janis | 2008-12-03 18:41:46 -0500 (Wed, 03 Dec 2008) | 2 lines
* g++.old-deja/g++.eh/badalloc1.C: Reinstate XFAIL for Darwin 3-7.
...and use a patch like....
Index: unwind_ipinfo.m4
===================================================================
--- unwind_ipinfo.m4 (revision 142255)
+++ unwind_ipinfo.m4 (working copy)
@@ -22,7 +22,11 @@ AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
*) have_unwind_getipinfo=yes ;;
esac
else
- have_unwind_getipinfo=yes
+ # Darwin before version 9 does not have _Unwind_GetIPInfo.
+ case ${target} in
+ *-*-darwin[3-8]*) have_unwind_getipinfo=no ;;
+ *) have_unwind_getipinfo=yes ;;
+ esac
fi
if test x$have_unwind_getipinfo = xyes; then
...which would work until we reach darwin30.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-12-05 17:31 ` howarth at nitro dot med dot uc dot edu
@ 2008-12-05 17:49 ` schwab at suse dot de
2008-12-06 16:51 ` howarth at nitro dot med dot uc dot edu
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: schwab at suse dot de @ 2008-12-05 17:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from schwab at suse dot de 2008-12-05 17:47 -------
You can use multiple patterns:
*-*-darwin[1-8]|*-*-darwin[1-8].*) ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-12-05 17:49 ` schwab at suse dot de
@ 2008-12-06 16:51 ` howarth at nitro dot med dot uc dot edu
2008-12-06 16:54 ` howarth at nitro dot med dot uc dot edu
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-12-06 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from howarth at nitro dot med dot uc dot edu 2008-12-06 16:49 -------
Remember we don't want to match darwin10. Mike Stump recommended recently that
not worrying about darwin1 and darwin2 would be okay. So the alternative would
be...
*-*-darwin[3-8]|*-*-darwin[3-8].*) ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (8 preceding siblings ...)
2008-12-06 16:51 ` howarth at nitro dot med dot uc dot edu
@ 2008-12-06 16:54 ` howarth at nitro dot med dot uc dot edu
2008-12-18 12:22 ` mrs at apple dot com
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-12-06 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from howarth at nitro dot med dot uc dot edu 2008-12-06 16:53 -------
Ignore my last comment. I misread the proposed syntax.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (9 preceding siblings ...)
2008-12-06 16:54 ` howarth at nitro dot med dot uc dot edu
@ 2008-12-18 12:22 ` mrs at apple dot com
2008-12-21 22:28 ` pinskia at gcc dot gnu dot org
2008-12-21 22:30 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: mrs at apple dot com @ 2008-12-18 12:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from mrs at apple dot com 2008-12-18 12:21 -------
Ok with the:
+ *-*-darwin[3-8]*) have_unwind_getipinfo=no ;;
spelling. It matches the spelling in the rest of the compiler, which makes it
easier to spot and modify. Technically, the:
*-*-darwin[0-8]|*-*-darwin[0-8].*) ...
is a bit more perfect, but, I'm not terribly worried about darwin1 or darwin2
systems. They won't work for other reasons.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (10 preceding siblings ...)
2008-12-18 12:22 ` mrs at apple dot com
@ 2008-12-21 22:28 ` pinskia at gcc dot gnu dot org
2008-12-21 22:30 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-21 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2008-12-21 22:26 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
` (11 preceding siblings ...)
2008-12-21 22:28 ` pinskia at gcc dot gnu dot org
@ 2008-12-21 22:30 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-21 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2008-12-21 22:28 -------
Subject: Bug 38300
Author: pinskia
Date: Sun Dec 21 22:27:18 2008
New Revision: 142877
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142877
Log:
Index: config/ChangeLog
+2008-12-21 Andrew Pinski <pinskia@gmail.com>
+
+ PR target/38300
+ * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo.
+
Index: gcc/ChangeLog
+2008-12-21 Andrew Pinski <pinskia@gmail.com>
+
+ PR target/38300
+ * configure: Regenerate.
Index: libstdc++-v3/ChangeLog
+2008-12-21 Andrew Pinski <pinskia@gmail.com>
+
+ PR target/38300
+ * configure: Regenerate.
+
Index: libjava/ChangeLog
+2008-12-21 Andrew Pinski <pinskia@gmail.com>
+
+ PR target/38300
+ * configure: Regenerate.
Modified:
trunk/config/ChangeLog
trunk/config/unwind_ipinfo.m4
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/libjava/ChangeLog
trunk/libjava/configure
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/configure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2008-12-21 22:30 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-28 8:53 [Bug bootstrap/38300] New: [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo pinskia at gcc dot gnu dot org
2008-11-28 8:53 ` [Bug bootstrap/38300] " pinskia at gcc dot gnu dot org
2008-11-28 8:54 ` pinskia at gcc dot gnu dot org
2008-11-28 9:05 ` pinskia at gcc dot gnu dot org
2008-11-28 9:33 ` schwab at suse dot de
2008-11-28 17:36 ` pinskia at gcc dot gnu dot org
2008-12-05 12:28 ` rguenth at gcc dot gnu dot org
2008-12-05 17:31 ` howarth at nitro dot med dot uc dot edu
2008-12-05 17:49 ` schwab at suse dot de
2008-12-06 16:51 ` howarth at nitro dot med dot uc dot edu
2008-12-06 16:54 ` howarth at nitro dot med dot uc dot edu
2008-12-18 12:22 ` mrs at apple dot com
2008-12-21 22:28 ` pinskia at gcc dot gnu dot org
2008-12-21 22:30 ` 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).