X86-64 crtend.o with DWARF EH is broken when compiled with -fasynchronous-unwind-tables, which is the default:
http://gcc.gnu.org/ml/gcc/2002-11/msg00799.html It was fixed for Linux only: http://gcc.gnu.org/ml/gcc-patches/2002-11/msg01671.html That leaves all non-Linux x86-64 with DWARF EH have a broken crtend.o. -- Summary: Non-Linux DWARF EH x86-64 targets have broken crtend.o Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl at lucon dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31868