On Thursday, December 15, 2016 12:57:16 PM CET Rahul Bedarkar wrote: > Hi Tim, > > On Wednesday 14 December 2016 08:31 PM, Tim Ruehsen wrote: > > Thanks, pushed as 'trivial patch', so no FSF Copyright Assignment needed. > > > > BTW, GnuTLS normally only exports gnutls_* stuff. > > You must have some unsupported compiler/linker combination ;-) > > GnuTLS only exports gnutls_* stuff but that happen only if it is shared > library. > > In case of static build, all symbols are visible. Since GnuTLS is static > library, which is just archive of object files, linking happens at > caller end i.e. wget, linker don't know what to (un)export. That's why > we see definition clash in static builds. Please correct me if I'm > missing something.
GnuTLS has a .map file with all symbols to export. But I am really no expert here... last time I seriously statically linked is about 15 years ago :-) And I hardly remember. Regards, Tim
signature.asc
Description: This is a digitally signed message part.