From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x244.google.com (mail-qk0-x244.google.com [IPv6:2607:f8b0:400d:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 41D5C81ED1 for ; Wed, 23 Nov 2016 17:15:32 -0800 (PST) Received: by mail-qk0-x244.google.com with SMTP id x190so2193663qkb.0 for ; Wed, 23 Nov 2016 17:15:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=410A/3Y4P6pzyi21qyqd41WadAVfrF5Ea8dFxUO4mcg=; b=hjgjuuIJQ1XVvLyEY4NxN3noebjJMUfkpLUO8XXZ/x4WicnCIWuJ3SIlqrIjSau8Ro 3nOifLjlYtFir9sJ9y0VqGHXXSDeJjPbO8iu6chdL5ciU08s6ik5wTVxGhxzKmPjMW5e x2GrhKdHVUXug1VUTcMfdrE3l7oDaGOa2NA9JV4vZDHOsZXvr7U4M8qfkYi2hpYsKUUm 3hiX3ToAhOBQHcq3uJmphJWS4IV473LRV1ls74+4dbjNyQK+eSRj/RvlYKUj8zT0MgMh Ie3rd04JZnZyDvQq8I/wPv37eczKFitroNT1HdCiHp/rrYgdgiaPaTHdEvCCElRcNrGO rojQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=410A/3Y4P6pzyi21qyqd41WadAVfrF5Ea8dFxUO4mcg=; b=ZU2uJD8XBdWEv4GVtamlcIeDOK9s/NB2FfybSPunD/lIyJQikCS0NKN8Q4Gpv4H/Bn XXzBr6TBDS6Ux4ix+o7wGLyqUozUxQYA/tbpeCiNk6EY5Aq6wI07XGitz0dqv3Iq4DI/ inhS5u6DP1HIz6t6sQ+G5GRnEmVCciPItRWz82DsXhe/v7o8YbwxlXcsbXiYvHm+dPTv RSrsSGg8ViofvsxOEXriM6Fp2fhsjnx7BQj3MiCyaRiHlNqEBxEmi+Eo5K1cgV7vTz2I BX1coozqXVQ1hO/BslXIsIov2cvU6dMPQoktilvIO2NkRzNUfo+xqI4DUTEA1a8VT5dK rWmA== X-Gm-Message-State: AKaTC01cXpnatbvFQ+hzO0R4vTXzxpdRIbPAmkJVp9z4b+ZncG6BLngii98WwemcKh5i1g== X-Received: by 10.55.100.67 with SMTP id y64mr5543334qkb.118.1479950131327; Wed, 23 Nov 2016 17:15:31 -0800 (PST) Received: from localhost.localdomain.com (209-6-196-81.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com. [209.6.196.81]) by smtp.gmail.com with ESMTPSA id 124sm17727114qki.14.2016.11.23.17.15.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Nov 2016 17:15:30 -0800 (PST) Sender: Konrad Rzeszutek From: Konrad Rzeszutek Wilk To: lersek@redhat.com, edk2-devel@ml01.01.org Cc: xen-devel@lists.xenproject.org Date: Wed, 23 Nov 2016 20:15:22 -0500 Message-Id: <20161124011523.18281-1-konrad@kernel.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <0846b3b6-ef4b-df3a-d516-28995215e1af@redhat.com> References: <0846b3b6-ef4b-df3a-d516-28995215e1af@redhat.com> Subject: PATCH v3] Compile TianoCore under Fedora Core 25 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 01:15:32 -0000 Hey! Changelog: v3: It is perfect! - Redid commit per Jordan suggestion - Redid the failure scenario per Laszlo suggestion - Redid the testing v2: - Redid it per Laszlo suggestion, added the URL to the bugzilla system - Tested it under more OSes This patch allows me to compile TianoCore under Fedora Core 25. I've also tested it (v2 and also this v3) under some more ancient distros, such as: Ubuntu 16.04.1 (GCC 5.4.0), uses GCC5 Debian 8.6 (GCC 4.9.2), uses GCC49 Fedora Core 13 (GCC 4.4.4), uses GCC44 RHEL6 (GCC 4.4.7), uses GCC44 And on earlier versions, such as RHEL5: [konrad@ol5 ovmf-dir]$ OvmfPkg/build.sh -a X64 -b RELEASE -n 4 Initializing workspace /home/konrad/ovmf-dir/BaseTools Loading previous configuration from /home/konrad/ovmf-dir/Conf/BuildEnv.sh WORKSPACE: /home/konrad/ovmf-dir EDK_TOOLS_PATH: /home/konrad/ovmf-dir/BaseTools CONF_PATH: /home/konrad/ovmf-dir/Conf OvmfPkg requires GCC4.4 or later [konrad@ol5 ovmf-dir]$ gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54) [Oddly enough the previous run (v2) - on an different RHEL5 guest - had a different issue.] Konrad Rzeszutek Wilk (1): OvmfPkg/build.sh: Make GCC5 the default toolchain, catch GCC43 and earlier OvmfPkg/build.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)