[PATCH] fix GCC 4.9 libsanitizer build with old glibc
Sandra Loosemore
sandra at codesourcery.com
Thu May 1 07:42:46 PDT 2014
As reported in GCC PR 61021....
We build a native i686-pc-linux-gnu toolchain against a relatively
ancient sysroot (glibc 2.4) so that the resulting binaries will work on
a variety of older GNU/Linux distros. GCC 4.9 is now failing to build
this configuration due to references to undefined symbols
PTRACE_GETSIGINFO and PTRACE_SETSIGINFO in libsanitizer. The attached
patch is sufficient to get it to at least build again, and it's
consistent with the way PTRACE_GETREGSET and PTRACE_SETREGSET are being
handled.
If this is OK, can somebody please check it in, so the changes will
eventually propagate back to GCC?
-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsanitizer.log
Type: text/x-log
Size: 262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140501/bd16ab3e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsanitizer.patch
Type: text/x-patch
Size: 871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140501/bd16ab3e/attachment-0001.bin>
More information about the llvm-commits
mailing list