[Bug sanitizer/71445] libsanitizer build failure on aarch64-linux-gnu with recent glibc

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 09:41:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71445

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That change looks wrong to me though.
If glibc has added symbol versioning and changed ABI for existing symbols that
sanitizer libraries wrap, then I'm afraid either we need to start symbol
versioning libsanitizer too (and make sure to use the same symbol version glibc
uses for the various symbols in there, so e.g. on x86_64 libasan would need to
export recvmsg@GLIBC_2.2.5 and recgmsg@@GLIBC_2.24), or the wrappers need to be
changed (if at all possible), so that they provide ABI compatibility, so that
it will work well for apps linked against the pre-glibc-2.24
{recvmsg,sendmsg,recvmmsg,sendmmsg} (whatever else changed) as well as apps
linked agains the new one.  I doubt a plain change in the structure layout is
sufficient here.


More information about the Gcc-bugs mailing list