[PATCH v3] buildtools: fix invalid symbols
David Marchand
david.marchand at redhat.com
Thu Jul 11 13:39:23 CEST 2024
On Fri, Jul 5, 2024 at 10:49 AM Mingjin Ye <mingjinx.ye at intel.com> wrote:
>
> In scenarios where a higher clang compiler is used and ASAN is enabled,
> the generated ELF file will additionally insert undefined debug symbols
> with the same prefix. This causes duplicate C code to be generated.
>
> This patch fixes this issue by skipping the unspecified symbol type.
You did not reply to my comments on v3 and here we have a new hack.
This hack is ugly and not future proof (I can imagine some other
symbols may appear in the future. If those symbols are not of type
"STT_NOTYPE" we will have to find another filter at this point...).
Please have a try with:
https://patchwork.dpdk.org/project/dpdk/patch/20240711113851.975368-1-david.marchand@redhat.com/
Thanks.
--
David Marchand
More information about the dev
mailing list