[PATCH v3] buildtools: fix invalid symbols
Ali Alnubani
alialnu at nvidia.com
Fri Jul 5 20:08:58 CEST 2024
> -----Original Message-----
> From: Mingjin Ye <mingjinx.ye at intel.com>
> Sent: Friday, July 5, 2024 11:26 AM
> To: dev at dpdk.org
> Cc: david.marchand at redhat.com; Ali Alnubani <alialnu at nvidia.com>; Mingjin Ye
> <mingjinx.ye at intel.com>; stable at dpdk.org; Dmitry Kozlyuk
> <dmitry.kozliuk at gmail.com>
> Subject: [PATCH v3] buildtools: fix invalid symbols
>
> 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.
>
> Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen")
> Cc: stable at dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
> ---
Can confirm it fixes the build failure in my environment, thanks Mingjin.
Tested-by: Ali Alnubani <alialnu at nvidia.com>
Regards,
Ali
More information about the dev
mailing list