summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-06Explicitly use gcc for GMPDan McGregor1-0/+3
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>
2017-03-02glibc: hide native c++ executable from buildDan McGregor1-0/+4
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>
2017-03-02Use BUILD_PREFIX and BUILD_SUFFIX for gcc versionDan McGregor1-1/+1
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>
2017-03-02Use configure to find the processor countDan McGregor3-1/+12
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>
2017-03-02Bring in FreeBSD supportDan McGregor3-15/+30
Check for FreeBSD specific issues, it is mostly the same as Darwin. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2017-03-01Merge pull request #626 from stilor/masterAlexey Neyman9-0/+288
Backport the fix from 2.19 for cross-rpcgen on macos
2017-03-01Backport the fix from 2.19 for cross-rpcgen on macosAlexey Neyman9-0/+288
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01Merge pull request #625 from stilor/skip-localedefAlexey Neyman2-1/+13
Skip localedef
2017-03-01Merge pull request #624 from stilor/uclibc-no-cp-TAlexey Neyman3-8/+4
No 'cp -T' on macos
2017-03-01Add a warning in menuconfig about localesAlexey Neyman1-1/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01Skip locale build on CygwinAlexey Neyman1-0/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01Avoid -T, it is not available on macosAlexey Neyman1-3/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01Unobsolete CLooG/ISL versions compatible with 4.9Alexey Neyman2-5/+3
... or it leaves them with no valid choices. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28Merge pull request #619 from stilor/refix-elf2fltAlexey Neyman3-81/+247
Fix elf2flt build on Cygwin in a different way
2017-02-28Macos needs a local ELF header, tooAlexey Neyman2-4/+61
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28Fix elf2flt build on Cygwin in a different wayAlexey Neyman2-81/+190
... after discussion with elf2flt maintainer. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28Merge pull request #622 from stilor/missing-linaro-patchesAlexey Neyman102-127/+8994
Add patches to Linaro GCC
2017-02-28Merge pull request #620 from stilor/require-xzAlexey Neyman3-38/+4
Require xz to be present
2017-02-28Add patches to Linaro GCCAlexey Neyman102-127/+8994
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>
2017-02-28Require xz to be presentAlexey Neyman3-38/+4
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>
2017-02-27Merge pull request #618 from stilor/revert-sed-require-gnu-sedAlexey Neyman23-186/+112
Require GNU sed on macos
2017-02-27Sed version may be reported differentlyAlexey Neyman1-1/+1
Either "GNU sed, version" or "gsed (GNU sed)". Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27Require GNU sedAlexey Neyman7-98/+47
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>
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman22-117/+94
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-27Revert "Fix breakage from sed_r change in some auxiliary scripts"Alexey Neyman5-29/+29
This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
2017-02-23Merge pull request #614 from stilor/elf2flt-cygwinAlexey Neyman2-1/+81
Fix the build of elf2flt on Cygwin
2017-02-23Fix the build of elf2flt on CygwinAlexey Neyman2-1/+81
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>
2017-02-23Merge pull request #375 from jasmin-j/add_tls_configAlexey Neyman2-0/+31
Added new gcc config option CC_GCC_CONFIG_TLS
2017-02-22Merge pull request #613 from stilor/removed-file-still-presentAlexey Neyman2-64/+1
Kill a generated file
2017-02-22Kill a generated fileAlexey Neyman2-64/+1
... and add it to .gitignore. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-21Added new gcc config option CC_GCC_CONFIG_TLSJasmin Jessich2-0/+31
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>
2017-02-21Merge pull request #612 from stilor/linaro-4-5Alexey Neyman1-9/+9
Linaro also has new 4.9 and 5.4 releases
2017-02-21Linaro also has new 4.9 and 5.4 releasesAlexey Neyman1-9/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-20Merge pull request #610 from stilor/linaro-6.3-2017.02Alexey Neyman1-6/+6
Bump Linaro GCC6 to 6.3-2017-02
2017-02-20Merge pull request #609 from stilor/gdb-7.12.1Alexey Neyman9-6/+6
Add GDB 7.12.1
2017-02-20Merge pull request #608 from stilor/static-no-pluginsAlexey Neyman5-177/+60
Disable LTO for static toolchain
2017-02-20Merge pull request #607 from stilor/ncurses-moreAlexey Neyman1-3/+12
Add --disable-database and --with-fallbacks separately
2017-02-19Bump Linaro GCC6 to 6.3-2017-02Alexey Neyman1-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Upgrade GDB 7.11 -> 7.11.1Alexey Neyman5-3/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Upgrade GDB 7.12 -> 7.12.1Alexey Neyman5-3/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Newlib's LTO only makes sense if GCC supports itAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19More garbage collectionAlexey Neyman3-45/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Have LTO depend-on non-static buildsAlexey Neyman2-0/+3
Loading a dynamic library (LTO plugin) from a static binary fails on ArchLinux. It is also prone to break if a system is ever upgraded. Also, disable plugins if not enabled explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Latest GCC has libmpx and Go.Alexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19More GCAlexey Neyman3-34/+16
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Garbage collection for GCC options that are sameAlexey Neyman3-99/+29
... on all supported versions. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-17Add --disable-database and --with-fallbacks separatelyAlexey Neyman1-3/+12
The dependency between them has been removed in Kconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-17Merge pull request #604 from stilor/strace-4.16Alexey Neyman6-29/+35
Strace 4.16
2017-02-17Merge pull request #603 from stilor/fix-zlib-cygwinAlexey Neyman1-0/+30
Fix undefined reference to _wopen on Cygwin
2017-02-17Merge pull request #602 from stilor/uclibc-verbosityAlexey Neyman1-2/+8
Refine previous fix to uClibc verbosity setting