From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow-b3-smtp.messagingengine.com (flow-b3-smtp.messagingengine.com [202.12.124.138]) (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 06BA225A2B5; Fri, 27 Mar 2026 13:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774618948; cv=none; b=M4c2J+8z0Qat4m+SSwvI3kqKezjrVQoYghwgSrhqe9tSzfIII/nOEBuoj3uWR8oIo/IuQsglBjTSs67bkCFQWHq0LjUjSZlkTrpLS3GgyWF/zW282/41T0tyTdJt2iDHEZK9q0omTXS6+XaPNwD9+5vy5Y/dWXracdKP7VmwWq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774618948; c=relaxed/simple; bh=frSGxxmPjWh6IoWttfH/PUHq0x6wot1GxUuiDrqWzYQ=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=O2UUIqsd4IDvkYkfET1OB3X41igg1uk1xk+qN/NNczPxG9/8Ycrpw8sn+qFpEWioS2TyD7tM/+0n601yMcJqDj6THlSeDhaGpL09PR2bhlMzZGt2/CyeM8u0VhkONHnbPvvGicSBUoFEMom0a7By0+ofUvjFWMFZCKRkWspQc/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=WXmgYcfo; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=IHVVfnyL; arc=none smtp.client-ip=202.12.124.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="WXmgYcfo"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="IHVVfnyL" 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 Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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