[Bug target/32462] [4.3 regression] Linking libgcj.so fails on Solaris 10/x86
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 12 10:49:00 GMT 2007
------- Comment #9 from aph at gcc dot gnu dot org 2007-07-12 10:49 -------
This is somewhat bewildering: if the visibility attribute is not supported, who
does setting the visibility make any difference to the build?
Nonetheless, I have no objection to something like
static void
hide (tree decl)
{
#ifdef __linux__
DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN;
DECL_VISIBILITY_SPECIFIED (decl) = 1;
#endif
}
or whatever macro seems appropriate to you, in order to restrict this to
GNU/Linux systems.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32462
More information about the Gcc-bugs
mailing list