[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAQg=WwPXL2BQfTMw_a5ZhtnKRugufgo1_TiCKe514t9uQ@mail.gmail.com>
Date: Tue, 6 May 2025 16:47:10 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: WangYuli <wangyuli@...ontech.com>
Cc: guanwentao@...ontech.com, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, nathan@...nel.org, nicolas.schier@...ux.dev,
niecheng1@...ontech.com, petr.pavlu@...e.com, samitolvanen@...gle.com,
zhanjun@...ontech.com
Subject: Re: [PATCH v3 2/2] kbuild: rpm-pkg: Add (elfutils-devel or
libdw-devel) to BuildRequires
On Tue, Apr 22, 2025 at 7:55 PM WangYuli <wangyuli@...ontech.com> wrote:
>
> The dwarf.h header, which is included by
> scripts/gendwarfksyms/gendwarfksyms.h, resides within elfutils-devel
> or libdw-devel package.
>
> This portion of the code is compiled under the condition that
> CONFIG_GENDWARFKSYMS is enabled.
>
> Consequently, add (elfutils-devel or libdw-devel) to BuildRequires to
> prevent unforeseen compilation failures.
>
> Fix follow possible error:
> In file included from scripts/gendwarfksyms/cache.c:6:
> scripts/gendwarfksyms/gendwarfksyms.h:6:10: fatal error: 'dwarf.h' file not found
> 6 | #include <dwarf.h>
> | ^~~~~~~~~
>
> Link: https://lore.kernel.org/all/3e52d80d-0c60-4df5-8cb5-21d4b1fce7b7@suse.com/
> Fixes: f28568841ae0 ("tools: Add gendwarfksyms")
> Suggested-by: Petr Pavlu <petr.pavlu@...e.com>
> Signed-off-by: WangYuli <wangyuli@...ontech.com>
> ---
Applied to linux-kbuild.
Thanks.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists