This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50598] [4.7 Regression] Undefined symbols: "___emutls_v.*", ... on *-apple-darwin*
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 13 Nov 2011 12:41:03 +0000
- Subject: [Bug middle-end/50598] [4.7 Regression] Undefined symbols: "___emutls_v.*", ... on *-apple-darwin*
- Auto-submitted: auto-generated
- References: <bug-50598-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50598
--- Comment #14 from Jan Hubicka <hubicka at ucw dot cz> 2011-11-13 12:41:03 UTC ---
Hi,
I finally debugged this.
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.
Honza