Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate
@ 2012-11-20 16:59 Richard Braun
  2012-11-20 17:36 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Richard Braun @ 2012-11-20 16:59 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Richard Braun <rbraun@sceen.net>
---
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index 5f9119d..ebc7b4b 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -41,6 +41,10 @@ uclibc-source: $(CTNG_DIR)/.config
 CTNG_LIBS_LIB := ld*.so libc.so libcrypt.so libdl.so libgcc_s.so libm.so    \
                  libnsl.so libpthread.so libresolv.so librt.so libutil.so
 
+ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
+CTNG_LIBS_LIB += libthread_db.so
+endif
+
 #--------------
 # The libc-specific system libraries (in /lib)
 # Note: it may be needed to tweak the NSS libs in the glibc and eglibc cases...
-- 
1.7.2.5

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

* [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate
  2012-11-20 16:59 [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate Richard Braun
@ 2012-11-20 17:36 ` Yann E. MORIN
  2012-11-20 17:38   ` Richard Braun
  2012-11-20 17:42 ` Yann E. MORIN
  2012-11-30 21:57 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2012-11-20 17:36 UTC (permalink / raw)
  To: buildroot

Richard, All,

On Tuesday 20 November 2012 Richard Braun wrote:
> Signed-off-by: Richard Braun <rbraun@sceen.net>
> ---
>  toolchain/toolchain-crosstool-ng/crosstool-ng.mk |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> index 5f9119d..ebc7b4b 100644
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> @@ -41,6 +41,10 @@ uclibc-source: $(CTNG_DIR)/.config
>  CTNG_LIBS_LIB := ld*.so libc.so libcrypt.so libdl.so libgcc_s.so libm.so    \
>                   libnsl.so libpthread.so libresolv.so librt.so libutil.so
>  
> +ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
> +CTNG_LIBS_LIB += libthread_db.so

Shouldn't that be:
    CTNG_LIBS_USR_LIB += libthread_db.so

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate
  2012-11-20 17:36 ` Yann E. MORIN
@ 2012-11-20 17:38   ` Richard Braun
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Braun @ 2012-11-20 17:38 UTC (permalink / raw)
  To: buildroot

On Tue, Nov 20, 2012 at 06:36:50PM +0100, Yann E. MORIN wrote:
> > +ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
> > +CTNG_LIBS_LIB += libthread_db.so
> 
> Shouldn't that be:
>     CTNG_LIBS_USR_LIB += libthread_db.so

I don't think so, at least I've always seen libthread_db installed in
/lib, and it does work this way.

-- 
Richard Braun

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

* [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate
  2012-11-20 16:59 [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate Richard Braun
  2012-11-20 17:36 ` Yann E. MORIN
@ 2012-11-20 17:42 ` Yann E. MORIN
  2012-11-30 21:57 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2012-11-20 17:42 UTC (permalink / raw)
  To: buildroot

On Tuesday 20 November 2012 Richard Braun wrote:
> Signed-off-by: Richard Braun <rbraun@sceen.net>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

> ---
>  toolchain/toolchain-crosstool-ng/crosstool-ng.mk |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> index 5f9119d..ebc7b4b 100644
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> @@ -41,6 +41,10 @@ uclibc-source: $(CTNG_DIR)/.config
>  CTNG_LIBS_LIB := ld*.so libc.so libcrypt.so libdl.so libgcc_s.so libm.so    \
>                   libnsl.so libpthread.so libresolv.so librt.so libutil.so
>  
> +ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
> +CTNG_LIBS_LIB += libthread_db.so
> +endif
> +
>  #--------------
>  # The libc-specific system libraries (in /lib)
>  # Note: it may be needed to tweak the NSS libs in the glibc and eglibc cases...
> -- 
> 1.7.2.5
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate
  2012-11-20 16:59 [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate Richard Braun
  2012-11-20 17:36 ` Yann E. MORIN
  2012-11-20 17:42 ` Yann E. MORIN
@ 2012-11-30 21:57 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2012-11-30 21:57 UTC (permalink / raw)
  To: buildroot

>>>>> "Richard" == Richard Braun <rbraun@sceen.net> writes:

 Richard> Signed-off-by: Richard Braun <rbraun@sceen.net>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2012-11-30 21:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 16:59 [Buildroot] [PATCH] toolchain-crosstool-ng: install libthread_db if appropriate Richard Braun
2012-11-20 17:36 ` Yann E. MORIN
2012-11-20 17:38   ` Richard Braun
2012-11-20 17:42 ` Yann E. MORIN
2012-11-30 21:57 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox