On Tue, 9 Jun 2026 at 15:56, Stephen Hemminger
<[email protected]> wrote:
>
> When using function versioning and building with LTO,
> GCC gets confused by the symbol versioning using __asm__.
> There are no uses of function versioning in upstream repo.
> This was found when adding additional parameter to
> rte_eth_dev_get_name_by_port.
>
> Assembler messages:
> Error: invalid attempt to declare external version name as default in symbol 
> `rte_eth_dev_get_name_by_port@@DPDK_27'
>
> The workaround GCC 10 introduced was an additional function attribute;
> clang doesn't have or need this attribute. No need to backport this to
> LTS since there is no function versioning in those releases.
>
> Signed-off-by: Stephen Hemminger <[email protected]>

Acked-by: David Marchand <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to