Re: There is a known problem with MIPS tinderbox.
2012/4/7 Stanislav Sedov <stas@freebsd.org>:
> On Fri, 6 Apr 2012 13:08:12 +0530
> "Jayachandran C." <c.jayachandran@gmail.com> mentioned:
>
>> On Fri, Apr 6, 2012 at 12:01 PM, Stanislav Sedov <stas@freebsd.org> wrot=
e:
>> >
>> > On Apr 5, 2012, at 11:08 PM, Jayachandran C. wrote:
>> >>
>> >>
>> >> The asn1 library has a export map containing 'global: *', this export=
s
>> >> two symbols _fdata and _ftext versioned. =A0When 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. =A0What I'm also trying right now is to add a version map to t=
he
>> > libkafs -- this might help binutils to link it properly as well. =A0If=
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, beca=
use:
- 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.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):