All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/mlx5: Avoid stripping the glue library
@ 2018-07-31 13:15 Timothy Redaelli
  2018-07-31 13:31 ` Luca Boccassi
  2018-07-31 13:33 ` Christian Ehrhardt
  0 siblings, 2 replies; 4+ messages in thread
From: Timothy Redaelli @ 2018-07-31 13:15 UTC (permalink / raw)
  To: Shahaf Shuler, Yongseok Koh; +Cc: dev, Adrien Mazarguil

Stripping binaries at build time is usually a bad thing since it makes
impossible to generate (split) debug symbols and this can lead to a more
difficult debugging.

CC: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
 drivers/net/mlx5/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile
index 75bee4640..2e70dec5b 100644
--- a/drivers/net/mlx5/Makefile
+++ b/drivers/net/mlx5/Makefile
@@ -409,7 +409,7 @@ endif
 $(LIB_GLUE): mlx5_glue.o
 	$Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
 		-Wl,-h,$(LIB_GLUE) \
-		-s -shared -o $@ $< -libverbs -lmlx5
+		-shared -o $@ $< -libverbs -lmlx5
 
 mlx5_glue.o: mlx5_autoconf.h
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] net/mlx5: Avoid stripping the glue library
  2018-07-31 13:15 [PATCH] net/mlx5: Avoid stripping the glue library Timothy Redaelli
@ 2018-07-31 13:31 ` Luca Boccassi
  2018-08-01  8:29   ` Shahaf Shuler
  2018-07-31 13:33 ` Christian Ehrhardt
  1 sibling, 1 reply; 4+ messages in thread
From: Luca Boccassi @ 2018-07-31 13:31 UTC (permalink / raw)
  To: Timothy Redaelli, Shahaf Shuler, Yongseok Koh; +Cc: dev, Adrien Mazarguil

On Tue, 2018-07-31 at 15:15 +0200, Timothy Redaelli wrote:
> Stripping binaries at build time is usually a bad thing since it
> makes
> impossible to generate (split) debug symbols and this can lead to a
> more
> difficult debugging.
> 
> CC: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
> 
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
> ---
>  drivers/net/mlx5/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile
> index 75bee4640..2e70dec5b 100644
> --- a/drivers/net/mlx5/Makefile
> +++ b/drivers/net/mlx5/Makefile
> @@ -409,7 +409,7 @@ endif
>  $(LIB_GLUE): mlx5_glue.o
>  	$Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
>  		-Wl,-h,$(LIB_GLUE) \
> -		-s -shared -o $@ $< -libverbs -lmlx5
> +		-shared -o $@ $< -libverbs -lmlx5
>  
>  mlx5_glue.o: mlx5_autoconf.h

Acked-by: Luca Boccassi <bluca@debian.org>

-- 
Kind regards,
Luca Boccassi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] net/mlx5: Avoid stripping the glue library
  2018-07-31 13:15 [PATCH] net/mlx5: Avoid stripping the glue library Timothy Redaelli
  2018-07-31 13:31 ` Luca Boccassi
@ 2018-07-31 13:33 ` Christian Ehrhardt
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Ehrhardt @ 2018-07-31 13:33 UTC (permalink / raw)
  To: Timothy M. Redaelli; +Cc: Shahaf Shuler, yskoh, dev, adrien.mazarguil

On Tue, Jul 31, 2018 at 3:27 PM Timothy Redaelli <tredaelli@redhat.com>
wrote:

> Stripping binaries at build time is usually a bad thing since it makes
> impossible to generate (split) debug symbols and this can lead to a more
> difficult debugging.
>
> CC: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
>
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
> ---
>  drivers/net/mlx5/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile
> index 75bee4640..2e70dec5b 100644
> --- a/drivers/net/mlx5/Makefile
> +++ b/drivers/net/mlx5/Makefile
> @@ -409,7 +409,7 @@ endif
>  $(LIB_GLUE): mlx5_glue.o
>         $Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
>                 -Wl,-h,$(LIB_GLUE) \
> -               -s -shared -o $@ $< -libverbs -lmlx5
> +               -shared -o $@ $< -libverbs -lmlx5
>
>  mlx5_glue.o: mlx5_autoconf.h
>

After IRC discussion I completely agree that this shouldn't be stripped,
thanks for the fix.

Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>



>
> --
> 2.17.1
>
>

-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] net/mlx5: Avoid stripping the glue library
  2018-07-31 13:31 ` Luca Boccassi
@ 2018-08-01  8:29   ` Shahaf Shuler
  0 siblings, 0 replies; 4+ messages in thread
From: Shahaf Shuler @ 2018-08-01  8:29 UTC (permalink / raw)
  To: Luca Boccassi, Timothy Redaelli, Yongseok Koh; +Cc: dev, Adrien Mazarguil

Tuesday, July 31, 2018 4:31 PM, Luca Boccassi:
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: Avoid stripping the glue library
> 
> On Tue, 2018-07-31 at 15:15 +0200, Timothy Redaelli wrote:
> > Stripping binaries at build time is usually a bad thing since it makes
> > impossible to generate (split) debug symbols and this can lead to a
> > more difficult debugging.
> >
> > CC: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> > Fixes: 59b91bec12c6 ("net/mlx5: spawn rdma-core dependency plug-in")
> >
> > Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
> > ---
> >  drivers/net/mlx5/Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile
> > index 75bee4640..2e70dec5b 100644
> > --- a/drivers/net/mlx5/Makefile
> > +++ b/drivers/net/mlx5/Makefile
> > @@ -409,7 +409,7 @@ endif
> >  $(LIB_GLUE): mlx5_glue.o
> >  	$Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
> >  		-Wl,-h,$(LIB_GLUE) \
> > -		-s -shared -o $@ $< -libverbs -lmlx5
> > +		-shared -o $@ $< -libverbs -lmlx5
> >
> >  mlx5_glue.o: mlx5_autoconf.h
> 
> Acked-by: Luca Boccassi <bluca@debian.org>

Applied to next-net-mlx, thanks. 

> 
> --
> Kind regards,
> Luca Boccassi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-01  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31 13:15 [PATCH] net/mlx5: Avoid stripping the glue library Timothy Redaelli
2018-07-31 13:31 ` Luca Boccassi
2018-08-01  8:29   ` Shahaf Shuler
2018-07-31 13:33 ` Christian Ehrhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.