[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.


--- src/gcc/config.gcc
+++ src/gcc/config.gcc
@@ -1293,7 +1293,7 @@
        case ${target} in
          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" ;;
        tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules"

Reply to: