summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28Merge pull request #619 from stilor/refix-elf2fltHEADmasterAlexey 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
2017-02-16Add strace 4.16Alexey Neyman1-0/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16Fix breakage from sed_r change in some auxiliary scriptsAlexey Neyman5-29/+29
... do not overquote the variables from paths.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16Fix undefined reference to _wopen on CygwinAlexey Neyman1-0/+30
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16Refine previous fix to uClibc verbosity settingAlexey Neyman1-2/+8
The V={1,2} have opposite meaning in uClibc and uClibc-ng, reflect that. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16Merge pull request #599 from stilor/avoid-gettext-for-linux-hostAlexey Neyman2-12/+24
Skip gettext/libiconv on linux-gnu
2017-02-16Merge pull request #596 from stilor/sed-vs-gsedAlexey Neyman22-94/+117
Determine whether -E/-r option selects extended regexp
2017-02-15Skip gettext/libiconv on linux-gnuAlexey Neyman2-12/+24
Previous version by Ray Donnelly was skipping them for all *linux*. This skips it for GLIBC only. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman22-94/+117
... and then use the right option. See the note in scripts/functions on where we should use ${foo} and where just 'foo'; this boils down to whether we can expect the build tools override to be in effect (e.g. in the actual build scripts) or not (i.e. outside of scripts/build). While running in scripts/functions, or in scripts/crosstool-NG.sh the build tools override directory (.build/tools/bin) may have not been set up (yet, or at all). Also, modify the installed scripts (populate, xldd) accordingly. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-14Merge pull request #594 from stilor/wget-vs-curlAlexey Neyman9-40/+194
Select wget vs curl, BSD stat vs GNU stat
2017-02-14Merge pull request #595 from stilor/binutils-mutextattrAlexey Neyman2-0/+28
Backport mutextattr typo fix to 2.24 and 2.23.2
2017-02-13stat: determine whether it is BSD or GNU flavorAlexey Neyman3-5/+88
Seems like MacOS may have either in the path. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-13Update config.{guess,sub} while testing curlAlexey Neyman2-2/+8
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-13Detect both wget/curl and allow user to select the agentAlexey Neyman6-33/+98
Signed-off-by: Alexey Neyman <stilor@att.net>