This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1
- 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: Mon, 14 Mar 2011 18:20:21 +0000
- Subject: [Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1
- Auto-submitted: auto-generated
- References: <bug-48109-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-14 18:20:15 UTC ---
Created attachment 23653
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23653
possible fix - shifting the special case output of objc_class_name_xxxx to the
back-end.
this solves the problem of propagating the class refs/defs through LTO
... although it reveals that we have further issues when -flto-partition=none
is used
(duplicate meta-data definitions - however, this latter problem is not
specific to darwin and will be posted as a different PR)
... only lightly tested on i686-darwin9.
opinions?