http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56128
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-01-28 CC| |aoliva at gcc dot gnu.org, | |bonzini at gnu dot org, | |jakub at gcc dot gnu.org, | |kcc at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-28 13:06:40 UTC --- I think we should both avoid linux/futex.h includes (both in libsanitizer and testsuite/g++.dg/asan/, both inherited from upstream), either by doing a configure test for it and only including it if it works properly, or just do what libgomp or libitm do, don't include <linux/futex.h> and instead define FUTEX_{WAIT,WAKE} directly, and also have some --disable-libsanitizer configury option, CCing some build maintainers for that on where and how should that be done.