[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-11-29 Thread Thomas Monjalon
> > Do you agree to add this comment (before applying this *needed* patch)? > > > > +# Workaround lack of DT_NEEDED entry > > > Acked-by: Neil Horman Applied with above comment and Neil's explanations in commit log. Thanks > We can solve the larger dependency chain issue later if we need to

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-11-29 Thread Neil Horman
On Fri, Nov 28, 2014 at 04:35:04PM +0100, Thomas Monjalon wrote: > Hi Sergio, Neil, > > Do you agree to add this comment (before applying this *needed* patch)? > > +# Workaround lack of DT_NEEDED entry > Acked-by: Neil Horman We can solve the larger dependency chain issue later if we need to

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-11-28 Thread Thomas Monjalon
Hi Sergio, Neil, Do you agree to add this comment (before applying this *needed* patch)? +# Workaround lack of DT_NEEDED entry > -EXECENV_LDFLAGS = > +EXECENV_LDFLAGS = --no-as-needed -- Thomas

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-11-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Thursday, October 30, 2014 10:58 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec- > env > > Ubuntu/Debian toolchain passes

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-10-31 Thread Gonzalez Monroy, Sergio
> From: Neil Horman [mailto:nhorman at tuxdriver.com] > Subject: Re: [dpdk-dev] [PATCH] mk: --no-as-needed by default for linux > exec-env > > Thank you, it does, though it raises an intersting question. By flipping that > switch around you definately solve the problem at hand, but you don't

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-10-30 Thread Gonzalez Monroy, Sergio
> > Basically, Ubuntu GCC is always passing --as-needed to the linker > > which causes some Linking issues for us. > Can you elaborate here? > Neil > Sorry, probably I could have given more info about the issue. Currently if we build DPDK with shared libs on Ubuntu, build process fails when it

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-10-30 Thread Neil Horman
On Thu, Oct 30, 2014 at 04:20:17PM +, Gonzalez Monroy, Sergio wrote: > > > Basically, Ubuntu GCC is always passing --as-needed to the linker > > > which causes some Linking issues for us. > > Can you elaborate here? > > Neil > > > Sorry, probably I could have given more info about the issue.

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-10-30 Thread Gonzalez Monroy, Sergio
Some info about the issue for this patch: https://wiki.ubuntu.com/ToolChain/CompilerFlags#Flags_passed_to_the_linker https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries Basically, Ubuntu GCC is always passing --as-needed to the linker which causes some Linking issues for

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-10-30 Thread Sergio Gonzalez Monroy
Ubuntu/Debian toolchain passes --as-needed flag to the linker by default. Add --no-as-needed flag by default in linuxapp exec-env to ensure correct linking. Signed-off-by: Sergio Gonzalez Monroy --- mk/exec-env/linuxapp/rte.vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env

2014-10-30 Thread Neil Horman
On Thu, Oct 30, 2014 at 11:05:24AM +, Gonzalez Monroy, Sergio wrote: > Some info about the issue for this patch: > https://wiki.ubuntu.com/ToolChain/CompilerFlags#Flags_passed_to_the_linker > https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries > > Basically, Ubuntu