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] 6cb9e6: comptools/make: Fix CT_COMP_TOOLS_make_gmake optio...


  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 6cb9e62f6cc680935ad1b759018e214582b54550
      https://github.com/crosstool-ng/crosstool-ng/commit/6cb9e62f6cc680935ad1b759018e214582b54550
  Author: Bernhard Walle <bernhard@bwalle.de>
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  -----------
  comptools/make: Fix CT_COMP_TOOLS_make_gmake option

Commit 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e broke that option.
Since ${make} points to /usr/bin/make, making the symlink from gmake
to /usr/bin/make is obviously the wrong decision. gmake should link to
our (old-versioned) self-built make.

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


  Commit: 488b27f58bfdb3c9c523448acfa17b51325fec03
      https://github.com/crosstool-ng/crosstool-ng/commit/488b27f58bfdb3c9c523448acfa17b51325fec03
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-20 (Sun, 20 Nov 2016)

  Changed paths:
    M scripts/build/arch.sh
    M scripts/build/binutils/binutils.sh
    M scripts/build/cc/100-gcc.sh
    M scripts/build/companion_libs/100-gmp.sh
    M scripts/build/companion_libs/110-mpfr.sh
    M scripts/build/companion_libs/121-isl.sh
    M scripts/build/companion_libs/130-cloog.sh
    M scripts/build/companion_libs/140-mpc.sh
    M scripts/build/companion_libs/200-libelf.sh
    M scripts/build/companion_libs/210-expat.sh
    M scripts/build/companion_libs/220-ncurses.sh
    M scripts/build/companion_libs/320-libiconv.sh
    M scripts/build/companion_libs/330-gettext.sh
    M scripts/build/companion_tools/050-make.sh
    M scripts/build/companion_tools/100-m4.sh
    M scripts/build/companion_tools/200-autoconf.sh
    M scripts/build/companion_tools/300-automake.sh
    M scripts/build/companion_tools/400-libtool.sh
    M scripts/build/debug/000-template.sh
    M scripts/build/debug/100-dmalloc.sh
    M scripts/build/debug/200-duma.sh
    M scripts/build/debug/300-gdb.sh
    M scripts/build/debug/400-ltrace.sh
    M scripts/build/debug/500-strace.sh
    M scripts/build/internals.sh
    M scripts/build/kernel/linux.sh
    M scripts/build/libc/avr-libc.sh
    M scripts/build/libc/glibc.sh
    M scripts/build/libc/mingw.sh
    M scripts/build/libc/musl.sh
    M scripts/build/libc/newlib.sh
    M scripts/build/libc/uClibc.sh
    M scripts/build/test_suite/gcc.sh
    M scripts/functions

  Log Message:
  -----------
  Partially revert 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.

The referenced commit replaced 'make' with '${make}' everywhere. This is
wrong for at least the utilities that we may build as companion tools
(make, libtool): this will always invoke the version detected by configure
by supplying the absolute path. In other words, the wrappers in
.build/tools/bin are not fallbacks - they are either temporary (in case
a respective companion tool is built) or permanent redirectors.

