summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2017-05-30Merge pull request #725 from KirillSmirnov/gcc7Alexey Neyman2-0/+56
patches: Add patch that fixes gcc6 with gcc7
2017-05-30Regenerate with --no-renamesAlexey Neyman1-25/+69
... or older patch(1) breaks over it. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-27patches: Fix gcc-linaro-6 with gcc7Kirill K. Smirnov1-0/+28
Duplicate the previous change for linaro version. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-05-27patches: Add patch that fixes gcc6 with gcc7Kirill K. Smirnov1-0/+28
Taken from the openembedded patchset. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-05-25Handle ming32 as a hostAlexey Neyman1-0/+25
zlib refuses to run configure with mingw32 host and insists that win32/Makefile.gcc is used instead. This requires a change in this Makefile to support static-only builds. Fixes #694. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-23Add patch from GCC #80037Alexey Neyman5-0/+65
Fixes #719. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-15Disallow duma/ltrace/strace for bionicAlexey Neyman1-0/+42
Allow cross-gdb and gdbserver. This requires removal of an explicit check that disables gdbserver on android. However, the comment above that check refers to exec_elf.h, which has been removed since API level 19. It builds fine with current selection of the sample (21). Only build-tested, hope someone can give it a try and report back. We can fine tune the check for GDB but I'll leave it for now. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Split the patch from CrystaX to separate commitsAlexey Neyman28-35140/+3100
... and edit the biggest chunk as in previous 950-bionic-android.patch. Also, drop arm_neon.h - it is a separate package, will be added separately. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Add sample Android config, gcc 6.3 patcheshyc3-0/+17647
2017-05-14Fix type mismatch in std::swap() argshyc1-0/+19
2017-05-14Fix for ctype change in NDK 14hyc1-0/+58
2017-05-14Preliminary bionic/Android supporthyc1-0/+17570
Mostly from Crystax NDK
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>