Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix linker warnings about undefined symbols
[ upstream commit 51c9428dca9fad10bd60ca668ffdf78e4a801e2f ] The default behaviour of "ld.lld" has changed, so it now prints out warnings about entries in the version.map file which don't exist in the current build. Since we use our version.map file simply to filter out the functions we don't want made public, we include in it all functions across all OS's and builds that we want public if present. This causes these ld warnings to be emitted, e.g. on BSD, which is missing functionality found on Linux. For example: * hpet functions in EAL * regexdev enqueue and dequeue burst * eventdev event_timer functions Easiest solution, without major rework of how we use our version.map files, and without dynamically generating them per-build, is to pass the --undefined-version flag to the linker, to restore the old behaviour. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
- Loading branch information