Rainer Orth wrote:
> Austin English <austinenglish at gmail.com> writes:
> 
>> When compiling wine, I get thousands of this error. Apparently visibility is 
>> not supported in 3.4 version, but when compiling on Ubuntu with 3.4.6, I 
>> don't get this error.
> 
> This is not a property of some specific GCC version, but it depends on
> visibility support in both the assembler (gas 2.15 in this case) and linker
> (Sun ld) used.  Since nobody could devise a linker test for GCC's
> gcc/configure.ac script, the only safe assumption is that a non-gld linker
> does not support visibility.
> 
> So your only choices are rebuilding gcc with GNU ld (which I'd advise
> against), or developing such a test.  Maybe the Sun linker experts can help
> here.  Given that many linker improvements are backported to SunOS 5.{8, 9,
> 10} in patches, a simple version check is most likely not appropriate.
> 
>       Rainer
> 

We're not aware of any missing symbol visibility support in the
Solaris linker relative to the GNU ld, and believe that all of
this stuff has been stable and present for years. STV_PROTECTED
and friends went into Solaris 9 (PSARC/2000/267), so backports
may not even be necessary.

We don't work on the assemblers, but have no reason to think
that they're lacking in this area either.

I think the next step forward would be to ask the gcc community
why their configuration makes this assumption about the non-GNU
ld on Solaris. Perhaps it's a historical artifact and could just
be changed.

If there *is* a lack in the Solaris toolchain for visibility,
we would very much appreciate a concrete report detailing
what's missing so that we can address it.

- Ali


Reply via email to