Are the pthread "compatibility" copies of symbols in libc still necessary?

Florian Weimer fweimer@redhat.com
Fri Mar 16 17:40:00 GMT 2018


On 03/16/2018 06:38 PM, Carlos O'Donell wrote:

>> It does:
>>
>> “
>> A fatal error shall be triggered when no matching definition can be
>> found in the object whose name is the one referenced by the vn_name
>> element in the Elfxx_Verneed entry.
>> ”
> 

>>> My conclusion is this:
>>>
>>> * We can remove fork@GLIBC_2.2.5 from libpthread.so, the shared object doesn't
>>>     encode it as being needed and won't cause a failure per the rules that
>>>     require the referenced shared object to have the versioned symbol that was
>>>     bound at static link time.
>>
>> I already tried a while bug and failed because the system does not
>> boot anymore after that, due to the check mentioned above.  I don't
>> think the code has changed since then.
> 
> Do you know what failed? I should try this.

I got the fatal error required by the specification.

Florian



More information about the Libc-alpha mailing list