Linker creates a failing binary. Trivial to duplicate: http://www.ltn.lv/~edgarsi/upload/files/big_fail_test.pdf
This behaviour appears on g++ versions: 3.3.6 and 4.2.3 -- Summary: Linker creates failing binary, object file order, extern Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: thesviests at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36317