[PATCH] Avoid .symver on common symbols [BZ #21666]
H.J. Lu
hjl.tools@gmail.com
Wed Jul 12 17:10:00 GMT 2017
On Wed, Jul 12, 2017 at 9:56 AM, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> On 23/06/17 22:13, Florian Weimer wrote:
>> On 06/23/2017 06:26 PM, H.J. Lu wrote:
>>
>>>> Does this result in a visible difference for applications? If yes,
>>>> please file a bug for this and reference it in the ChangeLog and commit
>>>> message.
>>>
>>> It will be very hard to tell since these symbols were exported from libc.so
>>> by accident and we only keep them in libc.so for backward binary compatibility.
>>> Application can no longer reference them from libc.so.
>>
>> Ah, it's the old <regexp.h> interface, and the symbols were exported
>> deliberately. We apparently do not have any tests for it.
>>
>>> Here is the updated patch. OK for master?
>>
>> Yes, please. Thanks.
>>
>
> i think this should be ok for backporting too
> since without it old releases cannot be built
> with new binutils.
>
I have ported it to hjl/pr21120/2.25 branch. I also backported 2 patches for
GCC 7. See:
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/hjl/pr21120/2.25
--
H.J.
More information about the Libc-alpha
mailing list