summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2017-05-14Fix sh4-*-linux with GCC7Alexey Neyman2-0/+361
GCC7 also checks -fsanitize=divide-by-zero, which generates a trap and in sh4, traps in rtld result in link failure. Pull the fix from upstream, although it is not a complete fix, I think: this still generates a trap (SIGILL) rather than the intended SIGFPE. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Patches for glibc to compile with GCC7Alexey Neyman40-0/+2223
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-12Add patch to uClibc-ng that allows building with GCC7Alexey Neyman5-0/+305
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-12Add GCC 7.1.0Alexey Neyman10-0/+356
Removed patches either picked up upstream, or no longer applicable (boehm-gc no longer part of GCC). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-11Sort out newlib patchesAlexey Neyman35-23/+832
- Existing 110-fix-eabihf.patch did not apply to 1.20.0 and earlier - This patch is also applicable to 2.x versions - The patch needs to be applied to both configure.in/configure - Existing 200-optimising-for-space.patch also applies to all versions before 2.4.0 - Similar issues exist in other config/mt-* files - m68k patch is applicable to 2.* versions Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-20elf2flt: patch has been accepted upstreamAlexey Neyman1-111/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-19Merge pull request #639 from stilor/tweak-gcc-movelibsAlexey Neyman9-0/+386
When moving gcc libs, prefer the same directory as libc
2017-03-15Make uClibc-ng search multilib dir if one is setAlexey Neyman4-0/+176
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-12Merge pull request #643 from stilor/macos-mingw-malloc.hAlexey Neyman15-0/+461
mingw-w64: no <malloc.h> on macos
2017-03-12Fix library search paths on PowerPCAlexey Neyman5-0/+210
binutils 2.23 and earlier are not affected, they had the correct code. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-11Only include <malloc.h> if configure says it existsAlexey Neyman15-0/+461
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-11Merge pull request #641 from stilor/arm-glibc-2.13Alexey Neyman12-0/+840
Add ARM patches for 2.12.2/2.13
2017-03-10Patch from upstream fixing dlopen from a static appAlexey Neyman1-0/+56
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-10Add ARM patches for 2.12.2/2.13Alexey Neyman12-0/+840
Reported-by: Austin Beer (brainwave64) Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-09Merge pull request #637 from stilor/macos-sparc-glibcAlexey Neyman17-0/+803
SPARC glibc (possibly others) misconfigured on macos
2017-03-09Fix unifdef in Linux 2.6.32 on macosAlexey Neyman1-0/+11
... 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-09Patch failing grep expression in glibc configureAlexey Neyman17-0/+803
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-07Merge pull request #627 from dankm/freebsdAlexey Neyman16-208/+0
FreeBSD build support
2017-03-06Drop the stat64 Cygwin patchDan McGregor16-208/+0
It's not needed now that it's been moved to glibc.sh Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2017-03-05Backport patches to glibc 2.14+Alexey Neyman65-0/+6578
... fix building on ARM. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-04Pick up new revision in elf2fltAlexey Neyman3-247/+111
... and updated cygwin patch. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-04Add binutils 2.28Alexey Neyman9-0/+612
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-01Fix uClibc{,-ng} build on macosAlexey Neyman4-0/+119
Signed-off-by: Alexey Neyman <stilor@att.net>
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-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-28Add patches to Linaro GCCAlexey Neyman101-121/+8991
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-23Fix the build of elf2flt on CygwinAlexey Neyman1-0/+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-19Upgrade GDB 7.11 -> 7.11.1Alexey Neyman4-0/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Upgrade GDB 7.12 -> 7.12.1Alexey Neyman4-0/+0
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-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 Neyman1-0/+33
Skip complibs check on host for canadian
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-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-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-10Ports patches for glibc 2.12.1 .. 2.16Alexey Neyman145-368/+7401
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-10Revert "patches: remove obsolete glibc patches"Alexey Neyman145-0/+11036
This partially reverts commit 429b3e884662a3b9a72890aae23865501e66330f. 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-06Pick up upstream fixesAlexey Neyman1-294/+0
... including zlib fix in configure, needed to build canadian crosses with elf2flt. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-06Merge pull request #575 from stilor/ncurses-configureAlexey Neyman1-0/+22
Allow some tunables for ncurses
2017-02-06Merge pull request #576 from stilor/update-kernel-libcAlexey Neyman4-0/+86
Update kernel & glibc
2017-02-06Merge pull request #574 from stilor/uclibc-obstackAlexey Neyman1-0/+41
3 unrelated uClibc changes, see individual commits
2017-02-06Add glibc 2.25Alexey Neyman4-0/+86
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05Patch elf2flt to link libz lastAlexey Neyman1-0/+294
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05Allow some tunables for ncursesAlexey Neyman1-0/+22
- 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-05Use 'make olddefconfig' in uClibc/uClibc-ng configurationAlexey Neyman1-0/+41
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>