Commit Graph

490 Commits

Author SHA1 Message Date
Alexey Neyman
a6b6bb7a57 elf2flt: patch has been accepted upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-20 00:18:14 -07:00
Alexey Neyman
89f0971391 Merge pull request #639 from stilor/tweak-gcc-movelibs
When moving gcc libs, prefer the same directory as libc
2017-03-19 00:34:51 -07:00
Alexey Neyman
75d968ad54 Make uClibc-ng search multilib dir if one is set
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-15 01:08:48 -07:00
Alexey Neyman
a3dd55b964 Merge pull request #643 from stilor/macos-mingw-malloc.h
mingw-w64: no <malloc.h> on macos
2017-03-12 00:42:09 -08:00
Alexey Neyman
cba1962200 Fix library search paths on PowerPC
binutils 2.23 and earlier are not affected, they had the correct code.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-11 20:26:26 -08:00
Alexey Neyman
0b566d687f Only include <malloc.h> if configure says it exists
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-11 15:36:39 -08:00
Alexey Neyman
af2c6c601b Merge pull request #641 from stilor/arm-glibc-2.13
Add ARM patches for 2.12.2/2.13
2017-03-11 13:04:01 -08:00
Alexey Neyman
7329ea51b4 Patch from upstream fixing dlopen from a static app
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-10 15:43:18 -08:00
Alexey Neyman
30e8549e3d Add ARM patches for 2.12.2/2.13
Reported-by: Austin Beer (brainwave64)
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-10 14:37:36 -08:00
Alexey Neyman
6f226b5efe Merge pull request #637 from stilor/macos-sparc-glibc
SPARC glibc (possibly others) misconfigured on macos
2017-03-09 07:43:44 -08:00
Alexey Neyman
7603e24b4f Fix unifdef in Linux 2.6.32 on macos
... which fails to compile due to incompatible prototype for strlcpy()
which isn't even used.

2.6.33 dropped the prototype, so the patch is n/a for newer kernels.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-09 07:40:54 -08:00
Alexey Neyman
3b658d15d3 Patch failing grep expression in glibc configure
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-08 21:21:36 -08:00
Alexey Neyman
ea7f559ef4 Merge pull request #627 from dankm/freebsd
FreeBSD build support
2017-03-07 08:50:43 -08:00
Dan McGregor
a511f73276 Drop the stat64 Cygwin patch
It's not needed now that it's been moved to glibc.sh

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2017-03-06 08:56:40 -06:00
Alexey Neyman
a82b4461f9 Backport patches to glibc 2.14+
... fix building on ARM.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-04 20:14:51 -08:00
Alexey Neyman
6d5ec0c35b Pick up new revision in elf2flt
... and updated cygwin patch.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:54:14 -08:00
Alexey Neyman
0465c8b6f2 Add binutils 2.28
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:37:36 -08:00
Alexey Neyman
526c144909 Fix uClibc{,-ng} build on macos
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01 13:39:53 -08:00
Alexey Neyman
da5e98b60f Backport the fix from 2.19 for cross-rpcgen on macos
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01 00:34:48 -08:00
Alexey Neyman
43fc8224df Macos needs a local ELF header, too
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28 12:00:25 -08:00
Alexey Neyman
bb48575141 Fix elf2flt build on Cygwin in a different way
... after discussion with elf2flt maintainer.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28 11:10:18 -08:00
Alexey Neyman
99283866cc Add patches to Linaro GCC
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-28 00:57:53 -08:00
Alexey Neyman
8397ad2c1a 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>
2017-02-22 22:17:49 -08:00
Alexey Neyman
dd4cf6dde0 Upgrade GDB 7.11 -> 7.11.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 09:37:01 -08:00
Alexey Neyman
92d5c6d159 Upgrade GDB 7.12 -> 7.12.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 09:36: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
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
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
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
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
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
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
acd6066bee Pick up upstream fixes
... including zlib fix in configure, needed to build canadian crosses
with elf2flt.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-06 12:42:10 -08:00
Alexey Neyman
46bfc8a4dc Merge pull request #575 from stilor/ncurses-configure
Allow some tunables for ncurses
2017-02-06 00:04:33 -08:00
Alexey Neyman
ee12992547 Merge pull request #576 from stilor/update-kernel-libc
Update kernel & glibc
2017-02-06 00:03:59 -08:00
Alexey Neyman
a459a33936 Merge pull request #574 from stilor/uclibc-obstack
3 unrelated uClibc changes, see individual commits
2017-02-05 20:42:02 -08:00
Alexey Neyman
e69734cb12 Add glibc 2.25
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 16:10:40 -08:00
Alexey Neyman
fed6287bfa Patch elf2flt to link libz last
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 14:26:09 -08:00
Alexey Neyman
ef841ea312 Allow some tunables for ncurses
- Allow user to specify configure arguments to pass through to host/target
ncurses.
- Checkbox for --disable-database
- String option for --with-fallbacks

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 14:20:01 -08:00
Alexey Neyman
df68f203b4 Use 'make olddefconfig' in uClibc/uClibc-ng configuration
instead of 'make oldconfig' and responding 'y'. This avoids 'Broken pipe'
errors in the log, as well as selects default setting for all options not
explicitly set.

This requires a small fix in the old uClibc. Won't have to maintain that fix
for long though :)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-04 21:16:10 -08:00
Alexey Neyman
675f7bfa4e Remove previous patch to strace
GDB maintainers said, <sgidefs.h> must be provided by C library.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 13:37:52 -08:00
Alexey Neyman
0636034688 Merge pull request #562 from stilor/binutils-patch
Add binutils 2.27 patch
2017-01-26 13:34:28 -08:00
Alexey Neyman
8f267b77ae Fix glibc build with GCC5/6.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
d0569d322b Add gettext 0.19.8.1
Patches:
120 - updated to apply cleanly
140,150 - removed, now upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
4ea47dddfd Add binutils 2.27 patch
https://sourceware.org/bugzilla/show_bug.cgi?id=20531

Reported-by: Floessie
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:35 -08:00