public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Alexey Neyman <noreply@github.com>
To: crossgcc@sourceware.org
Subject: [crosstool-ng/crosstool-ng] de76f7: ARC: Support building of multi-lib Glibc toolchain
Date: Mon, 23 Dec 2019 23:17:00 -0000	[thread overview]
Message-ID: <crosstool-ng/crosstool-ng/push/refs/heads/master/e0a63b-be5d03@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: de76f7cc82eedac5653283a99c1c7083d7a0d43b
      https://github.com/crosstool-ng/crosstool-ng/commit/de76f7cc82eedac5653283a99c1c7083d7a0d43b
  Author: Alexey Brodkin <abrodkin@synopsys.com>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    A samples/arc-multilib-linux-gnu/crosstool.config
    A samples/arc-multilib-linux-gnu/reported.by
    M scripts/build/arch/arc.sh

  Log Message:
  -----------
  ARC: Support building of multi-lib Glibc toolchain

From GCC's standpoint ARC's multilib items are defined by "mcpu" values
which we have quite a few and for all of them might be built optimized
cross-toolchain.

From Glibc's standpoint multilib is just multi-ABI [1] and so very limited
versions are supposed to co-exist (e.g. arc700 & archs).

Here we force Glibc to install libraries in GCC's multilib folder to create
a universal cross-toolchain that has libs optimized for multiple CPU types.

But note we only need to mess with installation paths in case of real
multilib, otherwise we keep default "lib/" paths so that GCC finds default
(the one and only) libs where it expects them to be.

Also here we add a sample which allows to build universal Glibc Linux
toolchain for ARC.

[1] https://sourceware.org/ml/libc-alpha/2019-06/msg00018.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>


  Commit: be5d0317d23ce7d3c4eb497d21ec7c27b0acf6de
      https://github.com/crosstool-ng/crosstool-ng/commit/be5d0317d23ce7d3c4eb497d21ec7c27b0acf6de
  Author: Alexey Neyman <stilor@att.net>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

  Changed paths:
    A samples/arc-multilib-linux-gnu/crosstool.config
    A samples/arc-multilib-linux-gnu/reported.by
    M scripts/build/arch/arc.sh

  Log Message:
  -----------
  Merge pull request #1201 from abrodkin/topic-glibc-multilib

ARC: Support building of multi-lib Glibc toolchain


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/e0a63b854608...be5d0317d23c

                 reply	other threads:[~2019-12-23 23:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=crosstool-ng/crosstool-ng/push/refs/heads/master/e0a63b-be5d03@github.com \
    --to=noreply@github.com \
    --cc=crossgcc@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).