[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



On 28.02.2011 14:32, Petr Salinger wrote:
> 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"

applied, however this reverts somehow the change in the kfreebsd-gnu patch.

  Matthias



Reply to: