2012/4/7 Stanislav Sedov <stas_at_freebsd.org>: > On Fri, 6 Apr 2012 13:08:12 +0530 > "Jayachandran C." <c.jayachandran_at_gmail.com> mentioned: > >> On Fri, Apr 6, 2012 at 12:01 PM, Stanislav Sedov <stas_at_freebsd.org> wrote: >> > >> > On Apr 5, 2012, at 11:08 PM, Jayachandran C. wrote: >> >> >> >> >> >> The asn1 library has a export map containing 'global: *', this exports >> >> two symbols _fdata and _ftext versioned. When libkafs5 is linked, >> >> these symbols confuse the bfd code and the entries corresponding to >> >> theses (index 13, and 16) are left un-initialized. >> >> >> >> One workaround I see is to change the export 'global: *' in >> >> kerberos5/lib/libasn1 to the actual list of exported symbols. >> >> >> > >> > Thanks. What I'm also trying right now is to add a version map to the >> > libkafs -- this might help binutils to link it properly as well. If it >> > fails, we can try adding a proper one for libasn1. >> >> The libasn1 workaround is here: >> http://people.freebsd.org/~jchandra/libasn1.diff >> > > Thanks! > > My idea of adding a version map to libkafs worked as well. > Can you, please, test if it fixes the issue for you? > It seems to be a less complicated way to solve it. I would still suggest the asn1 change if we are doing a temporary fix, because: - It does not add any new symbol versioning, it just converts the 'global: *' to an explicit list of symbols. - there are other libraries lined to asn1 which may have the same issue as libkafs5 (I haven't really looked at this. The only downside I see is that libasn1 has a lot of symbols. JC.Received on Sat Apr 07 2012 - 04:10:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC