summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2011-12-30libc/uClibc: add latest versionYann E. MORIN"1-0/+40
Add 0.9.32.1 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-12-14binutils/binutils: add the patches used by BuildRoot for 2.22Benoît Thébaudeau"4-0/+148
Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2011-11-13kernel/linux: missed porting the 3.0.8 patchset to 3.0.9Yann E. MORIN"1-0/+0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-04kernel/linux: fix packed attribute in exported headersYann E. MORIN"1-0/+38
UBI headers (and maybe others as well) are broken because the 'packed' attribute is not sanitised when the headers are exported to userspace. Apply the fix from upstream: https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f210735fe2f17a6225432ee3d1239bcf23a8659c (Also, buildroot does the same, BTW) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-31cc/gcc: libgcc_eh.a may be required, even from the stage-1 compilerYann E. MORIN"24-0/+901
Building uClibc with libubacktrace requires libgcc_eh.a to be available, but gcc does not build it unless it is configured to generate shared libs. However, libgcc_eh.a does not *require* shared libs support, as it is a static library. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12cc/gcc: propagate 4.5.2 patchset to 4.5.3Yann E. MORIN"1-0/+13
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-02cc/gcc: propagate 4.3.5 patchset to 4.3.6Yann E. MORIN"30-0/+1348
They applied cleanly with only offsets Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-31libc/uClibc: add patch to fix fork in threads with ARM EABIYann E. MORIN"1-0/+29
uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace is enabled. As this is not the default, provide a workaround to disable linking with libgcc_eh.a if libubacktrace is not selected. This will however still break if uClibc is configured to enable libubacktrace, but it requires a fix in gcc, and we can take care of that later. Reported-by: Grant Edwards <grant.b.edwards@gmail.com> Reported-by: Tor Krill <tor@codeknot.com> Tested-by: Tor Krill <tor@codeknot.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12libc/uClibc: workaround for a MIPS TLS issueYann E. MORIN"1-0/+40
Some macros declarations were missing, so we duplicate them. See the added patch description for more information. ----> THIS IS A DIRTY HACK! <---- Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11binutils/binutils: add latest versionYann E. MORIN"4-0/+111
Add patches used by buildroot. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"51-0/+0
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; http://sourceware.org/ml/binutils/2011-08/msg00198.html Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"29-1236/+0
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; http://sourceware.org/ml/binutils/2011-08/msg00198.html Old versions are no-longer available since the rename (eg. 2.19 has been superseeded by 2.19.1, and only 2.19.1a was regenerated). Remove now-missing versions. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11debug/gdb: rename patch directoriesYann E. MORIN"9-0/+0
Missed renaming the patch directories after the version renames... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-22debug/ltrace: Fix HOST_OS and arTitus von Boxberg"3-0/+54
HOST_OS really is the target OS. Allow setting it for configure via an environment variable. libltrace.a should have an index: Allow ar to be set as an environment variable, and generate an index in this lib. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22debug/gdb: correct compilation error when stpcpy is a defineTitus von Boxberg"1-0/+12
On OSX stpcpy is a define which is not recognized by gdb's configure. This results in a compilation error. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22libc/uClibc: portability fixes to install_headersTitus von Boxberg"2-0/+40
Add patch files for uClibc-0.9.30: extra/scripts/install_headers.sh: find must be called with path. extra/scripts/unifdef.c: getline is declared in <stdio.h>, use different name. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Reported-by: "Titus von Boxberg" <titus@v9g.de> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-07-06libc/newlib: add latest versionYann E. MORIN"1-0/+25
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-26libc/uClibc: add latest release 0.9.32 + patchsetYann E. MORIN"6-0/+341
The patchset was obtained by dumping each changeset on the upstream 0.9.32 branch since the release: git log v0.9.32..origin/0.9.32 |sed -r -e '/^commit/!d; s/.* //;' |tac and then creating a patch from each changeset. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-19complibs/ppl: fix 0.11-0.11.2 to compile with --disable-sharedAnthony Foiani3-0/+84
PPL 0.11 (through 0.11.2) had a small bug where it still tried to build and test its Java interface even when shared libraries are disabled. Since that's exactly what ct-ng does, it explodes. This is the patch from the PPL authors (see final link below). More information can be found in these messages/threads: Anthony's initial report and analysis with Yann: http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html Ron Flory hit the same problem: http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html Anthony's report to the ppl-devel list: http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html Roberto's reply with a link to the fix in the PPL git repo: http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
2011-05-02libc/glibc: add 2.13Yann E. MORIN"43-0/+2661
Patchset provided by "Ioannis E. Venetis" <venetis@mail.capsl.udel.edu> http://sourceware.org/ml/crossgcc/2011-04/msg00072.html http://sourceware.org/ml/crossgcc/2011-04/msg00073.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-02libc/glibc: update patchset, add ports patchsetYann E. MORIN"39-0/+2590
Patchset provided by "Ioannis E. Venetis" <venetis@mail.capsl.udel.edu> http://sourceware.org/ml/crossgcc/2011-04/msg00072.html http://sourceware.org/ml/crossgcc/2011-04/msg00073.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-16cc/gcc: add latest versionYann E. MORIN"31-0/+1079
Propagate the gcc-4.4.5 patchset to the newly added gcc-4.4.6. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-06libc/glibc: remove duplicate patchYann E. MORIN"1-47/+0
Remove a now obsolete patch for glibc-2.9 (a better one has just been contributed by Esben). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-06libc/glibc: workaround for autoconf'ed define of caddr_tEsben Haabendal6-0/+168
When building canadian cross compiler, I have some trouble with configure defining caddr_t as a macro, like: #define caddr_t char * When combined with the types.h where caddr_t is protected together with daddr_t, the typedef of caddr_t breaks. This patch works around it by protecting the caddr_t typedef specifically. I am uncertain as to the real cause and solution to this :-( Signed-off-by: Esben Haabendal <eha@dev.doredevelopment.dk>
2011-04-06libc/glibc: fix cross-compiling to i686Yann E. MORIN"7-42/+204
In OE-lite we use the attached patch for building i686 cross compilers. Thanks to Khem Raj for original patch :-) At the same time, remove the corresponding patch that was in the ports patchset. CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Esben Haabendal <eha@dev.doredevelopment.dk> [yann.morin.1998@anciens.enib.fr: remove patch from ports] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-03libc-glibc: remove 2.3.6Yann E. MORIN"24-1407/+0
This is an obsolete version which is no longer used by any sample (the only user, the ia64 sample, has been removed). It also makes the code path a bit complex, with twists just to accomodate that version. Removing the version will make those twists go away, and will ease commonalisation of glibc and eglibc in the future (hopefully!). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-30cc/gcc: fix building of ecjxYann E. MORIN"3-0/+39
When building ecjx, the compiler for the build system must be used, not for the compiler for the host system. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-03debug/gdb: fix for psim build failure due to -lz in gdb-7.2.Yann E. MORIN"1-0/+15
Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at> [yann.morin.1998@anciens.enib.fr: fix space-damage] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-29libc/eglibc: remove obsolete patchChih-Min Chao1-12/+0
That patch has been applied upstream as r8690. Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
2010-12-22patches/eglibc: remove 100-powerpc-private_futex.patch from trunkBryan Hundven1-15/+0
100-powerpc-private_futex.patch no longer applies to eglibc trunk. This patch was submitted upstream in trunk. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2010-11-13cc/gcc: fix pr42289: incorrect alignment on OABIYann E. MORIN"7-0/+77
Fix building libffi on OABI. Although it has been marked as 4.3-only, it is stil not fixed, and also applies to 4.4.x See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-13cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildrootYann E. MORIN"6-0/+228
Reported-by: M P <buserror@gmail.com> [Yann E. MORIN: add the patch to other 4.4.x] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-31libc/glibc: fix glibc-2.10.1 patchsetIlya A. Volynets-Evenbakh"1-1/+1
There was a missing '#" to a '#define' line.
2010-10-09cc/gcc: add 4.4.5Yann E. MORIN"29-0/+1030
Add 4.4.5, propagate patchset from 4.4.4. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-12cc/gcc: fix 4.4.4 patchsetYann E. MORIN"27-56/+0
Most patches contained two spurious first lines. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-29Make sure that the PTRACE_... symbols are available for ppc/plt.c.Anthony Foiani1-0/+9
On a Fedora 12 x86_64 build/host box, this file was complaining about PTRACE_PEEKTEXT being undefined. Adding in the "ptrace.h" include fixed it. Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
2010-09-19cc/gcc: add 4.3.5Yann E. MORIN"29-0/+1337
4.3.5 is the latest 4.3 version, and probably the last one. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-31binutils/binutils: remove faulty patchYann E. MORIN"2-23/+0
The added code should be conditinal to the target system being !MIPS, but is based on the host system being !MIPS. This is plain wrong, and had not been noticed until now as I never used those binutils versions on MIPS. See: http://sourceware.org/ml/crossgcc/2010-08/msg00192.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-21libc/glibc: repair debugging with gdb (glibc 2.9)Titus von Boxberg1-0/+11
Without this patch, crosstool-ng-built glibc-2.9 prevents debugging any exeutable with gdb. gdb says: [Thread debugging using libthread_db enabled] find_new_threads_callback: cannot get thread info: generic error See also https://bugzilla.redhat.com/show_bug.cgi?id=487212 for a discussion of the bug and the solution.
2010-08-17binutils/binutils: forward-port the patchset from 2.20 to 2.20.1Yann E. MORIN"19-0/+807
Among other things, this should fix the issue reported by Thomas at: http://sourceware.org/ml/crossgcc/2010-08/msg00115.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-05complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0Arnaud Lacombe1-0/+14
This is the change introduced by revision 734 of MPC repository. Author: Paul Zimmermann <Paul.Zimmermann@loria.fr> Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-08-05libc/glibc: let glibc 3.3.6 link correctlyArnaud Lacombe1-0/+12
From http://sourceware.org/git/?p=glibc.git;a=commit;f=elf/Makefile;h=7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Author: Ulrich Drepper <drepper@redhat.com>: Commit log: * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-08-05complibs/ppl: fix PPL build with GMP 5.x.xArnaud Lacombe1-0/+28
From http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=9c19bc2b318a35016e0189f9552c98910be37f53 Author: Roberto Bagnara <bagnara@cs.unipr.it> Revision log: Added support for GMP 5.0. Adapted manually to match and not having to re-generate the configure script. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-07-14complibs/ppl: backout #9f0de857cb05Yann E. MORIN"1-19/+0
The patch breaks the build on most machines, while the purpose of the patch is dubious. So, simply back it out.
2010-07-11complibs/ppl: fix build for MINGWBart vdr Meulen1-0/+19
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> --- patches/ppl/0.10.2/100-update-for-mingw-build.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/ppl/0.10.2/100-update-for-mingw-build.patch
2010-07-11kernel/mingw: add target librariesYann E. MORIN"2-0/+190
Add several development libraries to the build of the mingw cross-compiler to be used on target Libraries: PDCurses (port of the ncurses library) GnuRX (the regex library) DirectX OpenGL Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> [yann.morin.1998@anciens.enib.fr: don't show DX and RX versions if disabled] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-05-29patches/gdb: Fix canadian building of GDB for powerpcMartin Lund3-0/+549
Adds patch for GDB v6.8, v7.0, v7.0.1 to fix canadian cross building of GDB for powerpc. See original patch information here: http://sources.redhat.com/bugzilla/show_bug.cgi?id=9638 The patch is not required for GDB v7.1 (fixed). Tested in canadian combination using mingw32 and powerpc toolchains. Tested to not affect normal cross building of GDB for powerpc target. Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
2010-05-15debug/ltrace: fix LDFLAGS for libsupc++ and libibertyYann E. MORIN"1-0/+16
The configure script correctly detects libsupc++ and libiberty, but in the linker stage it tries to link in both libraries without taking care of the test result. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> [yann.morin.1998@anciens.enib.fr: rework patch depth to be -p1] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-05-18libc/glibc: fix as/ld checks against recent binutilsYann E. MORIN"1-12/+12
Backported from: http://sourceware.org/ml/libc-alpha/2009-09/msg00024.html Thanks to Khem RAJ for pointing to this fix: http://sourceware.org/ml/crossgcc/2010-05/msg00033.html
2010-05-16cc/gcc: add latest versionYann E. MORIN"29-0/+1087
Add 4.4.4 and forward-port patchset from 4.4.3