From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::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 13C1481E89 for ; Tue, 22 Nov 2016 18:36:54 -0800 (PST) Received: by mail-qt0-x244.google.com with SMTP id n6so13609qtd.0 for ; Tue, 22 Nov 2016 18:36:54 -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=jeQE8uT6hNVdFcnIJ9cnpuWYRqvEZz6zP14ZtfECXEA=; b=XF6M73dhJBZyrYccKwHgO11E/hzcquU2YMlasdVmUOYvX4wMaFf4QBZ0aOan3urP2H Q2zexF4JExqyPVoLfSOmDx8MER37tJprvUdXBUO73O7MS5mP1S1JUUZlLMSs53iyM60W KvEbHG1630MlmnbYtTLy9Gb5UUEcXdt63+pkza2QBxIpDFXcNVjUVP8L1RtmlG1qtsQk PeOxlG2KQLc9IEddZjK3DuZ8NkgrXJ6/jTT8IgkY5hrJh/kMM6LFBFzv6cbGnsBcGZAn j6EQf1XtUAF6A/UriYGSIGye2XfTijL4HUvWJ7rTwMc+AKxetnjMN779xyZbmETAVj5U +wgA== 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=jeQE8uT6hNVdFcnIJ9cnpuWYRqvEZz6zP14ZtfECXEA=; b=nHEKQQxZPEs7Ot4VQj5V1bE+P3nfeXHfQQP5Q1BVw1vLbYuCjjtwxg5jKLyfBIRp8C kAP0pzgHVsJhrdx+y7riqeF0WN65Gh7nWTg/OoAafA0fYLF3T0ss5/ii6h+9vzAmTZGG kPByKBjX/XVp+kJLR/CPovxINGLxpv2Jdnjhs5/jmlPi8MebLXMksJLPv2A3nprSVYIR TRUoofkpQTbqd5R0X3pg9dKdTWBmasJP5/1u18mcDXiCREXgxkDUIoHJdJz7caE6K4fY 3udX/zujEl5SJDT5FVSWZcyP/BeP0bCtEtLSe3oxmnfCYCyzOzMdt8PFjEevpHXrvXy2 7KXg== X-Gm-Message-State: AKaTC005LyxDfofYxCwwIHqcNe2TQZHOIkmT+hlCtW/TSVkbD4Zbja2MwXDPyvwH23bF6g== X-Received: by 10.200.34.207 with SMTP id g15mr733738qta.17.1479868613130; Tue, 22 Nov 2016 18:36:53 -0800 (PST) Received: from dhcp-adc-twvpn-3-vpnpool-10-154-104-253.vpn.oracle.com.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 14sm15258473qtp.19.2016.11.22.18.36.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 18:36:52 -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: Tue, 22 Nov 2016 21:36:42 -0500 Message-Id: <20161123023643.7106-1-konrad@kernel.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <9faa1698-7471-3f47-e552-8da23c0f0195@redhat.com> References: <9faa1698-7471-3f47-e552-8da23c0f0195@redhat.com> Subject: [PATCH v2] 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: Wed, 23 Nov 2016 02:36:54 -0000 Hey! This patch allows me to compile TianoCore under Fedora Core 25. I've also tested it under some older 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 RHEL5 (GCC 4.1.2), it does not even get to the message: $ OvmfPkg/build.sh -a X64 -b RELEASE -n 4 Initializing workspace /home/konrad/ovmf-dir-remote/BaseTools Loading previous configuration from /home/konrad/ovmf-dir-remote/Conf/BuildEnv.sh WORKSPACE: /home/konrad/ovmf-dir-remote EDK_TOOLS_PATH: /home/konrad/ovmf-dir-remote/BaseTools CONF_PATH: /home/konrad/ovmf-dir-remote/Conf using prebuilt tools Running edk2 build for OvmfPkgX64 File "/home/konrad/ovmf-dir-remote/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 703 class PeImageInfo(): ^ SyntaxError: invalid syntax Please review the patch at your convience. 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(-)