crosstool-ng/scripts
Alexey Brodkin 57f5909285 binutils: Disable glob for better portability
Since glibc 2.27 glob interface was changed [1]  and so
"glob" & "glob64" symbols require glibc 2.27+.

For us that means if we build Binutils on a machine with glibc 2.27+
produced binaries won't be any longer usable on machines with older
glibc.

As an example [2]: build on Ubuntu 18.04 (with glibc 2.27) and try to run
on CentOS 7.x (with glibc 2.17), you'll see this:
---------------------->8-------------------
ldd ld
ld: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by ld)
---------------------->8-------------------

Now given glob is not really used by Binutils itself (only needed by GDB)
and we build Binutils & GDB separately let's make at least Binutils
more portable.

In theory we may even try to do the same hack for GDB forcing it to use
imported glob implementation. But since GDB is now built strictly by C++
compiler we'll get waaay to many incompatibilities due to multiple changes
of C++ ABI in between GCC 7.5 of Ubuntu 18.04 and GCC 4.8.5 of CentOS 7.x,
so there's no point to even try.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ccf970c7a77e86f4f5ef8ecc5e637114b1c0136a
[2] https://github.com/zephyrproject-rtos/sdk-ng/issues/280

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-10-14 23:10:47 +03:00
..
build binutils: Disable glob for better portability 2020-10-14 23:10:47 +03:00
override Add checking for *sum and unzip 2018-04-29 12:06:54 -07:00
upgrade Move GDB build into a common backend function 2019-03-09 18:01:30 -08:00
compile WIP: autotoolization 2018-04-07 12:03:17 -07:00
config.guess Adding new samples s390x/s390-unknown-linux-gnu 2020-08-27 09:51:17 -07:00
config.rpath Use autoconfig-archve/automake tests 2018-04-07 12:02:33 -07:00
config.sub Adding new samples s390x/s390-unknown-linux-gnu 2020-08-27 09:51:17 -07:00
crosstool-NG.sh crosstool-NG: Fix libtool for mangled tuples as all other cross-tools 2020-08-03 13:41:49 +07:00
depcomp WIP: autotoolization 2018-04-07 12:03:17 -07:00
functions Merge branch 'picolibc-multiarch' of git://github.com/keith-packard/crosstool-ng into master 2020-09-20 21:17:28 +12:00
install-sh WIP: autotoolization 2018-04-07 12:03:17 -07:00
ltmain.sh WIP: autotoolization 2018-04-07 12:03:17 -07:00
missing WIP: autotoolization 2018-04-07 12:03:17 -07:00
populate.in Revert "Determine whether -E/-r option selects extended regexp" 2017-02-26 19:06:35 -08:00
saveSample.sh Support out-of-tree local builds 2018-04-07 14:39:56 -07:00
scripts.mk Fix installation of the license file 2018-11-12 01:19:04 -08:00
show-config.sh Use enhanced framework for 'ct-ng update-samples' 2019-02-09 15:55:16 -08:00
show-tuple.sh Support out-of-tree local builds 2018-04-07 14:39:56 -07:00
toolchain-config.in scripts: simplify and fix the toolchain config script 2011-08-19 00:52:05 +02:00
version-check.sh Use enhanced framework for 'ct-ng update-samples' 2019-02-09 15:55:16 -08:00
xldd.in Doc renames & issue template 2017-04-13 00:07:29 -07:00