Bug#615826: gcc-4.6: FTBFS on kfreebsd-*: os_dep.c:20:30: fatal error: linux/version.h: No such file or directory
The failure on kfreebsd-amd64 seems be due to incomplete config.gcc
after recent cleanup.
The config.gcc for kfreebsd-i386 does not have this problem,
but the build log is not shown on buildd.d.o.
Petr
--- src/gcc/config.gcc
+++ src/gcc/config.gcc
@@ -1293,7 +1293,7 @@
case ${target} in
x86_64-*-linux*)
default_gnu_indirect_function=glibc-2011 ;;
- x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} i386/kfreebsd-gnu.h" ;;
+ x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu.h" ;;
x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;;
esac
tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules"
Reply to: