On Fri, Jul 5, 2024 at 10:49 AM Mingjin Ye <mingjinx...@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.march...@redhat.com/ Thanks. -- David Marchand