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
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
N
> > 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
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 --gi
] 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 --as-needed flag to the linker by default.
> Add --no-as-n
tting EXTRA_LDFLAGS='--no-as-needed'
>
> Thoughts?
>
> Thanks,
> Sergio
>
> > -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:
> > 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 t
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.
>
> 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 h
> -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
>
> Ubu
10 matches
Mail list logo