From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C4365314D0C; Wed, 26 Nov 2025 19:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764187199; cv=none; b=Re4mLQGfTA50zLJFjHkRaO+pLghNRi8ton/ivj7w8HE7kGqVCSOgy7YZTOSuMKidzLUct91aI0xOGNt7ws704OpCPy2DoT2YQ/qHZldCDVnfNeLxPwj+JMv2kETdl/JFZBBZADjmg7pQep4bSiEGNR3Pywrc4a/ZD36gxAyCwZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764187199; c=relaxed/simple; bh=JVkhGAnFuqOLyOevdPN+qYtg3KUlxPhUsvfr3ZMySPI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JD+NSlNexUHEq2/7sbMfWtAXMJafyjWfIJAfrWZjHEoYjW20cETT4D3SRA7ueRZtCQtK3MaHt3uwnr19bQ8isc7alGKkrBEUq9Txq22suZ3wwLZihLpNEVydieb81IMGAvZmx3hsIWxcF/ZnPsukS8DhM/uz4FAdK1NAzCaHYm8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U65324fX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U65324fX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB18FC4CEF7; Wed, 26 Nov 2025 19:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764187199; bh=JVkhGAnFuqOLyOevdPN+qYtg3KUlxPhUsvfr3ZMySPI=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To:From; b=U65324fXGG4SAU0RxSSsnYMz4mPZOgiBdK+xN20jRu2PlWwEJehwLkEH0mQe199GS 08EAZl3rjCxO2tl0b6nzDmvKa3ROgFF2bf5HN7bY6056yhIl4w9gixd5L3RQDmqzQe vlHgWv2f9UIxsGvvxqHcm5VgS1jmgILEHmCoP1ugNbSFSXJREDZZNSuoVueejtfYA/ +w6NbiodaPC/iDD9t6JlbFA1byZxznuiEnljp/BYDOmrbVljxa6HHfM5xAx4Xcg74T 8+2pLy9tRO2Cgaf+7TPNUFVkjDeuz7nOsIV+QT6UmA8Yg67pHSgskYPwEg+CNmIGpX YV+SfZyZ8wPTA== Message-ID: <9d9ca6f0-b4cc-4fef-9ca2-9cb754330581@kernel.org> Date: Wed, 26 Nov 2025 20:59:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Daniel Gomez Subject: Re: [PATCH] gendwarfksyms: Fix build on 32-bit hosts To: Sami Tolvanen , =?UTF-8?Q?Michal_Such=C3=A1nek?= Cc: linux-modules@vger.kernel.org, Luis Chamberlain , Petr Pavlu , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org References: <20251117203806.970840-2-samitolvanen@google.com> Content-Language: en-US From: Daniel Gomez Organization: kernel.org In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 25/11/2025 21.09, Sami Tolvanen wrote: > On Tue, Nov 18, 2025 at 8:18 AM Michal Suchánek wrote: >> >> Hello, >> >> On Mon, Nov 17, 2025 at 08:38:07PM +0000, Sami Tolvanen wrote: >>> We have interchangeably used unsigned long for some of the types >>> defined in elfutils, assuming they're always 64-bit. This obviously >>> fails when building gendwarfksyms on 32-bit hosts. Fix the types. >>> >>> Reported-by: Michal Suchánek >>> Closes: https://lore.kernel.org/linux-modules/aRcxzPxtJblVSh1y@kitsune.suse.cz/ >>> Signed-off-by: Sami Tolvanen >>> --- >>> scripts/gendwarfksyms/dwarf.c | 4 +++- >>> scripts/gendwarfksyms/symbols.c | 5 +++-- >>> 2 files changed, 6 insertions(+), 3 deletions(-) >> >> with this patch gendwarfksyms builds on 32bit x86 and Arm. >> >> Tested-by: Michal Suchánek > > Great, thanks for testing! Daniel, do you want to take this fix > through the modules tree? > > Sami Absolutely! Since we are at the end of the rc cycle, I'll merge this after sending the current queued patches.