summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2017-02-12Merge pull request #593 from dflogeras/fix-toolchain-typoAlexey Neyman1-1/+1
Fix typo in toolchain.in
2017-02-12Fix typo in toolchain.inDave Flogeras1-1/+1
Signed-off-by: Dave Flogeras <dflogeras2@gmail.com>
2017-02-12Backport mutextattr typo fix to 2.24 and 2.23.2Alexey Neyman2-0/+28
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12Merge pull request #589 from stilor/skip-complibs-check-on-host-canadianAlexey Neyman7-12/+75
Skip complibs check on host for canadian
2017-02-12Merge pull request #590 from stilor/cygwin-old-gcc-glibcAlexey Neyman26-160/+386
Fix Cygwin build of old gcc and glibc
2017-02-12Backport -fPIC patch for CygwinAlexey Neyman2-0/+208
Original patch by: Ray Donnelly <mingw.android@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12Propagate Cygwin stat64 patch to 2.21 and older versionsAlexey Neyman12-0/+156
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12Remove linux patches for R_X86_64_JUMP_SLOTAlexey Neyman10-160/+0
'relocs' is no longer built when installing the headers. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12Add host configuration for cygwin64Alexey Neyman1-0/+11
... backported from newer GCC releases. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12Remove 'relocs' from archscripts being builtAlexey Neyman1-0/+11
... it is not needed to install headers and causes build failures in more than one setup (cygwin, macos). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11Skip comp.libs checking on host for canadianAlexey Neyman6-12/+42
... they all want to run the binaries they produced, which fails when build!=host. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11Make zlib's 'make check' actually fail if test failsAlexey Neyman1-0/+33
Upstream: https://github.com/madler/zlib/pull/225 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11Merge pull request #587 from stilor/select-uclibceavi-suffixAlexey Neyman2-1/+14
Allow one to select uclibceabi/uclibcgnueabi suffix
2017-02-11Merge pull request #586 from stilor/restore-old-kernel-libcAlexey Neyman273-31/+18585
Restore old kernel/glibc versions
2017-02-11Merge pull request #584 from stilor/disallow-gold-for-elf2fltAlexey Neyman5-19/+16
Require BFD linker if building for flat format
2017-02-11Merge pull request #585 from stilor/disable-cxx-gdbAlexey Neyman3-2/+7
Supply --disable-build-with-cxx instead of requiring C++
2017-02-10Merge pull request #582 from elimisteve/patch-1Alexey Neyman1-1/+1
README.md typo: archictecture -> architecture
2017-02-10README.md typo: archictecture -> architectureSteve Phillips1-1/+1
Signed-off-by: Steve Phillips <steve@tryingtobeawesome.com>
2017-02-10Allow one to select uclibceabi/uclibcgnueabi suffixAlexey Neyman2-1/+14
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Supply --disable-build-with-cxx instead of requiring C++Alexey Neyman3-2/+7
... when building native GDB/gdbserver. Suggested by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Remove wrapping if in 300-gdb.shAlexey Neyman1-4/+0
If GDB is turned off, the script will not be even sourced. Otherwise, if GDB checkbox is set but none of the cross/native/gdbserver are selected, debug.sh gives a bogus error message. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Forgot to saveconfig the changes for ARM/elf2flt sampleAlexey Neyman4-15/+16
Hence, it is better to enforce via config rules: elf2flt does not play nice with ld wrapper, when both ld.bfd and ld.gold are present. Limit the choices to just 'ld.bfd' for flat-format architectures. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Add a patch to build 2.15 for ARMAlexey Neyman1-0/+19
Fix from upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Add notes about obsoletion policy for kernel/glibc.Alexey Neyman2-0/+20
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Ports patches for glibc 2.12.1 .. 2.16Alexey Neyman147-373/+7410
Add patches for versions that didn't have them - patches updated/retired as necessary. Also, disallow 2.12.2 for architectures in ports - this version did not have ports addon. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10backport support patch for gcc 5 to glibc 2.13 arm portsClaus Strasburger1-0/+50
Signed-off-by: Claus Strasburger <claus@strasburger.de>
2017-02-10Add Ubuntu {12.04,14.04,16.04} configs.Alexey Neyman12-0/+72
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Add CentOS6/7 sample configsAlexey Neyman8-0/+48
Signed-off-by: Alexey Neyman <stilor@att.net>