http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59068
Bug ID: 59068 Summary: libsanitizer doesn't build on x86_64-unknown-linux-gnu with Linux 2.6.18 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: fxcoudert at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Bootstrapping gcc on my x86_64-unknown-linux-gnu fails with: > ../../../../trunk/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:25:30: > fatal error: linux/perf_event.h: No such file or directory I'm using trunk binutils (to avoid PR59067), and running Linux 2.6.18, with kernel headers installed. Are there stricter requirements on the linux version in GCC? Where is it documented?