From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ns.draper.com (ns.draper.com [140.102.2.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 32D43820CE for ; Mon, 12 Dec 2016 12:54:55 -0800 (PST) Received: from CAS1.draper.com (cas1.draper.com [140.102.16.163]) by ns.draper.com (PMDF V6.6 #32156) with ESMTP id <0OI3007XCBFIU0@ns.draper.com> for edk2-devel@lists.01.org; Mon, 12 Dec 2016 15:54:54 -0500 (EST) Received: from MBX2.draper.com ([169.254.1.199]) by CAS1.draper.com ([fe80::c434:4163:9a08:a5c5%12]) with mapi id 14.03.0266.001; Mon, 12 Dec 2016 15:54:54 -0500 Date: Mon, 12 Dec 2016 20:54:53 +0000 From: "Shragai, Yaron" X-Originating-IP: [140.102.16.172] To: "edk2-devel@lists.01.org" Message-id: <6C71D887621F9645B5F35F45F555909CEE0715@mbx2.draper.com> MIME-version: 1.0 Thread-Topic: build failure trying to build gcc cross-compiler Thread-Index: AdJUuBXg+TiB+4IaT7O3jz6bcx0crg== Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: build failure trying to build gcc cross-compiler 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: Mon, 12 Dec 2016 20:54:55 -0000 Content-language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I am trying to build the Tianocore source from https://github.com/tianocore= /edk2, as per the instructions here: https://github.com/tianocore/tianocore= .github.io/wiki/Common-instructions-for-Unix I am runnin on a Virtualbox VM running Ubuntu Desktop LTS. I get as far as the "Build gcc x64 UEFI cross compiler" section. The script mingw-gcc-build.py contains hardcoded references to download bin= utils and gcc. In the case of binutils, it references a version that no longer exists in t= he archive (version 2.20.51.0.5). In the case of gcc, it references version 4.3.0, on ftpmirror.gnu.org/gcc/,= which redirects to other mirror sites, many of which are blocked by my fir= ewall. I tried getting around this by downloaded the files myself, and commented o= ut the part of the script that downloads the sources (the call to sources.G= etAll() - lines 553-558). I downloaded binutils version 2.24.51.0.2, and gcc vesion 2.24.51.0.2. It appears that binutils built, but gcc is not building. Any advice? Is there an updated version of mingw-gcc-build.py? Extracting ./src/gcc-4.3.0.tar.bz2: Extracting ./src/binutils-2.24.51.0.2.tar.bz2: binutils [config] ... [done] binutils [build] ... [done] binutils [install] ... [done] binutils module is now built and installed gcc [config] ... [done] gcc [build] ... [failed!] Traceback (most recent call last): File "./mingw-gcc-build.py", line 564, in App() File "./mingw-gcc-build.py", line 562, in __init__ Builder(sources, config).Build() File "./mingw-gcc-build.py", line 426, in Build self.BuildModule('gcc') File "./mingw-gcc-build.py", line 473, in BuildModule self.RunCommand(cmd, module, 'build') File "./mingw-gcc-build.py", line 511, in RunCommand 'See output log at %s' % self.config.Relative(logFile) Exception: Failed to build gcc See output log at ./build/log.txt Thanks, Yaron Shragai yshragai@draper.com ________________________________ Notice: This email and any attachments may contain proprietary (Draper non-= public) and/or export-controlled information of Draper. If you are not the = intended recipient of this email, please immediately notify the sender by r= eplying to this email and immediately destroy all copies of this email. ________________________________