http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54567
Bug #: 54567 Summary: Incomplete PT_GNU_EH_FRAME support for Android Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com CC: pavel.v.chu...@gmail.com Revision 186788: http://gcc.gnu.org/ml/gcc-cvs/2012-04/msg00740.html defines USE_PT_GNU_EH_FRAME for BIONIC. But it misses USE_PT_GNU_EH_FRAME in crtstuff.c: crtstuff.c:# define USE_PT_GNU_EH_FRAME crtstuff.c:# define USE_PT_GNU_EH_FRAME crtstuff.c:# define USE_PT_GNU_EH_FRAME crtstuff.c:# define USE_PT_GNU_EH_FRAME crtstuff.c:#if defined(EH_FRAME_SECTION_NAME) && !defined(USE_PT_GNU_EH_FRAME) We should have a single place to define USE_PT_GNU_EH_FRAME to avoid the problem like this.