This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/56811] [4.8/4.9/4.10 Regression] libbacktrace causes undefined symbol "_Unwind_GetIPInfo" on ia64-hpux
- From: "alm at sibmail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 May 2014 03:14:31 +0000
- Subject: [Bug other/56811] [4.8/4.9/4.10 Regression] libbacktrace causes undefined symbol "_Unwind_GetIPInfo" on ia64-hpux
- Auto-submitted: auto-generated
- References: <bug-56811-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56811
Alexander <alm at sibmail dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alm at sibmail dot ru
--- Comment #10 from Alexander <alm at sibmail dot ru> ---
build gcc-4.8.2 on HP-UX 11.31 IA64 fails.
The problem is in the change to check function _Unwind_GetIPInfo present.
In the 4.8.x autoconf compile test added:
$as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include "unwind.h"
struct _Unwind_Context *context;
int ip_before_insn = 0;
int
main ()
{
return _Unwind_GetIPInfo (context, &ip_before_insn);
;
return 0;
}
Build compiller has function _Unwind_GetIPInfo in fixinclude unwind.h:
extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *);
comment it out - fix this problem.
But now problem in the stage1 xgcc: it has segmentation fault in
cc1 while compile simple c test:
checking for ia64-hp-hpux11.31-gcc...
/import/home/nskdvlp/Melnikov/gcc-4.8/build/./gcc/xgcc
-B/import/home/nskdvlp/Melnikov/gcc-4.8/build/./gcc/
-B/import/home/nskdvlp/Melnikov/gcc-4.8/gcc.x1/ia64-hp-hpux11.31/bin/
-B/import/home/nskdvlp/Melnikov/gcc-4.8/gcc.x1/ia64-hp-hpux11.31/lib/ -isystem
/import/home/nskdvlp/Melnikov/gcc-4.8/gcc.x1/ia64-hp-hpux11.31/include -isystem
/import/home/nskdvlp/Melnikov/gcc-4.8/gcc.x1/ia64-hp-hpux11.31/sys-include
sendsig: useracc failed. 0xffffffffffffb200 0x00000000005000
Pid 6320 was killed due to failure in writing the signal context - possible
stack overflow.
checking for suffix of object files...
sendsig: useracc failed. 0xffffffffffffb200 0x00000000005000
Pid 6325 was killed due to failure in writing the signal context - possible
stack overflow.
configure: error: in
`/import/home/nskdvlp/Melnikov/gcc-4.8/build/ia64-hp-hpux11.31/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
gmake[2]: *** [configure-stage1-target-libgcc] Error 1
gmake[2]: Leaving directory `/import/home/nskdvlp/Melnikov/gcc-4.8/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/import/home/nskdvlp/Melnikov/gcc-4.8/build'
gmake: *** [all] Error 2