[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] utils: rename base64_{encode,decode}
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] [PATCH] utils: rename base64_{encode,decode} |
Date: |
Thu, 15 Dec 2016 11:44:22 +0100 |
User-agent: |
KMail/5.2.3 (Linux/4.8.0-2-amd64; KDE/5.28.0; x86_64; ; ) |
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.