From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.70.121; helo=nam04-sn1-obe.outbound.protection.outlook.com; envelope-from=christopher.co@microsoft.com; receiver=edk2-devel@lists.01.org Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700121.outbound.protection.outlook.com [40.107.70.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C6B7B203369F9 for ; Mon, 25 Jun 2018 12:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sohkt9N3rzunQts10Vy6fH4LlWZgdrRVmExFCFeyHUc=; b=VN4h1fnXH4j8cWvrec1ssiRplM6+YaxroANVM9MT/aevR3FdiI0NBXPzh8Qq+PqyJrnTEJ3nVuk4TPeJuMwq3XP35p937MWuoAmT3EH5fppNzzaXa+iUTeVhWs10mHjtQW4gslyEmnXYoHuwQXeDjf9+gBZ/rDX6tUBiC8qq11o= Received: from DM5PR2101MB1128.namprd21.prod.outlook.com (52.132.133.20) by DM5PR2101MB0871.namprd21.prod.outlook.com (10.167.110.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.2; Mon, 25 Jun 2018 19:50:52 +0000 Received: from DM5PR2101MB1128.namprd21.prod.outlook.com ([fe80::28cb:9380:49e8:e0d0]) by DM5PR2101MB1128.namprd21.prod.outlook.com ([fe80::28cb:9380:49e8:e0d0%2]) with mapi id 15.20.0930.005; Mon, 25 Jun 2018 19:50:52 +0000 From: Chris Co To: Leif Lindholm CC: Ard Biesheuvel , "edk2-devel@lists.01.org" , Charles Garcia-Tobin Thread-Topic: [edk2] [PATCH v2 1/1] BaseTools/tools_def: Add GCC49xASL Toolchain support Thread-Index: AQHUCo025Yvcza0FRU+cJ4rJFggoQqRwNGbQgABkNoCAAAuJAIAAnsHQgAAYRwCAAAl7oA== Date: Mon, 25 Jun 2018 19:50:52 +0000 Message-ID: References: <20180623005740.43200-1-christopher.co@microsoft.com> <20180623005740.43200-2-christopher.co@microsoft.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E29D4B5@SHSMSX104.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E29D7EF@SHSMSX104.ccr.corp.intel.com> <20180625191012.vx7ntwkdmjiaspol@bivouac.eciton.net> In-Reply-To: <20180625191012.vx7ntwkdmjiaspol@bivouac.eciton.net> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=chrco@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-06-25T19:50:51.0356618Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General x-originating-ip: [2001:4898:80e8:1:455d:604e:fe8f:d2f8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0871; 7:U3DDmOW1ulzu6IR6Kbrh5po7MEEt3LJcRgdGYjxVRNvycdqBDc6c0PZh0oemqn4UE3SFUHkQ/o2VjAHo+KykEyHtUKZX2J0j4jjZSmh6A7QOa83JuJYBSelFrThIeCyLE2i6K/AS27zg4+pD8db3wS2IiULJzGKsLCVwYXPdO7DtMUoY6aDEdMCreO8IqE1ZYaZPAwGMAEXzBCKqMEVMub4+mdYHjm1r98eFwvA2t3X+Z7yYIihDN8th5+if/6DY x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 0c080287-b87b-4abd-4a02-08d5dad4f583 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(48565401081)(2017052603328)(7193020); SRVR:DM5PR2101MB0871; x-ms-traffictypediagnostic: DM5PR2101MB0871: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(180628864354917)(89211679590171)(189930954265078)(162533806227266)(219752817060721)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(2018427008)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DM5PR2101MB0871; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0871; x-forefront-prvs: 0714841678 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(396003)(366004)(136003)(39860400002)(189003)(13464003)(199004)(478600001)(6116002)(25786009)(305945005)(7736002)(7696005)(5660300001)(74316002)(6306002)(102836004)(86612001)(575784001)(86362001)(76176011)(5250100002)(6506007)(2900100001)(8936002)(81166006)(6916009)(81156014)(8676002)(93886005)(105586002)(8558605004)(22452003)(33656002)(53546011)(2906002)(106356001)(72206003)(476003)(4326008)(99286004)(10290500003)(8990500004)(446003)(10090500001)(11346002)(6246003)(97736004)(54906003)(46003)(53936002)(486006)(229853002)(186003)(316002)(68736007)(966005)(55016002)(9686003)(6436002)(6346003)(256004)(14454004); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0871; H:DM5PR2101MB1128.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christopher.Co@microsoft.com; x-microsoft-antispam-message-info: y6QMSY/Rj0lIdfH4wvCzIypvdgsnBK4seNfd//OPB+rlW4goMv46IxIl/DfBtmxeb3Yvltvya8uIQpVGwifHmolvVJpENFjUaJUm3EvZP5rWMOK/AU1ozGSHFiPfGti/MRNJhCdyB3e2cN/iY0pKZnGFlGPYAutSlRgF0pucXbe5jYYDxVu2nrVqTj1EOoj4WgXN6HQxwVzXwjJXORne0v57Mu6PYxLmIS7fsnhD8qHBhuhXZCKjDBa6fQa0qKYUf5BbbTm5clmjUMhIz1fsNO17HhLK1aRs8CuQR47nTdb9Gmch0nP/TbHR8W8Zc+GUMsgdNMj4Xi29GWxDksgaoBC5wjk85spngKdxyf9vspY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c080287-b87b-4abd-4a02-08d5dad4f583 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2018 19:50:52.9366 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0871 Subject: Re: [PATCH v2 1/1] BaseTools/tools_def: Add GCC49xASL Toolchain support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 19:50:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Leif Lindholm > Sent: Monday, June 25, 2018 12:10 PM > To: Chris Co > Cc: Ard Biesheuvel ; edk2-devel@lists.01.org; > Charles Garcia-Tobin > Subject: Re: [edk2] [PATCH v2 1/1] BaseTools/tools_def: Add GCC49xASL > Toolchain support >=20 > On Mon, Jun 25, 2018 at 06:21:27PM +0000, Chris Co wrote: > > > >-----Original Message----- > > > >From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > > > >Sent: Monday, June 25, 2018 3:34 PM > > > >To: Gao, Liming > > > >Cc: Chris Co ; > > > >edk2-devel@lists.01.org; Leif Lindholm ; > > > >Charles Garcia-Tobin > > > > > > > >Subject: Re: [edk2] [PATCH v2 1/1] BaseTools/tools_def: Add > > > >GCC49xASL Toolchain support > > > > > > > >(+ Charles) > > > > > > > >On 25 June 2018 at 03:38, Gao, Liming wrote: > > > >> Chris: > > > >> GCC 4.9 targeting arm-none-eabi. This GCC4.9 should run in > > > >> Windows > > > OS. > > > >So, could you give some info where windows GCC49 is from. > > > >> > > > > We get Windows GCC49 from linaro: > > > https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Frelea > > > ses.linaro.org%2Farchive%2F14.09%2Fcomponents%2Ftoolchain%2Fbinaries > %2 > > Fgcc-linaro-arm-none-eabi-4.9- > 2014.09_win32.zip&data=3D02%7C01%7CChr > > > istopher.Co%40microsoft.com%7Ca9d03e6d31b549abfc2808d5dacf49f1%7C7 > 2f98 > > > 8bf86f141af91ab2d7cd011db47%7C1%7C0%7C636655506193987833&sda > ta=3DZCa > > > 5y37luGBu2wG%2FUWUG2ZQ4Npts0JlXqS1AAZjgbZE%3D&reserved=3D0 > > Make comes from MinGW > > > > > > > > > >OK, so first of all, could you elaborate on why we need a different > > > >ASL compiler? We have spent the past 5 years in conference calls > > > >and meeting rooms to standardize ACPI on ARM, so I am rather > > > >disappointed that we have this discrepancy. > > > > > > > >Then, could you explain why you chose GCC49? We have GCC5 now as > > > >well, which enables LTO and generally results in smaller code. > > > >Also, is there any way we could parameterize the existing GCCx > > > >toolchains to allow a different ASL compiler to be selected? > > > > > > > > We are using GCC49 because this was the last GCC build for Windows as > > exe we could find. We use these tools to build using GCC on Windows: > > > https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Frelea > > > ses.linaro.org%2Farchive%2F14.09%2Fcomponents%2Ftoolchain%2Fbinaries > %2 > > Fgcc-linaro-arm-none-eabi-4.9- > 2014.09_win32.zip&data=3D02%7C01%7CChr > > > istopher.Co%40microsoft.com%7Ca9d03e6d31b549abfc2808d5dacf49f1%7C7 > 2f98 > > > 8bf86f141af91ab2d7cd011db47%7C1%7C0%7C636655506193987833&sda > ta=3DZCa > > > 5y37luGBu2wG%2FUWUG2ZQ4Npts0JlXqS1AAZjgbZE%3D&reserved=3D0 > > I would love to use GCC5 if toolchain exes are readily available for > Windows. >=20 > We can do better than that: > https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Freleas > es.linaro.org%2Fcomponents%2Ftoolchain%2Fbinaries%2F7.3- > 2018.05%2Farm-eabi%2Fgcc-linaro-7.3.1-2018.05-i686-mingw32_arm- > eabi.tar.xz&data=3D02%7C01%7CChristopher.Co%40microsoft.com%7Ca9 > d03e6d31b549abfc2808d5dacf49f1%7C72f988bf86f141af91ab2d7cd011db47% > 7C1%7C0%7C636655506193987833&sdata=3DXzo1HRrUAqyovKFyWCVXDa > nTwaA7hKBhkFo14UzslGc%3D&reserved=3D0 > Should build with GCC5 profile. >=20 Thanks Leif for the pointer! There was some trepidation on using MinGW in = the past, though admittedly I wasn't around when those decisions were made = and it always confused me... Anyways, I will try out the GCC7.3 toolchain w= ith the GCC5 profile. > / > Leif