[Bug middle-end/50598] [4.7 Regression] Undefined symbols: "___emutls_v.*", ... on *-apple-darwin*

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 13 13:00:00 GMT 2011


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

--- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-13 12:51:00 UTC ---
(In reply to comment #14)
> Hi,
> I finally debugged this.

Great! :-)
> It is an ordering issue - emutls adds new variables but
> remove_unreachable_functions expects that visibility pass has been run and
> externally_visible flag computed.  I will add add_new_variable for backend use
> just like cgraph API have.

Just in case I misunderstand your reference to "backend".

I think these vars will only be added by tree-emutls pass.



More information about the Gcc-bugs mailing list