This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[crosstool-ng/crosstool-ng] c88bbc: comptools/make: Install 'gmake' symlink


  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
--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]