[lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Matias Elo
Previously each dpdk pmd driver had to be individually referred in the odp code to ensure proper gcc constructor linking. Using the -—whole-archive option when linking the drivers removes this need. After this patch new dpdk pmd drivers are automatically linked. Signed-off-by: Matias Elo --- Put

Re: [lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Christophe Milard
On 1 February 2017 at 13:47, Matias Elo wrote: > Previously each dpdk pmd driver had to be individually referred in the odp > code to ensure proper gcc constructor linking. Using the -—whole-archive > option when linking the drivers removes this need. After this patch new > dpdk pmd drivers are au

Re: [lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Elo, Matias (Nokia - FI/Espoo)
> > As far as I remember, some autotools version won't allow that: it will > reject it with a message saying you are not allowed to set LDD libs > withing flags (LDFLAGS)... > What autotools version are you using? > Hopefully, new ones will no longer do that, but I remember trying > different ver

Re: [lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Christophe Milard
No, saddly. I got stuck on this. I summed up the situation here: https://lists.linaro.org/pipermail/lng-odp/2016-October/026120.html ... But if you get it to go, it is a good new: Just make sure that works on the latest libtool/autotools: Going forward is OK. If it does not work on latest, then, it

Re: [lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Elo, Matias (Nokia - FI/Espoo)
> On 1 Feb 2017, at 16:01, Christophe Milard > wrote: > > No, saddly. I got stuck on this. > I summed up the situation here: > https://lists.linaro.org/pipermail/lng-odp/2016-October/026120.html > ... > But if you get it to go, it is a good new: Just make sure that works > on the latest libtool

Re: [lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Christophe Milard
hmmm... that sound promising. thanks for the update. may I ask which libtool version you tried with (latest)? Thanks anyway! Christophe. On 2 February 2017 at 08:22, Elo, Matias (Nokia - FI/Espoo) wrote: > >> On 1 Feb 2017, at 16:01, Christophe Milard >> wrote: >> >> No, saddly. I got stuck o

Re: [lng-odp] [PATCH 1/2] linux-gen: dpdk: improve pmd driver linking

2017-02-01 Thread Elo, Matias (Nokia - FI/Espoo)
> On 2 Feb 2017, at 9:25, Christophe Milard > wrote: > > hmmm... that sound promising. thanks for the update. may I ask which > libtool version you tried with (latest)? Libtool: 2.4.6 Automake: 1.15 Autoconf: 2.69 They seem to be the standard packages in ubuntu 16.04. -Matias