http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009
--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to John David Anglin from comment #28) > Bootstrap is also broken on fairly old arm box: > > libtool: compile: /home/dave/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc > -B/home/d > ave/gnu/gcc/objdir/./gcc -nostdinc++ > -L/home/dave/gnu/gcc/objdir/armv5tejl-unkno > wn-linux-gnueabi/libstdc++-v3/src > -L/home/dave/gnu/gcc/objdir/armv5tejl-unknown- > linux-gnueabi/libstdc++-v3/src/.libs > -L/home/dave/gnu/gcc/objdir/armv5tejl-unkno > wn-linux-gnueabi/libstdc++-v3/libsupc++/.libs > -B/home/dave/opt/gnu/gcc/gcc-4.9/a > rmv5tejl-unknown-linux-gnueabi/bin/ > -B/home/dave/opt/gnu/gcc/gcc-4.9/armv5tejl-u > nknown-linux-gnueabi/lib/ -isystem > /home/dave/opt/gnu/gcc/gcc-4.9/armv5tejl-unkn > own-linux-gnueabi/include -isystem > /home/dave/opt/gnu/gcc/gcc-4.9/armv5tejl-unkn > own-linux-gnueabi/sys-include -D_GNU_SOURCE -D_DEBUG > -D__STDC_CONSTANT_MACROS -D > __STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. > -I../../../../gcc/libsanitizer/sa > nitizer_common -I ../../../../gcc/libsanitizer/include -Wall -W > -Wno-unused-para > meter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin > -fno-exception > s -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden > -Wno-variad > ic-macros -I../../libstdc++-v3/include > -I../../libstdc++-v3/include/armv5tejl-unknown-linux-gnueabi > -I../../../../gcc/libsanitizer/../libstdc++-v3/libsupc++ -g -O2 > -D_GNU_SOURCE -MT sanitizer_platform_limits_linux.lo -MD -MP -MF > .deps/sanitizer_platform_limits_linux.Tpo -c > ../../../../gcc/libsanitizer/sanitizer_common/ > sanitizer_platform_limits_linux.cc -fPIC -DPIC -o > .libs/sanitizer_platform_limits_linux.o > ../../../../gcc/libsanitizer/sanitizer_common/ > sanitizer_platform_limits_linux.cc:58:30: fatal error: linux/perf_event.h: > No such file or directory > #include <linux/perf_event.h> For that a patch has been posted, just not reviewed: http://gcc.gnu.org/ml/gcc-patches/2013-12/msg00963.html As for hppa, the change to enable it isn't in upstream GCC, so you as a maintainer need to make it working first and if changes are needed for compiler-rt maintained code, make sure it is accepted there first too.