Age | Commit message (Collapse) | Author | Files | Lines |
|
It picks up gettext string and results in [ERROR] messages from ct-ng
when gettext strings happen inside an error() call.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
--enable-hacker-mode is not sufficient, in 2.25 configure then
fails while checking for sysdeps fragments that apply to a given
configuration, and with that worked around, fails on binutils &
compiler version check.
In brief: if someone wants locales on cygwin/macos, you'd have to
implement cross-localedef (similar to cross-rpcgen) in glibc and
submit it upstream.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
I.e., only to CFLAGS_FOR_BUILD if the build is canadian.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
The latter does not prevent zlib's configure from overriding 'AR' with
/usr/bin/libtool on macos, and that breaks canadian crosses.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Sanitize CT_PREFIX_DIR, too
|
|
It's not needed now that it's been moved to glibc.sh
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
GMP's configure script tries to be too smart, and if it determines
that it's not cross-compiling it chooses gcc or cc instead of the
wrapper we create at the start of the build.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
Having .. in it breaks GCC's relocatability.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Backport patches to glibc 2.14+
|
|
... fix building on ARM.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Final batch of updates before 1.23
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... and updated cygwin patch.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... when we're actually don't.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
If glibc's configure finds the host c++ executable it assumes that
c++ should be enabled for the build. In case we don't have cross g++
built yet (ie, for headers), this causes the build to fail creating
C++ headers. So hide C++ from the build.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
It's possible that "gcc" is not the compiler being used for the build,
so respect BUILD_PREFIX and BUILD_SUFFIX when finding its version.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
configure.ac now finds how to count the CPUs in a system. Currently
the getconf method and sysctl methods are supported. Adding more is
easy enough.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
Check for FreeBSD specific issues, it is mostly the same as Darwin.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
Fix uClibc{,-ng} build on macos
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Backport the fix from 2.19 for cross-rpcgen on macos
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Skip localedef
|
|
No 'cp -T' on macos
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... or it leaves them with no valid choices.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Fix elf2flt build on Cygwin in a different way
|
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
... after discussion with elf2flt maintainer.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Add patches to Linaro GCC
|
|
Require xz to be present
|
|
Same as the base release as long as they applied.
MUSL patches didn't, removed.
Also, unobsolete Linaro GCC5 now that they rolled out a new release.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Some software starts to adopt xz-only distribution (strace,
gcc-linaro, ...). Better that than deal with cryptic errors like
"cannot find strace-.tar.bz2".
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Require GNU sed on macos
|
|
Either "GNU sed, version" or "gsed (GNU sed)".
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
After much struggling with macos (BSD) sed and even getting everything
work in crosstool-ng itself, I had to abandon that because some
components rely on GNU syntax. Specifically, GNU libc uses '/.../{H;g}'
(note absense of the separator after 'g').
So, revert the -r/-E detection and check for sed's being of GNU origin.
MacOS people, sorry, but you'd have to install GNU sed.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
|
|
This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
|
|
Fix the build of elf2flt on Cygwin
|
|
The -lcygwin -lc actually breaks the build: elf2flt picks up the symbols for getopt/optarg via
<getopt.h> in binutils-X.Y/include, where optarg is declared without dllimport attribute.
Therefore it pulls in getopt() from libc/libcygwin, but since optarg is not prefixed with
_imp__, it is pulled from libiberty. But the object file in libiberty also contains getopt()
thus resulting in multiple definitions thereof.
While there, kill extraneous -ldl passed into configure - configure detects -ldl successfully.
Upstream: https://github.com/uclinux-dev/elf2flt/pull/6
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Added new gcc config option CC_GCC_CONFIG_TLS
|
|
Kill a generated file
|
|
... and add it to .gitignore.
Signed-off-by: Alexey Neyman <stilor@att.net>
|
|
Adding new tristate configuration for TLS (Thread Local Storage) to
add "--enable-tls" (y), "--disable-tls" (n) or nothing (m).
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
|
|
Linaro also has new 4.9 and 5.4 releases
|