> On Aug 20, 2018, at 2:33 AM, Hemant Agrawal <hemant.agra...@nxp.com> wrote:
> 
> Hi Keith,
>       I am able to reproduce the issue. We will send the fix asap.

Thanks Hemant.
> 
> Regards,
> Hemant
> 
> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Wiles, Keith
> Sent: Sunday, August 19, 2018 8:25 PM
> To: DPDK <dev@dpdk.org>
> 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
> 

Regards,
Keith

Reply via email to