This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33216] [4.1/4.2/4.3 Regression] ICE in named_section_real, at varasm.c:419
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2007 07:33:24 -0000
- Subject: [Bug middle-end/33216] [4.1/4.2/4.3 Regression] ICE in named_section_real, at varasm.c:419
- References: <bug-33216-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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