aboutsummaryrefslogtreecommitdiff
path: root/patches
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: bump to ncurses-6.0Bryan Hundven2015-11-1613-39/+95758
| | | | | | | | | This commit removes ncurses-5.9 and adds 6.0. I also provide the stable patch updates in patches/ncurses/6.0. I have also added an experimental toggle for enabling the new ABI support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Update to uClibc-ng-1.0.9Bryan Hundven2015-11-151-34/+0
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #253 from jcmvbkbc/xtensa-for-mainline-20151113Bryan Hundven2015-11-1313-0/+3246
|\ | | | | Add support for Xtensa architecture
| * gdb: add xtensa-specific patches for 7.10Max Filippov2015-11-133-0/+105
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * gcc: add xtensa-specific patches for 5.2.0Max Filippov2015-11-131-0/+64
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * binutils: add xtensa-specific patches for 2.25.1Max Filippov2015-11-139-0/+3077
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* | file modes: Set files to be non-executableBryan Hundven2015-11-124-0/+0
|/ | | | | | | | | | | | | | I was going to start doing some autoconf work, and noticed that configure.in was executable. Then I noticed Makefile.in was executable. o.O So, I ran ```find . -type f -executable``` and found a bunch of files that shouldn't be set executable. This commit makes them normal files again. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #239 from diorcety-ctng/cc-cygwin-mingw-linuxBryan Hundven2015-11-1210-0/+670
|\ | | | | Canadian cross build = x86_64 Cygwin host = x86_64 MinGW_W64 target = x86_64 GNU/Linux
| * libtool: Update to 2.4.6 and patch for CygwinRay Donnelly2015-11-131-0/+12
| | | | | | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Add gettext and libiconv as companion libsRay Donnelly2015-11-134-0/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. they're needed for the RPC generation in glibc on both Cygwin and MinGW-w64. Neither are built on GNU/Linux and iconv is not built on Darwin. Two patches for gettext are needed, one so that -O0 works and one so that static builds can be made. They can take a good while to build, so if not needed for_host or for_build then they are not built. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * glibc: Cygwin doesn't have stat64Ray Donnelly2015-11-131-0/+13
| | | | | | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * MinGW-w64: winpthreads doesn't have pthread_mutexattr_settypeRay Donnelly2015-11-131-0/+11
| | | | | | | | | | | | It's only used as a hint, so excluding it shouldn't cause any problems. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Cygwin: Define R_X86_64_JUMP_SLOTRay Donnelly2015-11-131-0/+16
| | | | | | | | | | | | This should be upstreamed to Cygwin ideally. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * binutils: Don't link to libfl as it's unnecessaryRay Donnelly2015-11-131-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AM_PROG_LEX sets this for some weird reason; it should look for a program only and not a library. Then later it gets linked to ar, ranlib, dlltool, windres, windmc and itbl-test despite nothing in the code #include'ing FlexLexer.h This isn't a big deal but it did cause a build failure on Cygwin as it triggered a bug with their flex package dependencies which I reported at: https://www.cygwin.com/ml/cygwin/2015-10/msg00433.html Arguably I should remove all traces of LIBLEX in each Makefile.am instead? Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * binutils: Fix typoRay Donnelly2015-11-131-0/+14
| | | | | | | | | | | | | | | | pthread_mutextattr_settype -> pthread_mutexattr_settype .. I'm not sure why this didn't fail everywhere, unless no one has tried to build gold? Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* | gcc: Sync patches with buildrootBryan Hundven2015-11-1258-112/+5062
| | | | | | | | | | | | | | This commit sync gcc patches with buildroot. I found this useful for fixing a few uClibc related issues. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | uClibc: Add support for uClibc-ngBryan Hundven2015-11-121-0/+34
| | | | | | | | | | | | This commit adds uClibc-ng 1.0.8. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | uClibc: Reduce supported versionsBryan Hundven2015-11-1161-3888/+0
|/ | | | | | | | | This commit reduces the number of supported versions to: * 0.9.33.2 * custom location Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #242 from stilor/fix-uclibcBryan Hundven2015-11-101-0/+393
|\ | | | | Restore uClibc-based samples.
| * Restore uClibc samples.Alexey Neyman2015-11-091-0/+393
| | | | | | | | | | | | | | | | | | | | | | | | Commit 1a25115a1851d3defdf4d37825d8a291be078e53 deleted non-GCC related files, including the patch for uClibc to compile with Linux kernels after 3.4. uClibc 0.9.30 patches are not restored by this change (0.9.30 is broken with recent kernels for multiple other breakages in addition to that; if not retired, it needs to be fixed properly). Signed-off-by: Alexey Neyman <stilor@att.net>
* | blackfin: Remove blackfin supportBryan Hundven2015-11-091-32/+0
|/ | | | | | | | | | This commit removes blackfin support. I'm open to re-adding blackfin after crosstool-1.23.0 is released, but it is currently too difficult to port forward to newer versions of gcc and uclibc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Support only the latest branch releases of gccBryan Hundven2015-10-31546-165782/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on https://gcc.gnu.org under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl-libc: backport gcc-6 musl support, add gdb and strace patchesBryan Hundven2015-10-2112-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>
* Merge pull request #200 from stilor/arm-unwind-uclibcBryan Hundven2015-10-191-0/+23
|\ | | | | Fix link error in arm/uclibc with GCC 5.x
| * Fix arm/uclibc; see the description in the patch.Alexey Neyman2015-10-151-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.
* | Pick up a fix for glibc-2.22 on sparc32.Alexey Neyman2015-10-151-0/+21
|/
* Merge pull request #178 from pkirchhofer/fix-glibc-with-new-gccBryan Hundven2015-09-151-0/+54
|\ | | | | Fix building glibc 2.17 with gcc 5.1+
| * Fix building glibc 2.17 with gcc 5.1+Philipp Kirchhofer2015-09-151-0/+54
| | | | | | | | | | | | Backport from glibc 2.20 Fixes error "In function _Unwind_Resume: undefined reference to libgcc_s_resume"
* | gdb-7.10 upstream fix for build problems if CT_GDB_NATIVE=ykozyilmaz2015-09-141-0/+52
|/
* Merge pull request #151 from jasmin-j/binutils_2_25_1Bryan Hundven2015-09-054-0/+617
|\ | | | | Support binutils V 2.25.1
| * Adding patches for binutils version 2.25.1 as copy of 2.25.Jasmin Jessich2015-09-014-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>
* | strace: Add strace-4.10 patches from debianBryan Hundven2015-09-018-0/+324
| | | | | | | | | | | | https://sources.debian.net/src/strace/4.10-3/debian/patches/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | ltrace: Sync ltrace patches with debianBryan Hundven2015-09-018-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>
* gcc/patches: fix linux-unwind.h siginfo incomplete typeBen Gardiner2015-08-251-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>
* Merge pull request #124 from enunes/avrBryan Hundven2015-07-201-0/+536
|\ | | | | avr: add support for AVR avr-libc toolchains
| * binutils: patch to support -C for AVR memory usageErico Nunes2015-06-211-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>
* | patch glibc 2.11's configure script to support Make 4Konstantin Käfer2015-07-141-0/+12
|/
* patches: No symlinks in patch directoryBryan Hundven2015-06-142-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>
* newlib/patch: Add eabihf patchBryan Hundven2015-06-021-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>
* Merge pull request #108 from bhundven/new_musl_patchesBryan Hundven2015-06-0210-0/+825
|\ | | | | gcc/patches: Add musl patches to gcc 5.1.0
| * gcc/patches: Add musl patches to gcc 5.1.0Bryan Hundven2015-06-0210-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>
* | Remove support for experimental patches and musl patchesBryan Hundven2015-06-0242-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>
* ncurses: Add gcc5 build patchBryan Hundven2015-05-291-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>
* debug/ltrace : avoid a gcc 5.1.0 errorDaniel Zimmermann2015-04-291-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>
* Merge pull request #60 from quarthex/patch-1Bryan Hundven2015-04-141-1/+1
|\ | | | | Do not use strlen to check that a string is empty
| * Do not use strlen to check that a string is emptyRomain2015-03-151-1/+1
| | | | | | Here, the exact size of a not empty string is useless.
* | Merge pull request #37 from bhundven/so_long_to_eglibcBryan Hundven2015-04-078-606/+0
|\ \ | |/ |/| So long to eglibc
| * eglibc: Remove eglibc supportBryan Hundven2015-01-278-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>
* | Merge pull request #43 from bwalle/glibc-2.16-ghostBryan Hundven2015-02-031-0/+222
|\ \ | | | | | | libc/glibc: Add patch to fix CVE-2015-0235
| * | libc/glibc: Add patch to fix CVE-2015-0235Bernhard Walle2015-02-031-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>