From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 89F7D1581CA for ; Thu, 12 Jun 2025 19:20:09 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 75876342390 for ; Thu, 12 Jun 2025 19:20:09 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1F8C81104DC; Thu, 12 Jun 2025 19:20:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 0CD761104DC for ; Thu, 12 Jun 2025 19:20:08 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 366ED3422D2 for ; Thu, 12 Jun 2025 19:20:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96BB22356 for ; Thu, 12 Jun 2025 19:20:05 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1749755983.dc98ced8ef0ff5784b8fe79b031c959526156fd1.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: dc98ced8ef0ff5784b8fe79b031c959526156fd1 X-VCS-Branch: master Date: Thu, 12 Jun 2025 19:20:05 +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: 21139c8f-73fb-404c-9540-7a4a3985c57c X-Archives-Hash: 6d298c3d08e06308826f2fefaae16d9b commit: dc98ced8ef0ff5784b8fe79b031c959526156fd1 Author: Andreas K. Hüttel gentoo org> AuthorDate: Thu Jun 12 19:18:20 2025 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Thu Jun 12 19:19:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc98ced8 toolchain.eclass: Add temporary solution for m68k -malign-int profiles (evil integers!) Signed-off-by: Andreas K. Hüttel gentoo.org> eclass/toolchain.eclass | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 418ca888f14b..12a1ec24132b 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -772,6 +772,19 @@ do_gcc_gentoo_patches() { eapply "${WORKDIR}"/musl/{,nocross/}*.patch ${shopt_save} fi + + # + # THIS IS A TEMPORARY SOLUTION AND SHOULD BE REPLACED BY A PROPER FIX. + # Adding it so we can already build stages for further testing. -dilfridge + # + if [[ ${CTARGET} == m68*-aligned-* ]]; then + einfo "Hard-wiring m68k -malign-int switch into gcc" + echo '#define DRIVER_SELF_SPECS "-malign-int"' >> "${S}/gcc/config/m68k/m68k.h" || die + fi + # + # END TEMPORARY SOLUTION + # + fi }