|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] ovmf fails to build in stagin-4.6
On Mon, Oct 26, 2015 at 12:13:40PM +0100, Olaf Hering wrote:
> On Mon, Oct 26, Wei Liu wrote:
>
> > Wait, so you're using gcc-5.1.1 but OVMF is reporting gcc-4.4 (see in
> > the path of output string), there might be another problem with
> > toolchain detection then.
>
> As Linus said: detect old and known to be problematic, everything else has to
> be handled as "current". But see
> tools/firmware/ovmf-dir-remote/OvmfPkg/build.sh
>
> gcc_version=$(gcc -v 2>&1 | tail -1 | awk '{print $3}')
> case $gcc_version in
> 4.5.*)
> TARGET_TOOLS=GCC45
> ;;
> 4.6.*)
> TARGET_TOOLS=GCC46
> ;;
> 4.7.*)
> TARGET_TOOLS=GCC47
> ;;
> 4.8.*)
> TARGET_TOOLS=GCC48
> ;;
> 4.9.*|4.1[0-9].*)
> TARGET_TOOLS=GCC49
> ;;
> *)
> TARGET_TOOLS=GCC44
> ;;
> esac
I think you have a stale repository. Try deleting ovmf-dir-remote ?
I can't comment how they handle toolchain detection though.
Wei.
>
> Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |