Hi Keith,
I am able to reproduce the issue. We will send the fix asap.
Regards,
Hemant
-----Original Message-----
From: dev <[email protected]> On Behalf Of Wiles, Keith
Sent: Sunday, August 19, 2018 8:25 PM
To: DPDK <[email protected]>
Subject: [dpdk-dev] dpaa2: building with EXTRA_CFLAGS="-g -O0" and shared libs
link error
I am building on Ubuntu 18.04.1 LTS, gcc 7.3.0-16ubuntu3 and with
EXTRA_CFLAGS=“-g -O0” with shared libs enabled.
I get an undefined reference to rte_dpaa2_memsegs when building
portal/dpaa2_hw_dpio.c in the link phase.
The odd part is this does not happen unless you are building with EXTRA_CFLAGS
and with shared libs enabled.
It seems to have circular dependency on drivers/mempool/dpaa2 and
drivers/bus/fslmc/portal
This breaks being able to build a debug version of DPDK.
Regards,
Keith