From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mx.groups.io with SMTP id smtpd.web11.62417.1679535037669848906 for ; Wed, 22 Mar 2023 18:30:38 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=jEWZW6FF; spf=pass (domain: bsdio.com, ip: 64.147.123.25, mailfrom: rebecca@bsdio.com) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id C1AC43200927; Wed, 22 Mar 2023 21:30:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 22 Mar 2023 21:30:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1679535035; x=1679621435; bh=u92MHyQWEeaT1p8kKGBLcdfKe9qF5v/hlqz 0QrG0XIc=; b=jEWZW6FFVlL3UD6BX2Ag3BmFAp+syDxaKvgW7Z+6qNgqhkljREs jWhklrY6kBByKGJLxXLlBlT1ihP0npnvgB6vFhDu62rhzpFCGniwp4SjpvSFhN2x GViaYS+yvUGwBlZ8lkS6CrVetBxi1iUMcOkBEbkuNBgF/Ca6+GMhbRdxUqsvAtWB N8hgvE/ZF5l1cpDak802KQ1ivNNkE+RENhDBLbPWkvRCFqWYAskiS+nCrZp0HPvN 9kx7ruFUEpsOuK07KVcd/A5K24OXRf674mtnQ1H/xVRb8GQv/NWbXQP6RCziiJwG QSDOAHVooUUyrWaRmh9L9A5sv53oyLaKuyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1679535035; x=1679621435; bh=u92MHyQWEeaT1p8kKGBLcdfKe9qF5v/hlqz 0QrG0XIc=; b=usPObtCbDSzMRxH7Ad6W2dyvpwfTTwUmSmi8iIBkzaqE/F2yRcu +a18KmurqeLD+IpeyH/KpM7nMAKYYV4QxERInC9+68NmDLf/9UNXRtlufGcnfkvK wLuqYnhpgWNPx85Jjj1fn75Ezatnz/FxrWTZCFHeWnfaWbB0i1Q/mBsOvW76WTOE zOTx/S8TmsAp3Iv6n2uAG06lYJx2DvDFuqq3DbfKV0jYSFwkjXCd+4KlmPGExbFP XY+vmAPVHzpgSFjKqRNwxh2av57R8lZ8+nj8b5q72hpRrN64rAt/sJYbIijUGRot LifUUtp37BChrFsquB62DQQHBSckyhsMDJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegfedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeegfeegveduheejgfduffefhfehleehiefghfetvdejvdelhfeukefhhfdv geehveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Mar 2023 21:30:33 -0400 (EDT) Message-ID: <5f85abe6-4a08-0f70-9efc-d671770c1201@bsdio.com> Date: Wed, 22 Mar 2023 19:30:32 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 3/9] BaseTools: Update CLANGDWARF toolchain and remove CLANG35 and CLANG38 To: Ard Biesheuvel Cc: devel@edk2.groups.io, Michael D Kinney , Liming Gao , Zhiguang Liu , Bob Feng , Yuwei Chen , Andrew Fish , Leif Lindholm , Ard Biesheuvel , Jordan Justen , Gerd Hoffmann References: <20230322013040.3322865-1-rebecca@bsdio.com> <20230322013040.3322865-4-rebecca@bsdio.com> From: "Rebecca Cran" In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/22/23 5:49 AM, Ard Biesheuvel wrote: > > The reason I added CLANG3x support for ARM in the past is to ensure > compatibility with the ARM proprietary, Clang based toolchain. At the > time, we went with GNU ld, but I would actually prefer if we could > make this work with LLD as well. Just to confirm, I'll keep lld for X64 and IA32, but I won't add -fuse-ld=lld for ARM or AARCH64 since none of the toolchain definitions currently do so. The problem with trying to use lld for aarch64 is the following error: GenFw: ERROR 3000: Invalid   WriteSections64(): /home/bcran/uefi/edk2/Build/ArmVirtQemu-AARCH64/RELEASE_CLANGDWARF/AARCH64/ArmVirtPkg/MemoryInitPei/MemoryInitPeim/DEBUG/MemoryInit.dll due to its size (> 1 MB), this module requires 4 KB section alignment. -- Rebecca Cran