-fvisibility=hidden

Ulrich Drepper drepper at redhat.com
Sat Feb 12 05:21:00 UTC 2005


Felipe Alfaro Solana wrote:

> I've seen Mandrake has started compiling KDE with -fvisibility=hidden.
> They say this improve load times considerably. Has this flag other nasty
> consequences?

It changes the API of all the DSOs.  Programs might simple stop working
since functions are no longer exported from DSOs.  One cannot simply add
this flag.  All functions in a DSO which have ever been used by any
program must be exported.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050211/7fc48ea3/attachment.sig>


More information about the fedora-devel-list mailing list