[PATCH] fix GCC 4.9 libsanitizer build with old glibc
kcc at google.com
Tue May 6 00:44:54 PDT 2014
On Thu, May 1, 2014 at 6:42 PM, Sandra Loosemore <sandra at codesourcery.com>wrote:
> 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?
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits