http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
Ian Lance Taylor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
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
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.
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.
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
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
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
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
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
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_
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
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
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
@@
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
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
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
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
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
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
Jack Howarth changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|FI
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
Ian Lance Taylor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
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
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-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
Ian Lance Taylor changed:
What|Removed |Added
CC||ian at airs dot com
--- Comm
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
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
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
27 matches
Mail list logo