[Opendnssec-develop] Re: [OpenDNSSEC] #91: Extra symbols in libsofthsm
OpenDNSSEC
owner-dnssec-trac at kirei.se
Thu Feb 4 13:09:10 UTC 2010
#91: Extra symbols in libsofthsm
------------------------------------------+---------------------------------
Reporter: Ondřej Surý <ondrej@…> | Owner: rb
Type: defect | Status: new
Priority: minor | Component: SoftHSM
Version: trunk | Keywords:
------------------------------------------+---------------------------------
Comment(by Ondřej Surý <ondrej@…>):
Yes, that would work too, but you still need 002 patch.
And it looks like this needs:
-export-symbols-regex '^(C_|_Z).*'
to keep GCC happy about RTTI. So we cannot get rid of _Z symbols.
Hah, I knew there must be some reason why I don't like C++ :)
Just a note. Another way how to hide symbols in GCC is to explicitly
define visibility: http://gcc.gnu.org/wiki/Visibility or more general
paper from Ulrich Drepper about DSO:
http://people.redhat.com/drepper/dsohowto.pdf
Ondrej
--
Ticket URL: <http://trac.opendnssec.org/ticket/91#comment:5>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC
More information about the Opendnssec-develop
mailing list