This is the reason why the PATH= has .build/*/buildtools/bin at higher
precedence than .build/tools/bin; the latter has the versions detected by
configure and the former has the versions built as companion tools.

Revert the rest of the gang (grep/sed/...) for consistency. After all,
we may decide to supply some of them as well (awk, for instance).

Signed-off-by: Alexey Neyman <stilor@att.net>


  Commit: 87bfd55b3b5329c7f306fa291ca5e0950a2c9da1
      https://github.com/crosstool-ng/crosstool-ng/commit/87bfd55b3b5329c7f306fa291ca5e0950a2c9da1
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M config/companion_tools.in
    A config/companion_tools/autoconf.in
    A config/companion_tools/automake.in
    A config/companion_tools/libtool.in
    A config/companion_tools/m4.in
    A config/companion_tools/make.in
    M config/config.mk
    M configure.ac
    M scripts/addToolVersion.sh
    M scripts/build/companion_tools/050-make.sh
    M scripts/build/companion_tools/100-m4.sh
    M scripts/build/companion_tools/200-autoconf.sh
    M scripts/build/companion_tools/300-automake.sh
    M scripts/build/companion_tools/400-libtool.sh

  Log Message:
  -----------
  Give companion tools some love.

Allow selection of make/m4/... version. Support imports of new versions
via addToolVersion.sh. Import newest versions of the companion tools.

One non-trivial change is the handling of make versions. Existing code
was not handling make companion tool as described (see the previous
commit). However, since most modern systems have make 4.x, that previous
commit made crosstool-ng always build make as a companion tool.

This traces back to the commit dd15c93 from 2014. That commit's log message
says that actually it was 3.81 which broke the build for certain component
(it was originally breaking eglibc, but I noticed it was breaking current
glibc on powerpc64), and introduced an option to force using 3.81 by
"components that really need it". It looks like in 2.5 years we haven't
seen any such components that really need make 3.81, and (given that make
has already had a few releases since 3.81) we're unlikely to see them
in the future.

Hence, the configure check is changed from "exactly 3.81" to "3.81 or newer".
In its current form, configure will accept make 3.80+, and will not require
make as a companion tool for 3.81+. We might want to bump the latter check
to even newer version given the claim from dd15c93. Killed
COMP_TOOLS_make_3_81_NEEDED.

Anyway, I retained 3.81 just in case; ditto for m4 1.14.3, autoconf 2.65
and automake 1.11.1.

Signed-off-by: Alexey Neyman <stilor@att.net>


  Commit: 0946ce59a09609b743b7dba40f7212778011f286
      https://github.com/crosstool-ng/crosstool-ng/commit/0946ce59a09609b743b7dba40f7212778011f286
  Author: Alexey Neyman <stilor@att.net>
  Date:   2016-11-22 (Tue, 22 Nov 2016)

  Changed paths:
    M config/companion_tools.in
    A config/companion_tools/autoconf.in
    A config/companion_tools/automake.in
    A config/companion_tools/libtool.in
    A config/companion_tools/m4.in
    A config/companion_tools/make.in
    M config/config.mk
    M configure.ac
    M scripts/addToolVersion.sh
    M scripts/build/arch.sh
    M scripts/build/binutils/binutils.sh
    M scripts/build/cc/100-gcc.sh
    M scripts/build/companion_libs/100-gmp.sh
    M scripts/build/companion_libs/110-mpfr.sh
    M scripts/build/companion_libs/121-isl.sh
    M scripts/build/companion_libs/130-cloog.sh
    M scripts/build/companion_libs/140-mpc.sh
    M scripts/build/companion_libs/200-libelf.sh
    M scripts/build/companion_libs/210-expat.sh
    M scripts/build/companion_libs/220-ncurses.sh
    M scripts/build/companion_libs/320-libiconv.sh
    M scripts/build/companion_libs/330-gettext.sh
    M scripts/build/companion_tools/050-make.sh
    M scripts/build/companion_tools/100-m4.sh
    M scripts/build/companion_tools/200-autoconf.sh
    M scripts/build/companion_tools/300-automake.sh
    M scripts/build/companion_tools/400-libtool.sh
    M scripts/build/debug/000-template.sh
    M scripts/build/debug/100-dmalloc.sh
    M scripts/build/debug/200-duma.sh
    M scripts/build/debug/300-gdb.sh
    M scripts/build/debug/400-ltrace.sh
    M scripts/build/debug/500-strace.sh
    M scripts/build/internals.sh
    M scripts/build/kernel/linux.sh
    M scripts/build/libc/avr-libc.sh
    M scripts/build/libc/glibc.sh
    M scripts/build/libc/mingw.sh
    M scripts/build/libc/musl.sh
    M scripts/build/libc/newlib.sh
    M scripts/build/libc/uClibc.sh
    M scripts/build/test_suite/gcc.sh
    M scripts/functions

  Log Message:
  -----------
  Merge pull request #479 from stilor/gmake-link-fix

Gmake link fix


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/3eb2e351f02d...0946ce59a096
--
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]