Commit Graph

4053 Commits

Author SHA1 Message Date
Alexey Neyman
f0716643b4 Garbage collection for GCC options that are same
... on all supported versions.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 18:36:34 -08:00
Alexey Neyman
a417c31875 Add --disable-database and --with-fallbacks separately
The dependency between them has been removed in Kconfig.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-17 12:07:39 -08:00
Alexey Neyman
eb8c9024b4 Merge pull request #604 from stilor/strace-4.16
Strace 4.16
2017-02-17 10:42:31 -08:00
Alexey Neyman
16b1bdb894 Merge pull request #603 from stilor/fix-zlib-cygwin
Fix undefined reference to _wopen on Cygwin
2017-02-17 10:42:22 -08:00
Alexey Neyman
f45093a18a Merge pull request #602 from stilor/uclibc-verbosity
Refine previous fix to uClibc verbosity setting
2017-02-17 10:42:05 -08:00
Alexey Neyman
4d17f393bd Add strace 4.16
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16 12:50:21 -08:00
Alexey Neyman
5ea3f2967f Fix breakage from sed_r change in some auxiliary scripts
... do not overquote the variables from paths.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16 12:45:51 -08:00
Alexey Neyman
1aa427719c Fix undefined reference to _wopen on Cygwin
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-15 22:49:21 -08:00
Alexey Neyman
4caece0128 Refine previous fix to uClibc verbosity setting
The V={1,2} have opposite meaning in uClibc and uClibc-ng, reflect that.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-15 22:45:07 -08:00
Alexey Neyman
2d1b469f88 Merge pull request #599 from stilor/avoid-gettext-for-linux-host
Skip gettext/libiconv on linux-gnu
2017-02-15 20:37:21 -08:00
Alexey Neyman
2f052394a5 Merge pull request #596 from stilor/sed-vs-gsed
Determine whether -E/-r option selects extended regexp
2017-02-15 20:36:39 -08:00
Alexey Neyman
07e03aed8c Skip gettext/libiconv on linux-gnu
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-14 22:45:56 -08:00
Alexey Neyman
7bcf18bfab Determine whether -E/-r option selects extended regexp
... 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-13 22:47:40 -08:00
Alexey Neyman
fbc6932308 Merge pull request #594 from stilor/wget-vs-curl
Select wget vs curl, BSD stat vs GNU stat
2017-02-13 22:45:45 -08:00
Alexey Neyman
c440a13a82 Merge pull request #595 from stilor/binutils-mutextattr
Backport mutextattr typo fix to 2.24 and 2.23.2
2017-02-13 21:20:52 -08:00
Alexey Neyman
f9bec4ed7c stat: determine whether it is BSD or GNU flavor
Seems like MacOS may have either in the path.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12 22:02:28 -08:00
Alexey Neyman
41ba1d99c8 Update config.{guess,sub} while testing curl
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12 22:02:28 -08:00
Alexey Neyman
35f89c4064 Detect both wget/curl and allow user to select the agent
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12 22:02:23 -08:00
Alexey Neyman
6f7c83fc3d Merge pull request #593 from dflogeras/fix-toolchain-typo
Fix typo in toolchain.in
2017-02-12 14:44:49 -08:00
Dave Flogeras
0aa0701fcd Fix typo in toolchain.in
Signed-off-by: Dave Flogeras <dflogeras2@gmail.com>
2017-02-12 17:47:33 -04:00
Alexey Neyman
8bef083201 Backport mutextattr typo fix to 2.24 and 2.23.2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12 11:40:22 -08:00
Alexey Neyman
c31ed45a65 Merge pull request #589 from stilor/skip-complibs-check-on-host-canadian
Skip complibs check on host for canadian
2017-02-12 11:19:31 -08:00
Alexey Neyman
5676c72d52 Merge pull request #590 from stilor/cygwin-old-gcc-glibc
Fix Cygwin build of old gcc and glibc
2017-02-12 11:19:18 -08:00
Alexey Neyman
7b86176b77 Backport -fPIC patch for Cygwin
Original patch by: Ray Donnelly <mingw.android@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 16:59:43 -08:00
Alexey Neyman
39e77a3d34 Propagate Cygwin stat64 patch to 2.21 and older versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 16:35:28 -08:00
Alexey Neyman
b620a5faae Remove linux patches for R_X86_64_JUMP_SLOT
'relocs' is no longer built when installing the headers.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 16:21:54 -08:00
Alexey Neyman
5415d7ab62 Add host configuration for cygwin64
... backported from newer GCC releases.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 16:20:59 -08:00
Alexey Neyman
7e6392a872 Remove 'relocs' from archscripts being built
... 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-11 16:20:53 -08:00
Alexey Neyman
c8e8281533 Skip comp.libs checking on host for canadian
... they all want to run the binaries they produced, which fails
when build!=host.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 12:49:48 -08:00
Alexey Neyman
7dfae65ce9 Make zlib's 'make check' actually fail if test fails
Upstream: https://github.com/madler/zlib/pull/225

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 12:14:33 -08:00
Alexey Neyman
57e1e7e742 Merge pull request #587 from stilor/select-uclibceavi-suffix
Allow one to select uclibceabi/uclibcgnueabi suffix
2017-02-10 23:55:47 -08:00
Alexey Neyman
4d49730711 Merge pull request #586 from stilor/restore-old-kernel-libc
Restore old kernel/glibc versions
2017-02-10 23:55:33 -08:00
Alexey Neyman
93db580091 Merge pull request #584 from stilor/disallow-gold-for-elf2flt
Require BFD linker if building for flat format
2017-02-10 23:55:16 -08:00
Alexey Neyman
e6a748c06a Merge pull request #585 from stilor/disable-cxx-gdb
Supply --disable-build-with-cxx instead of requiring C++
2017-02-10 23:54:50 -08:00
Alexey Neyman
3eed0ca096 Merge pull request #582 from elimisteve/patch-1
README.md typo: archictecture -> architecture
2017-02-10 00:45:04 -08:00
Steve Phillips
b1b128158f README.md typo: archictecture -> architecture
Signed-off-by: Steve Phillips <steve@tryingtobeawesome.com>
2017-02-10 00:32:41 -08:00
Alexey Neyman
0468f8daf1 Allow one to select uclibceabi/uclibcgnueabi suffix
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 23:48:56 -08:00
Alexey Neyman
5920157fdd Supply --disable-build-with-cxx instead of requiring C++
... when building native GDB/gdbserver.

