Re: [PATCH] eal/linux: fix HPET symbols export

David Marchand
2026-03-05T13:43:09Z

Hello,

On Thu, 5 Mar 2026 at 14:21, Ben Magistro <koncept1@gmail.com> wrote:
>
> Just now getting to cleaning up my mailing list folder and came across this so apologize for reopening an older thread. We will likely appreciate the patch a great deal as we needed to switch to lld form clang (this past week). When we made this switch (had some size related issues with sanitizer builds in our app with ld) lld definitely complained about the symbols not being defined.
>
> I don't have more of the output saved from when we found this, but did save off these lines while discussing with the team.
>
> ld.lld: error: version script assignment of 'DPDK_23' to symbol 'rte_eal_hpet_init' failed: symbol not defined
> ld.lld: error: version script assignment of 'DPDK_23' to symbol 'rte_get_hpet_cycles' failed: symbol not defined
> ld.lld: error: version script assignment of 'DPDK_23' to symbol 'rte_get_hpet_hz' failed: symbol not defined

.map files were static until v25.07 and you seem to use a version
prior to 23.11 LTS.
The dynamic generation of .map has not been backported, so
unfortunately this current patch will not help in your case.

--
David Marchand