------- Comment #4 from jakub at gcc dot gnu dot org 2007-08-31 07:33 ------- I think the 4.2/4.3 error is just fine, this is mainly a user error. The crtfiles must not be compiled with any options that will cause the special sections to be populated with other stuff (be it .ctors, .dtors, .eh_frame, etc.). The reason for that is then there is absolutely no control over whether the special marker which is supposed to be at the beginning resp. end of the special sections is actually in the beginning resp. end of the section.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33216