On Tue, 23 Jun 2026 13:37:47 +0200
Dariusz Sosnowski <[email protected]> wrote:
> Add a missing semicolon after __asm__ block in
> RTE_VERSION_EXPERIMENTAL_SYMBOL macro.
> It's lack triggers the following compilation error with clang:
>
> ../lib/ethdev/rte_flow.c:320:1: error: expected ';' after top-level asm
> block
> 320 | RTE_VERSION_EXPERIMENTAL_SYMBOL(int,
> rte_flow_dynf_metadata_register, (void))
> | ^
> ../lib/eal/common/eal_export.h:75:74: note: expanded from macro
> 'RTE_VERSION_EXPERIMENTAL_SYMBOL'
> 75 | __asm__(".symver " RTE_STR(name) "_exp, " RTE_STR(name)
> "@EXPERIMENTAL") \
> |
> ^
> ../lib/eal/include/rte_common.h:237:20: note: expanded from macro '\
> __rte_used'
> 237 | #define __rte_used __attribute__((used))
> | ^
>
> Fixes: e30e194c4d06 ("eal: rework function versioning macros")
> Cc: [email protected]
>
> Signed-
I didn't see this because clang doesn't have symver support.
Which version of clang is this?