Suggested by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 22:14:36 -08:00
Alexey Neyman
a41978b95a Remove wrapping if in 300-gdb.sh
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-09 21:21:57 -08:00
Alexey Neyman
973664c906 Forgot to saveconfig the changes for ARM/elf2flt sample
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-09 21:21:57 -08:00
Alexey Neyman
4ccbf49d11 Add a patch to build 2.15 for ARM
Fix from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
cc3432c4d6 Add notes about obsoletion policy for kernel/glibc.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
5273394f55 Ports patches for glibc 2.12.1 .. 2.16
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-09 18:05:36 -08:00
Claus Strasburger
b5dc6e6c26 backport support patch for gcc 5 to glibc 2.13 arm ports
Signed-off-by: Claus Strasburger <claus@strasburger.de>
2017-02-09 18:05:36 -08:00
Alexey Neyman
7ba7707959 Add Ubuntu {12.04,14.04,16.04} configs.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
01ce37fa09 Add CentOS6/7 sample configs
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
3582f42858 Fix typo
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
5e0b489b12 External addons supported by glibc even now
... though none are provided by default.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
ac4a37c8c4 Revert "patches: remove obsolete glibc patches"
This partially reverts commit 429b3e8846.

Bring back the patches for glibc 2.12 and newer. Propagate/refresh
some patches as needed.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
fb6fe0d70b Revert "glibc: Clean out old glibc versions"
This partially reverts commit 88e8852ccd.

Bring back releases 2.12 and newer of glibc, along with the associated
Kconfig machinery. Simplify it slightly.
2017-02-09 18:05:36 -08:00