[PATCH] i386: Replace internal_function attribute for __mcount_internal

Florian Weimer fweimer@redhat.com
Mon Aug 14 16:35:00 GMT 2017


I compiled glibc on i386 with internal_function restored, with a special
GCC which encodes the regparm attribute value in the symbol name
(similar to what Windows does).  This means that mismatches between
definition and use result in linker errors.

This rediscovered the NSS mismatch already fixed, and another internal
mismatch related to mcount.  This one is harmless; it's merely an
internal inconsistency introduced by the internal_function removal.

After adjusting the Versions files to export the mangled names for
GLIBC_PRIVATE functions, all libraries link again and the public ABI
checks out, so I'm reasonably confident that we now have a consistent
build again.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcount.patch
Type: text/x-patch
Size: 1314 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170814/ec31a286/attachment.bin>


More information about the Libc-alpha mailing list