> > 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
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
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
> -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
> 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
> > 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
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.
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
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
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
10 matches
Mail list logo