[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABCJKucc0bxLJ=b9rkiwWts6uA=ReLFr32K1OP9WH51D-hO4+A@mail.gmail.com>
Date: Tue, 25 Nov 2025 12:09:52 -0800
From: Sami Tolvanen <samitolvanen@...gle.com>
To: Michal Suchánek <msuchanek@...e.de>,
Daniel Gomez <da.gomez@...nel.org>
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 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
Powered by blists - more mailing lists