Public bug reported: I tried to compile upstream gcc natively
/b/foss/gcc/configure --enable-languages=c,c++ --disable-nls --enable- bootstrap --target=x86_64-linux-gnu --build=x86_64-linux-gnu --host=x86_64-linux-gnu make It ends up with make[5]: *** [_ashrdi3.o] Error 1 In file included from /usr/include/bits/errno.h:25:0, from /usr/include/errno.h:36, from /b/foss/gcc/libgcc/../gcc/tsystem.h:94, from /b/foss/gcc/libgcc/../gcc/libgcc2.c:29: /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory compilation terminated. make[5]: *** [_ashldi3.o] Error 1 In file included from /usr/include/bits/errno.h:25:0, from /usr/include/errno.h:36, from /b/foss/gcc/libgcc/../gcc/tsystem.h:94, from /b/foss/gcc/libgcc/../gcc/libgcc2.c:29: /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory compilation terminated. ** Affects: gcc-defaults (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/825574 Title: cant compile native gcc /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/825574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs