<snipped>

> > > > >> Hmm.  Thanks for the report.
> > > > >>
> > > > >> It'll be great if you can test this with new version of this patch:
> > > > >> https://patchwork.ozlabs.org/project/openvswitch/patch/16079778
> > > > >> 25-
> > > > 30877-1-
> > > > >> [email protected]/
> > > > >>
> > > > >> Bruce, David, it looks like not all versions of pkg-config
> > > > >> could be
> > used.
> > > > >> Do you know what is the minimal required version or how to
> > > > >> protect us from this kind of issues?
> > > > >>
> > > > >> Best regards, Ilya Maximets.
> > > > >
> > > > > This was just recently flagged to us and discussed on this email
> > > > > thread on the dpdk dev list.
> > > > >
> > > > > http://inbox.dpdk.org/dev/20201029091638.26646-1-
> > > [email protected]
> > > > > /
> > > > >
> > > > > At the end of the discussion the follow was noted in our docs as
> > > > > a known issue for DPDK.
> > > > >
> > > > > "pkg-config v0.27 supplied with RHEL-7 does not process
> > > > > correctly libdpdk.pc
> > > > Libs.private section."
> > > > >
> > > > > If you have any suggestions as to how we could work around this
> > > > > issue, I'd be very keen to hear them, though unfortunately it
> > > > > does seem to be a bug in pkg-config that is outside of our control.
> > > >
> > > > Thanks for the information.  Ugh.
> > > >
> > > > It looks like we need to implement the check in our configure
> > > > script and abort if pkg-config is bad to avoid weired runtime
> > > > issues due to
> > not
> > > linked libs.
> > > >
> > > > Probably, a grep, similar to what is in above dpdk patch, over the
> > > > DPDK_vswitchd_LDFLAGS with some meaningfull error message should
> > > > do the trick.
> > > >
> > > > Ian, what do you think?
> > >
> > > Sounds good, Let myself and Sunil take a look at this and send a new
> > > v4
> > with
> > > the check.
> >
> > Sure , I think this could be added.
> > But , if there is a check already in place in DPDK, would we need one
> > in OVS as well ?
> >
> 
> There is not a check in place in DPDK, because while we can check the pkg-
> config version on the build machine, it's the version on the end-user machine
> (the OVS build machine in this case) that matters, and we can't check that as
> part of a DPDK build.
> 

Agreed, Will add a check like DPDK in the configure script.

> /Bruce

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to