mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Fangrui Song <emacsray@gmail.com>
To: musl@lists.openwall.com
Cc: Patrick Oppenlander <patrick.oppenlander@gmail.com>
Subject: Re: [musl] [PATCH] copy liblto_plugin.so into lib/bfd-plugins
Date: Thu, 14 Jan 2021 18:56:27 -0800	[thread overview]
Message-ID: <CAN30aBEd2vNX9iknXcAyDOip6N5vQCOXvh8Pwi8Cc9GJYrBgKw@mail.gmail.com> (raw)
In-Reply-To: <20210115023237.2784895-1-patrick.oppenlander@gmail.com>

On Thu, Jan 14, 2021 at 6:33 PM <patrick.oppenlander@gmail.com> wrote:
>
> From: Patrick Oppenlander <patrick.oppenlander@gmail.com>
>
> The ar, nm and ranlib tools will automatically load plugins from the
> lib/bfd-plugins directory if present.
>
> With this file in place it is no longer necessary to use the gcc-
> prefixed versions of these tools (or the --plugin argument) to handle
> LTO objects.
> ---
>  litecross/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/litecross/Makefile b/litecross/Makefile
> index 8ec0ed2..3b797d1 100644
> --- a/litecross/Makefile
> +++ b/litecross/Makefile
> @@ -254,6 +254,8 @@ install-binutils: | obj_binutils/.lc_built
>  install-gcc: | obj_gcc/.lc_built
>         cd obj_gcc && $(MAKE) MAKE="$(MAKE) $(LIBTOOL_ARG)" DESTDIR=$(DESTDIR)$(OUTPUT) install
>         ln -sf $(TARGET)-gcc $(DESTDIR)$(OUTPUT)/bin/$(TARGET)-cc
> +       mkdir -p $(DESTDIR)$(OUTPUT)/lib/bfd-plugins
> +       cp -L $(DESTDIR)$(OUTPUT)/libexec/gcc/$(TARGET)/$(file < src_gcc/gcc/BASE-VER)/liblto_plugin.so $(DESTDIR)$(OUTPUT)/lib/bfd-plugins
>
>  ifneq ($(LINUX_SRCDIR),)
>  TARGET_ARCH = $(firstword $(subst -, ,$(TARGET)))
> --
> 2.30.0
>

Your 'file' seems different. https://www.darwinsys.com/file/ (The Fine
Free File Comman) does not support `file < ...`

  reply	other threads:[~2021-01-15  2:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14  4:03 [musl] [PATCH] install symlink to " patrick.oppenlander
2021-01-14  8:09 ` Szabolcs Nagy
2021-01-14 10:24   ` Patrick Oppenlander
2021-01-15  2:32     ` [musl] [PATCH] copy " patrick.oppenlander
2021-01-15  2:56       ` Fangrui Song [this message]
2021-01-15  3:30         ` Patrick Oppenlander
2021-01-28 23:17       ` patrick.oppenlander

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=CAN30aBEd2vNX9iknXcAyDOip6N5vQCOXvh8Pwi8Cc9GJYrBgKw@mail.gmail.com \
    --to=emacsray@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=patrick.oppenlander@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).