[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9d9ca6f0-b4cc-4fef-9ca2-9cb754330581@kernel.org>
Date: Wed, 26 Nov 2025 20:59:55 +0100
From: Daniel Gomez <da.gomez@...nel.org>
To: Sami Tolvanen <samitolvanen@...gle.com>,
Michal Suchánek <msuchanek@...e.de>
Cc: linux-modules@...r.kernel.org, Luis Chamberlain <mcgrof@...nel.org>,
Petr Pavlu <petr.pavlu@...e.com>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gendwarfksyms: Fix build on 32-bit hosts
On 25/11/2025 21.09, Sami Tolvanen wrote:
> On Tue, Nov 18, 2025 at 8:18 AM Michal Suchánek <msuchanek@...e.de> 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 <msuchanek@...e.de>
>>> Closes: https://lore.kernel.org/linux-modules/aRcxzPxtJblVSh1y@kitsune.suse.cz/
>>> Signed-off-by: Sami Tolvanen <samitolvanen@...gle.com>
>>> ---
>>> 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 <msuchanek@...e.de>
>
> 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.
Powered by blists - more mailing lists