[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-26 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-26 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #26 from ian at gcc dot gnu.org 2012-10-26 17:35:04 UTC --- Author: ian Date: Fri Oct 26 17:34:59 2012 New Revision: 192853 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192853 Log: PR target/55061 * confi

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #25 from Jack Howarth 2012-10-26 03:30:44 UTC --- Patch posted at http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02362.html.

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #24 from Ian Lance Taylor 2012-10-25 23:51:00 UTC --- The patch in comment #22 is OK with a ChangeLog entry. Thanks.

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #23 from Jack Howarth 2012-10-25 23:08:50 UTC --- (In reply to comment #22) > Created attachment 28532 [details] > proposed patch to check for _Unwind_GetIPInfo function declaration Patch tested on powerpc-apple-darwin9 with

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #22 from Jack Howarth 2012-10-25 22:34:38 UTC --- Created attachment 28532 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28532 proposed patch to check for _Unwind_GetIPInfo function declaration

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #21 from Jack Howarth 2012-10-25 19:57:29 UTC --- FYI the test in Comment 20 passes for llvm-gcc-4.2 and clang in Xcode 4.5.1 but only for gcc-4.2 and llvm-gcc-4.2 in Xcode 4.2. The clang in Xcode 4.2 apparently doesn't provide

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #20 from Jack Howarth 2012-10-25 19:38:07 UTC --- This testcase should work for powerpc-apple-darwin9... #include "unwind.h" int main() { struct _Unwind_Context *co

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #19 from Ian Lance Taylor 2012-10-25 18:55:25 UTC --- Yes, I'm sure, because test -n "${with_target_subdir}" is true exactly when libbacktrace is being built as a target library. That test will not be true when libbacktra

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #18 from Jack Howarth 2012-10-25 17:56:54 UTC --- (In reply to comment #17) Are you sure? I see... if test -n "${with_target_subdir}"; then GCC_CHECK_UNWIND_GETIPINFO else AC_CHECK_FUNC(_Unwind_GetIPInfo, [have_unwind_

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #17 from Ian Lance Taylor 2012-10-25 17:41:26 UTC --- Thanks for attaching the config.log. The config.log suggests that this program: int main () { return _Unwind_GetIPInfo (); } both compiles and links when using G

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #16 from Ian Lance Taylor 2012-10-25 17:37:10 UTC --- I think you may be looking at the wrong thing. The libbacktrace configure.ac only uses GCC_CHECK_UNWIND_GETIPINFO when it is built as a target library. You are seeing a fa

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #15 from Jack Howarth 2012-10-25 15:05:18 UTC --- It unclear how to recraft the test. Adding... --- unwind_ipinfo.m4.orig2012-10-25 10:30:59.0 -0400 +++ unwind_ipinfo.m42012-10-25 11:04:37.0 -0400 @@

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #14 from Jack Howarth 2012-10-25 14:11:38 UTC --- Can we enhance the section in config/unwind_ipinfo.m4... # Darwin before version 9 does not have _Unwind_GetIPInfo. changequote(,) case ${target} in *-*-da

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #13 from Jack Howarth 2012-10-25 13:47:21 UTC --- % grep Unwind_GetIPInfo /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h % extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *); % grep Unwind_Get

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #12 from Jack Howarth 2012-10-25 13:33:33 UTC --- The diff between the preprocessed source of backtrace.c on gcc 4.0.1 and 4.2.1 is... --- backtrace.i2012-10-25 09:31:46.0 -0400+++ backtrace.i.gcc-4.2 2012-1

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #11 from Jack Howarth 2012-10-25 13:15:39 UTC --- Created attachment 28530 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28530 config.log from libbacktrace subdirectory on powerpc-apple-darwin9 using gcc 4.0.1

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-25 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #10 from Jack Howarth 2012-10-25 13:14:20 UTC --- Created attachment 28529 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28529 preprocessed source for libbacktrace/backtrace.c on powerpc-apple-darwin9 under gcc 4.0.1

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #9 from Ian Lance Taylor 2012-10-25 03:34:22 UTC --- That's strange, because GCC 4.0 doesn't have _Unwind_GetIPInfo, so the configure test that checks for it should have failed, and it should not have been called. Does the Xco

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 Jack Howarth changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|FI

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #6 from ian at gcc dot gnu.org 2012-10-24 21:09:59 UTC --- Author: ian Date: Wed Oct 24 21:09:55 2012 New Revision: 192782 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192782 Log: PR target/55061 * config

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #5 from Jack Howarth 2012-10-24 18:30:21 UTC --- The testcase fails with the system compiler on powerpc-apple-darwin9, which is... gcc version 4.0.1 (Apple Inc. build 5493) with the same error when compiled with '-funwind-

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comm

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #3 from Jack Howarth 2012-10-24 17:55:34 UTC --- Created attachment 28522 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28522 assembly file for libbacktrace/dwarf.c on powerpc-apple-darwin9

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #2 from Jack Howarth 2012-10-24 17:54:48 UTC --- Created attachment 28521 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28521 preprocessed source for libbacktrace/dwarf.c on powerpc-apple-darwin9

[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9

2012-10-24 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061 --- Comment #1 from Jack Howarth 2012-10-24 17:52:30 UTC --- Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809