This is the mail archive of the gcc-patches@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] |
Hello, Attempts to bootstrap on our powerpc-linux hosts fail on libsanitizer with symptoms like: In file included from ../../../../src/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:29:0: /usr/include/asm/posix_types.h:72:51: error: '__kernel_fd_set' has not been declared static __inline__ void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp) /usr/include/asm/posix_types.h: In function 'void __FD_SET(long unsigned int, int*)': /usr/include/asm/posix_types.h:74:28: error: '__NFDBITS' was not declared in this scope unsigned long _tmp = fd / __NFDBITS; ... The attach patch fixes this, and bootstrap+regtests fine on x86_64-linux. OK to commit ? Thanks in advance, With Kind Regards, Olivier 2016-04-29 Olivier Hainque <hainque@adacore.com> libsanitizer/ * sanitizer_common/sanitizer_platform_limits_linux.cc: #include <linux/posix_types.h> instead of asm/posix_types.h.
Attachment:
libsan-linux.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |