From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 83DD7820D3 for ; Mon, 12 Dec 2016 15:30:00 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 12 Dec 2016 15:30:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,338,1477983600"; d="scan'208";a="911466767" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga003.jf.intel.com with ESMTP; 12 Dec 2016 15:30:00 -0800 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.156]) by ORSMSX106.amr.corp.intel.com ([169.254.1.107]) with mapi id 14.03.0248.002; Mon, 12 Dec 2016 15:29:59 -0800 From: "Richardson, Brian" To: "Shragai, Yaron" , "edk2-devel@lists.01.org" Thread-Topic: build failure trying to build gcc cross-compiler Thread-Index: AdJUuBXg+TiB+4IaT7O3jz6bcx0crgAE+qigAAAfT5AAAJtuQA== Date: Mon, 12 Dec 2016 23:29:59 +0000 Message-ID: <80AC2BAA3152784F98F581129E5CF5AF664EDF59@ORSMSX114.amr.corp.intel.com> References: <6C71D887621F9645B5F35F45F555909CEE0715@mbx2.draper.com> <80AC2BAA3152784F98F581129E5CF5AF664EDED2@ORSMSX114.amr.corp.intel.com> <6C71D887621F9645B5F35F45F555909CEE0750@mbx2.draper.com> In-Reply-To: <6C71D887621F9645B5F35F45F555909CEE0750@mbx2.draper.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzIzODkyYTYtZDhjYy00NzE3LTgxZTItZmZkMGZlZWMxZDliIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlY2eDdjNWNNOGxVOUoyU3hsOGoydlltNEp0RnZldUlcL0t4Q1QwQ2hUbmpBPSJ9 x-originating-ip: [10.22.254.139] MIME-Version: 1.0 Subject: Re: 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 23:30:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Actually, you should have ended up here ... https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions=20 The Ubuntu instructions link to 'Common instructions for Linux' (not UNIX).= I will make some wiki edits to clarify this. Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian.richardson@intel.com -- @intel_Brian (Twitter & WeChat) https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian= -richardson=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Shra= gai, Yaron Sent: Monday, December 12, 2016 6:10 PM To: edk2-devel@lists.01.org Subject: Re: [edk2] build failure trying to build gcc cross-compiler Thanks. Note that the instructions at that link - differentiated by flavor= of Linux - all end with a link to the instructions that I referenced ("The= remaining instructions are common for most UNIX-like systems"). I did fol= low the special Ubuntu notes on the page you referenced before going on to = the page I referenced. Thanks, Yaron -----Original Message----- From: Richardson, Brian [mailto:brian.richardson@intel.com] Sent: Monday, December 12, 2016 6:05 PM To: Shragai, Yaron ; edk2-devel@lists.01.org Subject: RE: build failure trying to build gcc cross-compiler The instructions you referenced are intended for non-Linux UNIX systems. Pl= ease try these instructions for Ubuntu LTS ... https://github.com/tianocore/tianocore.github.io/wiki/Using-EDK-II-with-Nat= ive-GCC I have recently updated these instructions for GCC5 on Ubuntu 16.04 LTS. Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian= .richardson@intel.com -- @intel_Brian (Twitter & WeChat) https://software.i= ntel.com/en-us/meet-the-developers/evangelists/team/brian-richardson -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Shra= gai, Yaron Sent: Monday, December 12, 2016 3:55 PM To: edk2-devel@lists.01.org Subject: [edk2] build failure trying to build gcc cross-compiler 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 [bui= ld] ... [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. ________________________________ _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel ________________________________ 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 = replying to this email and immediately destroy all copies of this email. ________________________________ _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel