http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51523
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-14 10:36:15 UTC --- This looks more like a linker bug which doesn't seem to account for the contents of the .exp file. It works properly on linux targets with providing a version script, -Wl,--version-script=t.map with t.map containing FOO_1.0 { global: foo; bar; local: *; };