public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Florian Weimer via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH v2] elf: Install a symbolic link to ld.so as /usr/bin/ld.so
Date: Sat, 04 Dec 2021 20:12:38 +0100	[thread overview]
Message-ID: <87lf10tc9l.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <87a6i5fd9t.fsf@oldenburg.str.redhat.com> (Florian Weimer via Libc-alpha's message of "Mon, 15 Nov 2021 20:07:58 +0100")

* Florian Weimer via Libc-alpha:

> This makes ld.so features such as --preload, --audit,
> and --list-diagnostics more accessible to end users because they
> do not need to know the ABI name of the dynamic loader.
>
> ---
> v2: Use $(make-link).
>  NEWS         | 4 ++++
>  elf/Makefile | 7 ++++++-
>  2 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/NEWS b/NEWS
> index f10971b180..2f56f3db28 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -68,6 +68,10 @@ Major new features:
>    to be used by compilers for optimizing usage of 'memcmp' when its
>    return value is only used for its boolean status.
>  
> +* A symbolic link to the dynamic linker is now installed under
> +  /usr/bin/ld.so (or ${bindir}/ld.so if glibc is not configured with
> +  --prefix=/usr).

Some distribution discussions on this patch:

  /usr/bin/ld.so as a symbolic link for the dynamic loader

  <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/SA244MNX5CC5OED65SX3QNCLKDUKW7D3/>

  <https://lists.debian.org/debian-glibc/2021/12/msg00001.html>
  <https://lists.debian.org/debian-devel/2021/12/msg00032.html>
  (thread wasn't Cc:ed to both lists throughout)

Based on the Debian feedback, I've fixed launching of statically linked
executables:

  [PATCH] elf: execve statically linked programs instead of crashing [BZ #28648]
  <https://sourceware.org/pipermail/libc-alpha/2021-December/133615.html>

Thanks,
Florian


  parent reply	other threads:[~2021-12-04 19:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15 19:07 Florian Weimer
2021-11-23 15:56 ` Florian Weimer
2021-11-23 16:19 ` Andreas Schwab
2021-11-23 16:38   ` Florian Weimer
2021-11-24 17:00     ` Andreas Schwab
2021-12-03 14:05       ` Florian Weimer
2021-12-06 17:19         ` Andreas Schwab
2021-12-04 19:12 ` Florian Weimer [this message]
2021-12-05 21:36   ` Michael Hudson-Doyle

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=87lf10tc9l.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).