Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] DNS resolv problem with glibc
Date: Tue, 15 Sep 2009 08:52:06 +0200	[thread overview]
Message-ID: <873a6o3dk9.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20090915061256.GA9451@gmail.com> (Anders Darander's message of "Tue\, 15 Sep 2009 08\:13\:10 +0200")

>>>>> "Anders" == Anders Darander <anders.darander@gmail.com> writes:

 Anders> Fix problem with dns resolv, by copying the libnss_dns.so to the rootfs.
 Anders> Using glibc from external toolchain, name resolving does not work,
 Anders> unless libnss_dns.so is available on the target.

Thanks, committed.

 Anders> diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk
 Anders> index 568ac3a..1f5aa19 100644
 Anders> --- a/toolchain/external-toolchain/ext-tool.mk
 Anders> +++ b/toolchain/external-toolchain/ext-tool.mk
 Anders> @@ -198,7 +198,7 @@ EXTERNAL_LIBS=libc.so libcrypt.so libdl.so libgcc_s.so libm.so libnsl.so libpthr
 Anders>  ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
 Anders>  EXTERNAL_LIBS+=ld-uClibc.so
 Anders>  else
 Anders> -EXTERNAL_LIBS+=ld-linux.so libnss_files.so
 Anders> +EXTERNAL_LIBS+=ld-linux.so libnss_files.so libnss_dns.so
 Anders>  endif
 Anders>  ifeq ($(BR2_INSTALL_LIBSTDCPP),y)

Your MTA seems to have swallowed the empty line above the LIBSTDCPP
line, causing the patch to not apply. Please check your settings.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-09-15  6:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15  6:13 [Buildroot] [PATCH] DNS resolv problem with glibc Anders Darander
2009-09-15  6:52 ` Peter Korsgaard [this message]
2009-09-15  9:02   ` Anders Darander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873a6o3dk9.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox