From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by sourceware.org (Postfix) with ESMTPS id 20F8F3858D20 for ; Wed, 15 May 2024 17:08:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 20F8F3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zedat.fu-berlin.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 20F8F3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=130.133.4.66 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715792940; cv=none; b=s1tWDmyYG8v8ATPNyCGTequ5xulugUVE/frAI+gmgfXtwjRotML9VzN9Yr2X0OsjTvWNc9opZVNRap04KXVTREtvCSFD4hsfUas9sZdIw1c5tDLO7rjdIXsMleBfeCH23wyqF6vDcMo9pGVhauY/uewWyaQxyzULlePd8Tj80lY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715792940; c=relaxed/simple; bh=noyD5xbDbmhJLyuH9s4pTkSYG4cBvOFrS210x3iS+AA=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=HCEfQwCoCK7gtrXdlvFk07IB6uwiu3nl2LafPS3O+rPWhIDr51VyFfiecatDMdn1WMsVPdxQoVrVCiu7Y+BYEaLXXVyBEHbvthTDV4a5dLxevJIUFvhc9pBSzlQRj5vJbSoYjaqrFe7nT8b0AGyExTuYZhIJVObyp6sBcQuJKck= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fu-berlin.de; s=fub01; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=E6EnmdbhMTIB8bvfDIa3xH/AyN7xJLEFvIjDoW2Zqj0=; t=1715792930; x=1716397730; b=Nt47W5weQit/uak0Xc5EB14h0KZJQjwM1SoK5Ze9Dm0m5mcvkaSbXSxFQVrv4jLpRdRW720Ww42 Q1TdNSzm/wxgbCpDvTw3HPrWWukItBRNJDWCOggY30qd1BTN9NGqYvru+6DezX3Vil8ePLS95ZXGZ 0m8d61IabPS1SzFhz/9rll8olkowQcGo+z86C88hPWbsowGXVc/YYha9JO+ZY/D8itvoZqBZpO/8A ypR5nv2EKuBQkA2WRS1G9l0grpQnLxgpp1SFAsFvEQ5c0V/gFGpOle1j4U+ethEsna7jTpKvpZSAW DeRlKc54bhifYIIt9LkCjP/YTQx+QnRW59Hg==; Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.97) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1s7I7U-00000002BBX-1UBD; Wed, 15 May 2024 19:08:48 +0200 Received: from p5b13a15c.dip0.t-ipconnect.de ([91.19.161.92] helo=[192.168.178.20]) by inpost2.zedat.fu-berlin.de (Exim 4.97) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1s7I7U-000000042Uw-0RP3; Wed, 15 May 2024 19:08:48 +0200 Message-ID: <6009464ec0602cbf9e0262d955020438beeda18a.camel@physik.fu-berlin.de> Subject: Python requires 32-bit alignment now - was: Re: Tuple and changes for m68k with -malign-int From: John Paul Adrian Glaubitz To: James Le Cuirot Cc: libc-help@sourceware.org, debian-68k , linux-m68k Date: Wed, 15 May 2024 19:08:47 +0200 In-Reply-To: <10cbcb8a65639f88e7eeb503fd02df172bc46a07.camel@physik.fu-berlin.de> References: <10cbcb8a65639f88e7eeb503fd02df172bc46a07.camel@physik.fu-berlin.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.1 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.161.92 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, On Sat, 2023-08-26 at 12:51 +0200, John Paul Adrian Glaubitz wrote: > > The Debian m68k maintainers proposed building their packages with -mali= gn-int > > last year, aligning to 32-bit instead of 16-bit, which improves compati= bility > > with some projects and should give better performance on 68020+, at the= cost > > of slightly increased memory usage. The mold linker is at least one pro= ject > > that has been shown to work after making this change where it previousl= y > > didn't. >=20 > Not only mold but also most notably the following projects: >=20 > - LLVM > - Firebird Database > - OpenJDK > - Various Qt packages We can now add CPython to this list as 3.13 requires 32-bit alignment [1]: In file included from ../Include/internal/pycore_backoff.h:12, from ../Include/internal/pycore_code.h:474, from ../Include/internal/pycore_interp.h:16, from ../Include/internal/pycore_runtime.h:17, from ../Include/internal/pycore_pystate.h:12, from ../Include/internal/pycore_critical_section.h:9, from ../Python/critical_section.c:4: ../Python/critical_section.c:6:1: error: static assertion failed: "critical= section must be aligned to at least 4 bytes" 6 | static_assert(_Alignof(_PyCriticalSection) >=3D 4, | ^~~~~~~~~~~~~ We should really make the switch now. It's certainly not getting better. Adrian > [1] https://buildd.debian.org/status/fetch.php?pkg=3Dpython3.13&arch=3Dm6= 8k&ver=3D3.13.0%7Eb1-2&stamp=3D1715773703&raw=3D0 --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913