From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by sourceware.org (Postfix) with ESMTPS id 808F73858CD1 for ; Mon, 28 Aug 2023 07:00:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 808F73858CD1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-5925e580e87so31719367b3.1 for ; Mon, 28 Aug 2023 00:00:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693206020; x=1693810820; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/95Vc6xcbNZnn8et4G8uSxySRAV1S0DSAEwAeCoIu1k=; b=lljY6+v86FIDYcg1qm9Y6T6EtxP+30482ecKY+/uQMTqxWSttRgaRpZuLKqs/Euuas t1KdcHhfll9HVjER8N994uFmLAPCNQD/1ANEUZv4555vPjnBUxqXEzODt7f5ipzE1zsE frn8lCimBkCjI4nUgjVF+fF6O765Ug7BQ+HhIxS/tIE2VBDIvm/KNNvQcL/iemJ9omSe ljtG1NLuzhgE3KMEamqzgbNxjUlGr6Z17Y3KJRjN0Kblbl320w/WPbV/obAHYudLUBNk 8iMt16KoNTIfIit8cyH701o88Sm5D1G85My2GLVS6sbo8tsIjqOWxR/ZDbr78ZFmuVI2 HIeg== X-Gm-Message-State: AOJu0YyU/+GGOa8aqFFi/JpVzmMBmofa4IGGneKECgPndC0B5j8DQzQ/ 7/Ch0JQp8d20r17xxvadz08Imz7U01An0Q== X-Google-Smtp-Source: AGHT+IHK8MlHaJSvot8fi84Px0p8R9LE/2WN3pPbvcfBhOe6+cURGAl1rMhhHRgxcz+cuziY6/e5hw== X-Received: by 2002:a0d:d8d0:0:b0:56d:4d34:20c with SMTP id a199-20020a0dd8d0000000b0056d4d34020cmr25938511ywe.37.1693206019822; Mon, 28 Aug 2023 00:00:19 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id j125-20020a0dc783000000b005463e45458bsm1990211ywd.123.2023.08.28.00.00.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Aug 2023 00:00:19 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-d73c595b558so2921381276.2 for ; Mon, 28 Aug 2023 00:00:19 -0700 (PDT) X-Received: by 2002:a25:8691:0:b0:d78:312:c4a8 with SMTP id z17-20020a258691000000b00d780312c4a8mr10657439ybk.53.1693206019032; Mon, 28 Aug 2023 00:00:19 -0700 (PDT) MIME-Version: 1.0 References: <10cbcb8a65639f88e7eeb503fd02df172bc46a07.camel@physik.fu-berlin.de> <80a52487-3105-ed5b-a1eb-ec1a0689ef21@linux-m68k.org> <751c83150533b701d66ac24c8fe81863cf5eab98.camel@aura-online.co.uk> In-Reply-To: <751c83150533b701d66ac24c8fe81863cf5eab98.camel@aura-online.co.uk> From: Geert Uytterhoeven Date: Mon, 28 Aug 2023 09:00:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Tuple and changes for m68k with -malign-int To: James Le Cuirot Cc: Finn Thain , John Paul Adrian Glaubitz , libc-help@sourceware.org, debian-68k , linux-m68k Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sun, Aug 27, 2023 at 11:36=E2=80=AFAM James Le Cuirot wrote: > On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: > > Moreover, why is it that only a few developers have a problem with maki= ng > > explicit their decisions regarding alignment of shorts? What actual pai= n > > does it cause them to accept a patch to make their struct layouts plain= ? > > Some projects do accept patches. Yann Collet was even kind enough to fix = this > in zstd themselves. On the other hand, we have had to fight to stop Pytho= n > from dropping m68k support entirely. The real problem is the effort requi= red > to produce these patches. I haven't been able to wrap my head around this= so > far, but I would still like to learn. I could see myself eventually fixin= g > mold, but LLVM feels like a very tall order. Perhaps we need a new compiler warning: "hole in structure due to non-natural alignment, please consider adding explicit padding"? Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds