This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]