This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/48094] ld: warning: section has unexpectedly large size errors in objc/obj-c++ lto


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48094

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-13 12:13:05 UTC ---
(In reply to comment #2)
> (a) the first is because LTO has produced two image_info instances with
> different mangled names ...
> 
>      e.g. L_OBJC_ImageInfo.2044 / L_OBJC_ImageInfo.2048
> 
>      this is visible on darwin 9 (although it does not produce an error).

This only applies when -flto is given together with the partitioning algorithm
= none.  
For 1to1 or default, the instances of L_OBJC_ImageInfo are correctly combined
into a single var.

I'm not sure whether this is expected behavior (c.f. PR43038) ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]