[Bug libitm/63781] potential linkage issue with libitm.1.dylib
howarth at bromo dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Sat Nov 8 18:24:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63781
--- Comment #5 from howarth at bromo dot med.uc.edu ---
The problematic code in eh_cpp.cc appears to be...
#if !defined (HAVE_ELF_STYLE_WEAKREF)
void *__cxa_allocate_exception (size_t) { return NULL; }
void __cxa_throw (void *, void *, void *) { return; }
void *__cxa_begin_catch (void *) { return NULL; }
void __cxa_end_catch (void) { return; }
void __cxa_tm_cleanup (void *, void *, unsigned int) { return; }
void _Unwind_DeleteException (_Unwind_Exception *) { return; }
#endif /* HAVE_ELF_STYLE_WEAKREF */
}
If I append
void __cxa_tm_cleanup (void *, void *, unsigned int) { return; }
after that the linkage succeeds using the xg++ compiler without unresolved
symbols
More information about the Gcc-bugs
mailing list