From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3D38B9417F2 for ; Tue, 5 Nov 2024 12:45:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=JQBzl7PsrIjQ1A0w8L8amvXpTV7DVpCp9xYy+kESr1M=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240830; t=1730810743; v=1; x=1731069942; b=VwWe3NyuUYrGMcZI86ye7CfMff7gWob/sypwJyEYP3tj4iRMLaVnU8q5ENcBq3qMB+TiI79q Ybp3IR1bPe4VF3+mZJ2gGbCyMpnfoo5VT/kPOQuCg8T1jhw9w1Vaspr7eyYczZv8rd9ezOLM6Co Ac4tUBpet8wC3XTNc9mZQwxr/al4OBFqUxvpMMSvaAkZgFlCeU7dCnENpdWuYtZrmAltiNC+o7V clSCvVbK4TVayaLMsS1ZTuy4P0saJHRJcqdveVBNcZ9iW/bK3gFj+/T6AeBPdaN60Zml3PTbJQh P7fKHYH9eMnT8Vd7UJEEd+1hcYcidoo+qhxNqEqqjk1HA== X-Received: by 127.0.0.2 with SMTP id WyQeYY7687511xwqVXggjMgy; Tue, 05 Nov 2024 04:45:42 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.17044.1730810741883341023 for ; Tue, 05 Nov 2024 04:45:42 -0800 X-Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-Frt3mO5BNEupDC6bFWeOWQ-1; Tue, 05 Nov 2024 07:45:37 -0500 X-MC-Unique: Frt3mO5BNEupDC6bFWeOWQ-1 X-Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 77651195609E; Tue, 5 Nov 2024 12:45:35 +0000 (UTC) X-Received: from dobby.home.kraxel.org (unknown [10.39.195.58]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 98BE319560AA; Tue, 5 Nov 2024 12:45:34 +0000 (UTC) X-Received: by dobby.home.kraxel.org (Postfix, from userid 1000) id 167D422B23A; Tue, 5 Nov 2024 13:45:32 +0100 (CET) Date: Tue, 5 Nov 2024 13:45:32 +0100 From: "Gerd Hoffmann" To: devel@edk2.groups.io, rebecca@bsdio.com Cc: Liming Gao , Bob Feng , Yuwei Chen , Andrew Fish , Leif Lindholm , Michael D Kinney Subject: Re: [edk2-devel] RFC: Updating IA32/X64 cross-compilation to work like other archs Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 05 Nov 2024 04:45:42 -0800 Resent-From: kraxel@redhat.com Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: arfSsG5aatpwh5HUnJ2rg0Hvx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=VwWe3Nyu; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Oct 17, 2024 at 08:21:54PM -0600, Rebecca Cran wrote: > Cross-compilation to platforms other than IA32 and X64 work by setting an > environment variable such as GCC_AARCH64_PREFIX that contains the path/name > of the cross-compiler without the "gcc", "objcopy" etc. suffix. > > On IA32 and X64 however, the environment variable GCC_BIN has been used > instead. With fast AArch64 and other non-x86 platforms now being available, > I'd like to propose updating IA32 and X64 to work the same as other > platforms by using e.g. GCC_IA32_PREFIX and GCC_X64_PREFIX. > > > I've attached a proposed patch: I'm attaching it here to gather feedback > before opening a PR since it does change how builds are done and I want to > check if it's something people want to proceed with. I think it'll be nice if edk2 is consistent here, using the same naming scheme for all platforms, so I'm in favor of the change. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120726): https://edk2.groups.io/g/devel/message/120726 Mute This Topic: https://groups.io/mt/109076070/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-