From: Olaf Hering <olaf@aepfle.de>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: ovmf fails to build in stagin-4.6
Date: Mon, 26 Oct 2015 12:13:40 +0100 [thread overview]
Message-ID: <20151026111340.GA25113@aepfle.de> (raw)
In-Reply-To: <20151026101355.GP5060@zion.uk.xensource.com>
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
Olaf
next prev parent reply other threads:[~2015-10-26 11:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 9:43 ovmf fails to build in stagin-4.6 Olaf Hering
2015-10-26 10:03 ` Wei Liu
2015-10-26 10:11 ` Olaf Hering
2015-10-26 10:13 ` Wei Liu
2015-10-26 11:13 ` Olaf Hering [this message]
2015-10-26 12:04 ` Wei Liu
2015-10-27 7:12 ` Olaf Hering
2015-10-27 9:01 ` Olaf Hering
2015-10-27 10:39 ` Wei Liu
2015-10-27 13:58 ` Olaf Hering
2015-10-27 14:03 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151026111340.GA25113@aepfle.de \
--to=olaf@aepfle.de \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).