From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C42E110ED661 for ; Fri, 27 Mar 2026 13:42:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Subject:References:In-Reply-To:Message-Id:Cc:To:From:Date: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=r8kqb/PmSoN6Ni50HiBp9vabWKni4KIgQFght4+Tts0=; b=DAwc30Z4QBJYS/USd7gQoK3+y0 +Kq59ftdUNiwr+gEVNBCjMgy2ecVkELknsZhAg+Sm1GoWPDvK2qqGPdlF0sCYdHUQmQmCPN9YAaU3 twQtEE27m/kx6eOsp9t/O03ZIcRNdjZ3WcRfh3lKsXAGAL/nJtTsGfGlHRTUtV8/3RA5k//mK5oqt s7TtLnjwu8om2fC8UNhgbGgTRQ3mvlr54GRlKqqM6OHqEZxM5xV0VjI85GqZyY0f3Y7Lr4ZUIkMI0 9kJDgO2aOH5aUVVLi/eBNitRaHXwNJpjEaQotLRy2BwaiicD2eTAOGWsy+wxSqsGVoEctju14JMbd 4rxf+/sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w67SJ-00000007Sxd-1KRZ; Fri, 27 Mar 2026 13:42:31 +0000 Received: from flow-b3-smtp.messagingengine.com ([202.12.124.138]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w67SF-00000007Sx5-3Pj3; Fri, 27 Mar 2026 13:42:29 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailflow.stl.internal (Postfix) with ESMTP id EE82B130002C; Fri, 27 Mar 2026 09:42:23 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Fri, 27 Mar 2026 09:42:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1774618943; x=1774626143; bh=r8kqb/PmSoN6Ni50HiBp9vabWKni4KIgQFght4+Tts0=; b= WXmgYcfoU7DXqp4nVD4iHGiZnjmZ/oBiySyxKd7rz8vp9kcZDKnYLEMGgCJQIjL7 V2ImP+GLWMVeAo9BapSvgkg6sZA8FAlX89F/EJgDZjHchNHND2dlQNt4pc3epoh3 OJ9ax8G8Ti4nTeaIYae/vg9E4znqy0UmoGNsm5mT/JIT7wWxREblo3ydqTVYtkHP UlmWf1KNBzT+e6MgE7LIPG67LgydS+QGPzIPPt6kxSxTjBes6xazxKTqstswJBaF FpIaPM3zI7B8Hpd+MXNo6jjXH4XrRQbGwe29451a2OxlVNv+QJ8HI+vwtzjFwRfv pS+0qtzZIeVwB5SBu2Lzrw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1774618943; x= 1774626143; bh=r8kqb/PmSoN6Ni50HiBp9vabWKni4KIgQFght4+Tts0=; b=I HVVfnyLZcN35pRyg32jICZM0qVLXsONawFPdb+heGxPgSM+izITH8vBPCEA/bJ9E UN6H6aMcYUgpH7jg7wSGLvSMIlKgI7lRJLiAnw1ZuUsNQGzkiUxHOU3GYu5q66XA Jtq76kjAyjkWoLV5eiPhBRC7IduTmfV52rSHitiA33ESsKYRWwKnZbkkIzoB5A80 UuVbB2VtJaN78K11CULHWhyiLFlTrPunOhraGsziiJpg80dksixydziqGGZRWk+1 rmY6b5kCR5m6oncjYZkweCTkFj8Kmi58gdgjDLPH5eRzHI0CFMQYY1btUypTC9F3 EVQl22V83017juQKIQ6Eg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdeffedtgeefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehrnhgu uceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvg hrnhephfdthfdvtdefhedukeetgefggffhjeeggeetfefggfevudegudevledvkefhvdei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnh gusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohepgedupdhmohguvgepshhmthhpohhu thdprhgtphhtthhopehjrghmihgvrdgtuhhnlhhifhhfvgesrghrmhdrtghomhdprhgtph htthhopegtrghtrghlihhnrdhmrghrihhnrghssegrrhhmrdgtohhmpdhrtghpthhtohep mhgrrhhkrdhruhhtlhgrnhgusegrrhhmrdgtohhmpdhrtghpthhtoheplhhinhhugiesrg hrmhhlihhnuhigrdhorhhgrdhukhdprhgtphhtthhopegrnhhtohhnrdhivhgrnhhovhes tggrmhgsrhhiughgvghgrhgvhihsrdgtohhmpdhrtghpthhtohepuggrvhhiugesuggrvh hiughgohifrdhnvghtpdhrtghpthhtohepghgrrhihsehgrghrhihguhhordhnvghtpdhr tghpthhtohepsghoqhhunhdrfhgvnhhgsehgmhgrihhlrdgtohhmpdhrtghpthhtoheptg hhrhhishhirdhstghhrhgvfhhlsehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id D382B700065; Fri, 27 Mar 2026 09:42:21 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: AUJnWW6OA6Vc Date: Fri, 27 Mar 2026 14:41:41 +0100 From: "Arnd Bergmann" To: "Geert Uytterhoeven" Cc: "Russell King" , "Christian Schrefl" , "Miguel Ojeda" , "Alice Ryhl" , "Ard Biesheuvel" , "Jamie Cunliffe" , "Will Deacon" , "Catalin Marinas" , "Miguel Ojeda" , "Andreas Hindborg" , acourbot@nvidia.com, "Andrew Morton" , "Anton Ivanov" , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , "Boqun Feng" , "Danilo Krummrich" , "David Gow" , "Gary Guo" , "Johannes Berg" , "Justin Stitt" , linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-um@lists.infradead.org, llvm@lists.linux.dev, "Benno Lossin" , "Mark Rutland" , mmaurer@google.com, "Bill Wendling" , "Nathan Chancellor" , "Nick Desaulniers" , "Nicolas Schier" , "Nicolas Schier" , "Peter Zijlstra" , "Richard Weinberger" , rust-for-linux@vger.kernel.org, "Trevor Gross" , "Uladzislau Rezki (Sony)" , "John Paul Adrian Glaubitz" Message-Id: <1990bf45-050a-445d-bcea-16d225207531@app.fastmail.com> In-Reply-To: <93439e91-cf81-477b-b880-a813bb01ad7c@app.fastmail.com> References: <20260322192159.88138-1-ojeda@kernel.org> <20260323000327.111235-1-ojeda@kernel.org> <9cf5a94c-0f37-446c-b63d-ddac5674d220@gmail.com> <641592e3-2354-4238-9eb8-a1f5c2a13126@app.fastmail.com> <93439e91-cf81-477b-b880-a813bb01ad7c@app.fastmail.com> Subject: Re: [PATCH v2 0/3] Inline helpers into Rust without full LTO Content-Type: text/plain Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260327_064228_147487_3240A5CB X-CRM114-Status: UNSURE ( 7.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 27, 2026, at 10:02, Arnd Bergmann wrote: > On Fri, Mar 27, 2026, at 08:56, Geert Uytterhoeven wrote: > but that only allowed bitfields to be marked as __attribute__((packed)) > in order to get tightly packed fields and return '4' on all architectures, > while m68k-linux-gcc apparently has all bitfields implicitly packed unless they > are explicitly marked __attribute__((aligned(x))). This behavior is > independent of the -malign-int flag. I had another look and found that this has been in gcc since ELF support was originally added for m68k: gcc/config/m68k/linux.h:#undef PCC_BITFIELD_TYPE_MATTERS All other current Linux/ELF targets get the default from gcc/config/elfos.h Arnd