Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Effectiveness of --disable-dynamic-nss?
- X-seq: zsh-workers 33623
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Effectiveness of --disable-dynamic-nss?
- Date: Fri, 7 Nov 2014 00:27:26 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1JvY/ivXJeSRUcGVxQ0dkbH4ogHg6qOR7NXlszFsZQ8=; b=R6PzPOm+Opl5xH6lR8jJBE73h+2mRBdJfO6jsrpc0DVn1DKb8rWw7Babli4v4eIXB1 Qivs5sdmJ5NU/b90yn7VcnYVmWEEKuLd8nRfgXGneV+8Sp9RJ2mM5H5B1J+uWdJPQz3u qoF1CQWNZLSYyQTfEtXHw9gUC8SlLLISEclB7ddIk3RS64gP0cq41k7ZaO1tcSV90nj7 Crt1Nf/1dF/g06Ux2xzVZnhJoK+06nNskGUvgKxKgLc9lo3/FNsUp81vPUH6JQCXK+e1 zr6+oQNqe6RLT63Kmk5tQEzQ2bV4Oc04R72KmPFrFCPhZChcJGxN/d3rl6J112tK+Nvg YuPw==
- In-reply-to: <141106081701.ZM3756@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHYJk3TpyqP-RvumAQbzwhd8f=TGTjfP6LATAU_VZ=+9oHp5ng@mail.gmail.com> <141106081701.ZM3756@torch.brasslantern.com>
On Thu, Nov 6, 2014 at 5:17 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Nov 6, 3:11pm, Mikael Magnusson wrote:
> }
> } Someone was mentioning on the #zsh channel that $USERNAME was empty
> } when they compiled statically and I vaguely remembered glibc doesn't
> } support name lookup statically
>
> I build a fully-static zsh all the time and have never had a problem
> with USERNAME not being set. Is this platform-specific, or is the
> "when they compiled statically" specific to dynamic-nss ?
Well, they said they tried on both debian and gentoo, and that it
seemed disable-dynamic-nss was used on the debian build but not in the
gentoo build. I'm not sure if that's 100% trustworthy though. The
gentoo ebuild specifies only --disable-dynamic but also adds -static
to ldflags manually. They found this semi-old gentoo bugzilla entry
about it as well, https://bugs.gentoo.org/show_bug.cgi?id=412301 but
it's not very informative.
[I tried to test this locally, but I don't have a static ncurses
installed, which causes the test for boolcodes to return negative
failing to link, which in turn causes a double declaration compilation
failure.]
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author