From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 545391A3167 for ; Sat, 7 Jun 2025 15:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=130.133.4.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749309829; cv=none; b=m73Ge2mgyJc35l+lL2yDJxIR9LxckotnGN+GZKQ14mGdQwQGUXtjzOq5sVykYoxgGiIRm6hXkNox3uvVwkLYueX7xxzIQ7z55/IgfxH8+q5Fij1OZ6ZpRJv3+x4Wui2eUV2bZggd459Z1gTWpUy3jLDNYI1O7+slKxDjf/oBidA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749309829; c=relaxed/simple; bh=GLCl6Lf7M7e1bXc06thblwl3i3gqC8DODWNplnRnS5U=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=hFRtqOT1SVVcT6P/KKP11HlFAiOVVhjQl35ILsrQ3kFrmCz+dA6wPthP7c7w1OwVk8Lfi74AZZUN+oFB68YOkzvAoegxjuMUxdNP1a2H0pwbU6hrjSK+B9o+RN2JfICBl0WmnkxSy8lMq0dNY/+jMe7r1IVqJ7LA2fSnOnoG6WI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=physik.fu-berlin.de; spf=pass smtp.mailfrom=zedat.fu-berlin.de; dkim=pass (2048-bit key) header.d=fu-berlin.de header.i=@fu-berlin.de header.b=AOyWYpio; arc=none smtp.client-ip=130.133.4.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zedat.fu-berlin.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fu-berlin.de header.i=@fu-berlin.de header.b="AOyWYpio" 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=nhbHOZjoiwm/VfzEGkHSO1ul61TmT7RM03hGlQXm2tM=; t=1749309827; x=1749914627; b=AOyWYpio2FbTcE/VZUNskwwZhlbvPz/Cne637D8riwygTJlTnHEIdonesf58CAWlnznIfwlUHET iU/fkBWI3/Zg1yvdbfRZNrDiCKpWMqDV0fXkOu9IUqcRWWed0b8bUOxgbByspi0m42bMXLL2Fm3Xp diPPT935c4AiqXKVwH8lwU7RQxQHvXdIxTgXscBgHFJ62hMYRYmO/9k1jxpKaQom3XXcOhSLb/yAU rrl/VIWFn2/aQQsHIAXllGuXUlHlqtJq0TW/WF0jm6UItGD28gQ2MzXYlkGPi92G9+4uORmzkKpk5 y773lMFbTqIvSFqoUVPtWexkQbwB0lnd4URg==; Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.98) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1uNvOb-00000002EMx-2ueY; Sat, 07 Jun 2025 17:23:45 +0200 Received: from p5b13afe4.dip0.t-ipconnect.de ([91.19.175.228] helo=[192.168.178.61]) by inpost2.zedat.fu-berlin.de (Exim 4.98) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1uNvOb-00000003eSS-1v5e; Sat, 07 Jun 2025 17:23:45 +0200 Message-ID: <2eb555796aaa51267c0d2c88ad890b72f6684b94.camel@physik.fu-berlin.de> Subject: Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k From: John Paul Adrian Glaubitz To: Andreas Schwab Cc: Finn Thain , Geert Uytterhoeven , Jean-Michel Hautbois , port-m68k , debian-68k , linux-m68k Date: Sat, 07 Jun 2025 17:23:44 +0200 In-Reply-To: <871prva88s.fsf@igel.home> References: <442267d5-241e-44a5-9b54-fee06bc5c03b@yoseli.org> <9013836044f8bfb7f0cd62ba536f6a1c75034465.camel@physik.fu-berlin.de> <80f5c684-638b-4486-9026-1f8689a7f147@yoseli.org> <95e56d983ace4976143c7e1180ffe5606c0ee3fe.camel@physik.fu-berlin.de> <758f14d8-6d03-2aab-468b-170b0bbb7d2a@linux-m68k.org> <8e0186f61cc9bbed2373ae215e80ab7e70042793.camel@physik.fu-berlin.de> <87sekbq3f8.fsf@linux-m68k.org> <2bd7d3370101b73288f9a1cd1b6eed0ba0da700e.camel@physik.fu-berlin.de> <87cybfaa74.fsf@igel.home> <875xh7a91r.fsf@igel.home> <1483007ddfcb164a5b1a5ccfcc053965af1a56bd.camel@physik.fu-berlin.de> <871prva88s.fsf@igel.home> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 Precedence: bulk X-Mailing-List: linux-m68k@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-ZEDAT-Hint: PO On Sat, 2025-06-07 at 17:20 +0200, Andreas Schwab wrote: > On Jun 07 2025, John Paul Adrian Glaubitz wrote: >=20 > > On Sat, 2025-06-07 at 17:03 +0200, Andreas Schwab wrote: > > > On Jun 07 2025, John Paul Adrian Glaubitz wrote: > > >=20 > > > > you cannot change the ABI because that would change the ABI. > > >=20 > > > That's the fundamental property of an ABI. > >=20 > > Not if the ABI was made-up by yourself ;-). >=20 > No, I didn't. =C2=BBWhen I implemented ELF support for m68k-linux I wanted to follow the = SVR4 ABI (which has 32-bit alignment), but there were too many UAPI structures (esp. struct stat) that would have become incompatible (it would have made it impossible to run ELF binaries on an a.out kernel or vice-versa), so I had to keep the historical mistake.=C2=AB Source: https://lore.kernel.org/all/87y3i442w1.fsf@linux-m68k.org/ It was very obviously your decision to use 2 byte alignment even though it was against the official SVR4 ABI ;-). Adrian --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913