Public bug reported:
We found that OVS 2.12 builds woudl overlink several libraries
=>
https://launchpadlibrarian.net/439281290/buildlog_ubuntu-eoan-amd64.openvswitch_2.12.0~git20190828.23acdc07f-0ubuntu1~ubuntu19.10.1~ppa201908281053_BUILDING.txt.gz
The build had
... -Wl,-Bdynamic -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lIPSec_MB ...
This is from:
/usr/lib/x86_64-linux-gnu/pkgconfig/libdpdk.pc
-Wl,-Bdynamic -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lIPSec_MB -lpcap
We need to strip/filter/sort our pkgconfig somehow.
IMHO a DPDK app should not get these unless really using those symbols.
On the surface this would be just dropping the -Wl,--no-as-needed from the
string of options.
But we need to understand where it comes from.
Furthermore even if the -Wl,--no-as-needed has to stay for some, it
needs a closing -Wl,--as-needed at least in Ubuntu where as-needed is
the default to not "infect" following options.
** Affects: dpdk (Ubuntu)
Importance: Undecided
Status: Triaged
** Changed in: dpdk (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1841759
Title:
over-linking due to dpdk pkg-config
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1841759/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs