This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48086] bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 13 Mar 2011 10:08:12 +0000
- Subject: [Bug lto/48086] bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10
- Auto-submitted: auto-generated
- References: <bug-48086-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48086
--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-13 10:07:50 UTC ---
my +1 generally to comment #8,
We are (re)-discussing with the Apple developer for ld (obviously that can't be
in this forum).
IMO, 'as' is trying to check "if someone tries to write a section > 255 into
the symbol n_sect field" which we won't do.
It is just a little to simplistic to do this by a simple count of sections.
The Apple developers are really helpful guys - and I'm sure we'll get an answer
soon (I don't think we need to be paranoid, I suspect an oversight rather than
a release plan... ;-) ).
containerizing the LTO stuff would probably be much easier now that we have
simple-object in libiberty --- but it doesn't seem to be a last-minute kinda
job - better left for stage 1 and back-ported for 4.6.1 (my Â0.02).