This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/71445] libsanitizer build failure on aarch64-linux-gnu with recent glibc
- From: "adhemerval.zanella at linaro dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Jun 2016 14:25:05 +0000
- Subject: [Bug sanitizer/71445] libsanitizer build failure on aarch64-linux-gnu with recent glibc
- Auto-submitted: auto-generated
- References: <bug-71445-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71445
--- Comment #8 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Indeed I did not take in consideration the versioned issue with interposed
wrapper mainly because the idea of the patch was to fix the static compile
asserts against newer glibc. I see the runtime issue as separated issue.
However regarding the kernel interface, kernel accepts 64-bit msg_iovlen,
msg_controllen and cmsg_len; so it is a matter if libsanitizer also want to
enforce the POSIX compliance in the syscalls for Linux. One solution is as
Jakub suggested is limit the check to 32-bits values, another might be to
remove the compiler asserts and use the kernel interface instead of defined
POSIX one. I am not sure which is better option.