summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2015-10-22musl-libc: backport gcc-6 musl support, add gdb and strace patchesBryan Hundven12-0/+906
This gets gcc and friends working with musl-libc. GDB and Strace patches come from openwrt. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-20Merge pull request #200 from stilor/arm-unwind-uclibcBryan Hundven1-0/+23
Fix link error in arm/uclibc with GCC 5.x
2015-10-16Pick up a fix for glibc-2.22 on sparc32.Alexey Neyman1-0/+21
2015-10-16Fix arm/uclibc; see the description in the patch.Alexey Neyman1-0/+23
This should ideally be upstreamed to uclibc maintainers, but with the last release more than 3 years ago, I wouldn't hold my breath for a fix being released any time soon.
2015-09-15Merge pull request #178 from pkirchhofer/fix-glibc-with-new-gccBryan Hundven1-0/+54
Fix building glibc 2.17 with gcc 5.1+
2015-09-15Fix building glibc 2.17 with gcc 5.1+Philipp Kirchhofer1-0/+54
Backport from glibc 2.20 Fixes error "In function _Unwind_Resume: undefined reference to libgcc_s_resume"
2015-09-13gdb-7.10 upstream fix for build problems if CT_GDB_NATIVE=ykozyilmaz1-0/+52
2015-09-05Merge pull request #151 from jasmin-j/binutils_2_25_1Bryan Hundven4-0/+617
Support binutils V 2.25.1
2015-09-02strace: Add strace-4.10 patches from debianBryan Hundven8-0/+324
https://sources.debian.net/src/strace/4.10-3/debian/patches/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-02ltrace: Sync ltrace patches with debianBryan Hundven8-42/+159
This commit syncs the patches applied to ltrace with debian: https://sources.debian.net/src/ltrace/0.7.3-5/debian/patches/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01Adding patches for binutils version 2.25.1 as copy of 2.25.Jasmin Jessich4-0/+617
Support binutils 2.25.1 in configuration. Note: The patches do apply, but I didn't check the resulting tools. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-08-25gcc/patches: fix linux-unwind.h siginfo incomplete typeBen Gardiner1-0/+112
This changeset fixes an 'incomplete type struct siginfo' error when attempting to build gcc-4.5.3 for mipsel. Signed-off-by: Ben Gardiner <ben.l.gardiner@gmail.com>
2015-07-20Merge pull request #124 from enunes/avrBryan Hundven1-0/+536
avr: add support for AVR avr-libc toolchains
2015-07-14patch glibc 2.11's configure script to support Make 4Konstantin Käfer1-0/+12
2015-06-21binutils: patch to support -C for AVR memory usageErico Nunes1-0/+536
Distribution avr toolchains commonly add a patch to binutils' size to enable a custom "-C" option that shows AVR memory usage. This patch is specific to the AVR architecture. In order to make the crosstool-ng AVR toolchain compatible with existing distribution toolchains, this patch is necessary. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-14patches: No symlinks in patch directoryBryan Hundven2-1/+14
With newer version of the patch program, it no longer follows symlinks: ======================================================================== a/patch-2.7.4-x86_64-1.txz: Upgraded. Patch no longer follows symbolic links to input and output files. This ensures that symbolic links created by git-style patches cannot cause patch to write outside the working directory. For more information, see: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1196 (* Security fix *) ======================================================================== This copies patches/glibc/2.20 to patches/glibc/linaro-2.20-2014.11. This change also closes #51 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02newlib/patch: Add eabihf patchBryan Hundven1-0/+12
This patch gets newlib 1.20.0 to work with eabihf tuple. This commit closes #23 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02Merge pull request #108 from bhundven/new_musl_patchesBryan Hundven10-0/+825
gcc/patches: Add musl patches to gcc 5.1.0
2015-06-02gcc/patches: Add musl patches to gcc 5.1.0Bryan Hundven10-0/+825
This commit adds new musl patches from gcc-6 (in development) to gcc-5.1.0. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02Remove support for experimental patches and musl patchesBryan Hundven42-3852/+0
This functionality was provided so that crosstool-ng could have a further set of patches considered experimental and unsupported. Now that musl-libc support is making it's way upstream in gcc, I'm removing this support and the experimental musl patches. In later commits, backports from gcc upstream will be added to the supported patch sets to support musl-libc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-29ncurses: Add gcc5 build patchBryan Hundven1-0/+39
This patch comes from here: http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070101.html This message explains the error: http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070099.html This commit closes #98 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-04-29debug/ltrace : avoid a gcc 5.1.0 errorDaniel Zimmermann1-0/+25
to avoid a gcc 5.1.0 error add a patch for ltrace 0.7.3 Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
2015-04-14Merge pull request #60 from quarthex/patch-1Bryan Hundven1-1/+1
Do not use strlen to check that a string is empty
2015-04-08Merge pull request #37 from bhundven/so_long_to_eglibcBryan Hundven8-606/+0
So long to eglibc
2015-03-15Do not use strlen to check that a string is emptyRomain1-1/+1
Here, the exact size of a not empty string is useless.
2015-02-03Merge pull request #43 from bwalle/glibc-2.16-ghostBryan Hundven1-0/+222
libc/glibc: Add patch to fix CVE-2015-0235
2015-02-03libc/glibc: Add patch to fix CVE-2015-0235Bernhard Walle1-0/+222
This patch fixes the so-called "GHOST" buffer overflow in glibc 2.16. See http://www.openwall.com/lists/oss-security/2015/01/27/9. Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2015-02-01Add patch to fix building glibc 2.20 on sparcStefan2-0/+15
This actually comes from upstream: https://sourceware.org/ml/libc-alpha/2014-09/msg00317.html It is needed for plain glibc as well as linaro's version. A symlink is added for the latter's version 2.20-2014.11. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
2015-01-28eglibc: Remove eglibc supportBryan Hundven8-606/+0
As posted on http://www.eglibc.org/ ==================== EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC. ==================== I'm not interested in maintaining build support for unsupported software. Older branches of crosstool-ng continue to have eglibc support. If you find issues with older branches, I'm always open to pull requests. Removing eglibc also frees up glibc cleanup and build optimization. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-01-26Merge pull request #26 from bhundven/patchwork-andreas-bießmannBryan Hundven1-0/+12
uClibc: fix darwin build
2015-01-14Merge pull request #32 from manni83/e500v2Bryan Hundven3-0/+168
Adding upstream patches of powerpc-e500v2-linux-gnuspe
2015-01-11Merge pull request #25 from bhundven/patchworks-bernhard_walleBryan Hundven1-0/+44
Patchwork bernhard walle
2015-01-09cc/gcc: added upstream patches for powerpc-e500v2-linux-gnuspe.Manfred Rudigier3-0/+168
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
2015-01-09Patch newlib-2.xx optimising for space Append flags to CFLAGS_FOR_TARGET ↵Bob Dunlop2-0/+16
rather than replacing.
2015-01-09uClibc: fix darwin buildAndreas Bießmann1-0/+12
uClibc's unifdef tool declares strlcpy(3) which is problematic on OS X. There (and probably on other systems) strlcpy(3) is defined as a macro, re-declaring it here will fail cause the macro expansion will generate an invalid function name. The declaration of strlcpy(3) is however useless cause it is never used in the tool. Also upstream patch 2a021ae81c36f4281883a3195f7ce81504edf978 will remove it. Using that patch here is overkill, cause it rewrites a lot of the unifdef.c code. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
2015-01-09cc/gcc: Fix dynamic linker path for hard float libcBernhard Walle1-0/+44
When compiling glibc 2.16 and gcc 4.7.4 with CT_ARCH_FLOAT="hard", I end up in a dynamic linker called /lib/ld-linux-armhf.so.3, but gcc compiles the binaries with an ELF interpreter /lib/ld-linux.so.3. That doesn't work. This patch (which is included in recent gcc version and also is included in Linaro 4.7 versions) fixes the problem. I just stripped the ChangeLog diff from the original commit. Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2015-01-02binutils: Add binutils-2.25Bryan Hundven3-0/+81
This also updates the patches from 2.24. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-09-02libc/glibc: add patch to avoid caddr_t redefinitionYann E. MORIN1-0/+28
Forward-ported from glibc-2.13. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-31patches/experimental/gcc: Add patches for musl-lib supportBryan Hundven42-0/+3852
The following are experimental patches for gcc that add support for musl-libc. I haven't been able to test every combination, but please test and let me know on the mailing-list or on irc your results! Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: ditch the gcc-4.7 patches] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-31libc/musl: Remove 1.0.3 and 1.1.3. Add 1.0.4.Bryan Hundven6-304/+293
This change removes 1.0.3 and 1.1.3 and linker regession patches for those versions. We add 1.0.4, and a patch needed for gcc-4.9.x which defines `max_align_t'. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-08-08libc/musl: add musl-libc supportBryan Hundven4-0/+304
This patch adds initial support for musl-libc. Musl-libc versions currently supported: * 1.0.3 (Stable) * 1.1.3 (Previous Mainline) * 1.1.4 (Mainline) Futher improvements are needed. * gcc-4.9.x has issues (Might be fixed in musl-1.1.4). * Multilib support is needed. * Checks to make sure paths are correct. * Move to 2-step gcc build. 3-step build is not necessary. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: removed the gcc musl patch, to be added later; removed dead code do_get_arch()] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-03cc/gcc: Add 4.7.4 and 4.8.3Anton Leontiev2-0/+129
Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
2014-06-28patches/uClibc: add uClibc 0.9.33.2 patch to build with recent kernel headersThomas Petazzoni1-0/+393
uClibc 0.9.33.2 has an issue related to __kernel_long and similar types when building with kernel headers >= 3.4. This commit adds a uClibc that fixes this issue, and allows building with recent kernel headers. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-05-11complibs/ppl: Fix build of ppl 0.11.2 with gcc 4.9Bernhard Walle1-0/+95
From: Roberto Bagnara <bagnara@cs.unipr.it> Date: Tue, 29 Apr 2014 19:51:43 +0000 (+0200) Subject: Added missing inclusions. Use std::ptrdiff_t. X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff;h=61d4e14dfd9f1121e9b4521dead5728b2424dd7c Added missing inclusions. Use std::ptrdiff_t. (Thanks to Paulo Cesar Pereira de Andrade.) Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Message-Id: <5632a171e7c1dc4c0fb5.1399806148@euler.fritz.box> Patchwork-Id: 347777
2014-02-22patches/binutils: Update patches from 2.22 to 2.24Bryan Hundven3-0/+76
This updates the patches in 2.22 to 2.24. Some removed as they were applied upstream. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Message-Id: <9fb77800ae1d5f14cbf5.1393055637@Bryans-MacBook-Pro.local> Patchwork-Id: 323130
2014-04-18cc/gcc: fix the PR58595 patchYann E. MORIN"1-1/+1
It applies manually with fuzz 2, but ct-ng does not accept any fuxx at all. So, re-diff the patch so it applies cleanly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-04-17cc/gcc: add some bug fixes to gcc 4.7.3 and 4.8.2Yann E. MORIN"3-0/+232
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-02-19debug/ltrace: pump ltrace to version 0.7.3Daniel Zimmermann1-0/+42
pump ltrace to version 0.7.3 backport a patch from Peter Wu to silence warnings/errors in ltrace Signed-off-by: '"Peter Wu" <lekensteyn@gmail.com>' Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>' [yann.morin.1998@free.fr: remove superfluous empty lines] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <8349c35b506aa79c4e69.1392845765@haus-VirtualBox> Patchwork-Id: 322017
2014-01-16libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and laterDaniel Schultze1-0/+16
Make 3.82 broke makefiles that used implicit and explicit rules on the same line. This was a undocumented feature that broke many makefiles. This patch removes the offending rule and replaces it with two separate rules. Signed-off-by: Daniel Schultze <kinglag@gmail.com> [yann.morin.1998@free.fr: make it a crosstool-ng patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <CAEsx0Y-PDK7g6XanR=GRWT-8efMX=qAuB4Ub7wakF5sH=tQGxA@mail.gmail.com> Patchwork-Id: 311876
2013-11-21cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2Daniel Zimmermann3-0/+78
Fix the problem with parallel build on gcc 4.8.0, 4.8.1 and 4.8.2 See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683 and http://gcc.gnu.org/viewcvs?rev=205189&root=gcc&view=rev Log: 2013-11-21 Zhenqiang Chen <zhenqiang.chen@linaro.org> PR bootstrap/57683 Backport from mainline: r197467 and r198999. 2013-04-03 Jeff Law <law@redhat.com> * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). (lra-eliminations.o): Likewise. 2013-05-16 Jeff Law <law@redhat.com> * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com> Message-Id: <66398633eea949023e0d.1385290839@haus-VirtualBox> Patchwork-Id: 293742