From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8720158089 for ; Mon, 2 Oct 2023 15:05:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B9502BC02E; Mon, 2 Oct 2023 15:05:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 146762BC02E for ; Mon, 2 Oct 2023 15:05:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5322E335C2E for ; Mon, 2 Oct 2023 15:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF9D5930 for ; Mon, 2 Oct 2023 15:05:49 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1696259141.e974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/powerpc/ppc64/64le/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/arch/powerpc/ppc64/64le/make.defaults X-VCS-Directories: profiles/arch/powerpc/ppc64/64le/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c X-VCS-Branch: master Date: Mon, 2 Oct 2023 15:05:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d429192-2865-4e58-9e4c-26319ecda789 X-Archives-Hash: 41de16436d3066e8f5a12c83b85cc86a commit: e974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c Author: Sam James gentoo org> AuthorDate: Mon Oct 2 15:04:21 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 2 15:05:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e974ac78 profiles/arch/powerpc/ppc64/64le: set LDFLAGS_ppc64 A recent change to toolchain.eclass (bb2d045c02a6ca647ef3280f4987cbc0d14e5a7e) starts to use LDFLAGS_${ABI}. It turns out in the 64le profiles, we weren't overridding LDLFLAGS_ppc64 so we were picking up the big-endian version (elf64ppc). Fix that - which is in line with what we do for CFLAGS & CHOST in that file anyway. Closes: https://bugs.gentoo.org/915057 Signed-off-by: Sam James gentoo.org> profiles/arch/powerpc/ppc64/64le/make.defaults | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profiles/arch/powerpc/ppc64/64le/make.defaults b/profiles/arch/powerpc/ppc64/64le/make.defaults index 7a7e3bdc53a1..7d877f4814d9 100644 --- a/profiles/arch/powerpc/ppc64/64le/make.defaults +++ b/profiles/arch/powerpc/ppc64/64le/make.defaults @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 CHOST="powerpc64le-unknown-linux-gnu" @@ -9,3 +9,6 @@ FCFLAGS="${CFLAGS}" CHOST_ppc64="powerpc64le-unknown-linux-gnu" CHOST_ppc="powerpcle-unknown-linux-gnu" +LDFLAGS_ppc64="-m elf64lppc" +# TODO: elf32lppc or elf32lppclinux? +#LDFLAGS_ppc="-m elf32lppc"