On Sat, Dec 8, 2018 at 12:09 AM Stefan Ring <stefanrin@xxxxxxxxx> wrote: > In file included from /tmp/gcc-7.3.0/libgcc/config/arm/unwind-arm.c:143:0: > /tmp/gcc-7.3.0/libgcc/unwind-arm-common.inc:30:10: fatal error: > sys/sdt.h: No such file or directory > #include <sys/sdt.h> > ^~~~~~~~~~~ > compilation terminated. > make[2]: *** [unwind-arm.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory > `/home/sr/temp/gcbuild-testcross/arm-unknown-linux-gnueabi/libgcc' > make[1]: *** [all-target-libgcc] Error 2 > make[1]: Leaving directory `/home/sr/temp/gcbuild-testcross' > make: *** [all] Error 2 It thought, I'd retry the same procedure with gcc 8.2.0 today. This target header issue is indeed gone -- the build just works. Alas, the resulting compiler does not :(. $ ~/gcc8/bin/g++ -x c++ x.c during IPA pass: inline x.c:13:1: internal compiler error: in inline_small_functions, at ipa-inline.c:1865 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. For this program: #include <stdio.h> #include <iostream> using std::cout; using std::endl; int main() { printf("hello!\n"); cout << "hello2!" << endl; return 0; }