public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [crosstool-ng/crosstool-ng] c88bbc: comptools/make: Install 'gmake' symlink
@ 2015-01-11  7:39 Bryan Hundven
  0 siblings, 0 replies; only message in thread
From: Bryan Hundven @ 2015-01-11  7:39 UTC (permalink / raw)
  To: crossgcc

[-- Attachment #1: Type: text/plain, Size: 2568 bytes --]

  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: c88bbca7ab489fc8cf9ca34b9878e8b8be23f668
      https://github.com/crosstool-ng/crosstool-ng/commit/c88bbca7ab489fc8cf9ca34b9878e8b8be23f668
  Author: Bernhard Walle <bernhard@bwalle.de>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M config/companion_tools.in
    M scripts/build/companion_tools/050-make.sh

  Log Message:
  -----------
  comptools/make: Install 'gmake' symlink

We had following problem: We're building a toolchain with an old glibc
version for compatibility with old Linux distributions (glibc 2.9). This
version requires make < 4 to build. However, the configure script of
glibc looks for make in the order "gnumake", "gmake" and "make". So when
"gmake" is available in the system (which is the case on Gentoo Linux
per default, unfortunately), then configure finds the system gmake 4.1
instead of the ct-ng make 3.82.

This patch adds an option to install a symlink so that 'gmake' is also
available in the old version when building toolchains.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>


  Commit: 1a6e9782e2a7239f2534347a4ef5b35542dd4e41
      https://github.com/crosstool-ng/crosstool-ng/commit/1a6e9782e2a7239f2534347a4ef5b35542dd4e41
  Author: Bernhard Walle <bernhard@bwalle.de>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    A patches/gcc/4.7.4/100-hardfloat-ld.patch

  Log Message:
  -----------
  cc/gcc: Fix dynamic linker path for hard float libc

When compiling glibc 2.16 and gcc 4.7.4 with CT_ARCH_FLOAT="hard",
I end up in a dynamic linker called /lib/ld-linux-armhf.so.3, but
gcc compiles the binaries with an ELF interpreter /lib/ld-linux.so.3.
That doesn't work.

This patch (which is included in recent gcc version and also is included
in Linaro 4.7 versions) fixes the problem. I just stripped the ChangeLog

diff from the original commit.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>


  Commit: e549e3cc2a18343c22e757f90c328e9b1e3bcada
      https://github.com/crosstool-ng/crosstool-ng/commit/e549e3cc2a18343c22e757f90c328e9b1e3bcada
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-01-10 (Sat, 10 Jan 2015)

  Changed paths:
    M config/companion_tools.in
    A patches/gcc/4.7.4/100-hardfloat-ld.patch
    M scripts/build/companion_tools/050-make.sh

  Log Message:
  -----------
  Merge pull request #25 from bhundven/patchworks-bernhard_walle

Patchwork bernhard walle


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/aa5cfc5f8f23...e549e3cc2a18

[-- Attachment #2: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-11  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-11  7:39 [crosstool-ng/crosstool-ng] c88bbc: comptools/make: Install 'gmake' symlink Bryan Hundven

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).