path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2011-11-04kernel/linux: fix packed attribute in exported headersYann E. MORIN"5-0/+190
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:;a=commitdiff;h=f210735fe2f17a6225432ee3d1239bcf23a8659c (Also, buildroot does the same, BTW) Signed-off-by: "Yann E. MORIN" <>
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" <>
2011-09-12cc/gcc: propagate 4.5.2 patchset to 4.5.3Yann E. MORIN"1-0/+13
Signed-off-by: "Yann E. MORIN" <>
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" <>
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 <> Reported-by: Tor Krill <> Tested-by: Tor Krill <> Signed-off-by: "Yann E. MORIN" <>
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" <>
2011-09-11binutils/binutils: add latest versionYann E. MORIN"4-0/+111
Add patches used by buildroot. Signed-off-by: "Yann E. MORIN" <>
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; Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <>
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; 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" <>
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" <>
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" <> Signed-off-by: "Titus von Boxberg" <>
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" <> Signed-off-by: "Titus von Boxberg" <>
2011-08-22libc/uClibc: portability fixes to install_headersTitus von Boxberg"2-0/+40
Add patch files for uClibc-0.9.30: extra/scripts/ find must be called with path. extra/scripts/unifdef.c: getline is declared in <stdio.h>, use different name. Reported-by: "Guylhem Aznar" <> Reported-by: "Titus von Boxberg" <> Signed-off-by: "Titus von Boxberg" <>
2011-07-06libc/newlib: add latest versionYann E. MORIN"1-0/+25
Signed-off-by: "Yann E. MORIN" <>
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" <>
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: Ron Flory hit the same problem: Anthony's report to the ppl-devel list: Roberto's reply with a link to the fix in the PPL git repo: Signed-Off-By: Anthony Foiani <>
2011-05-02libc/glibc: add 2.13Yann E. MORIN"43-0/+2661
Patchset provided by "Ioannis E. Venetis" <> Signed-off-by: "Yann E. MORIN" <>
2011-05-02libc/glibc: update patchset, add ports patchsetYann E. MORIN"39-0/+2590
Patchset provided by "Ioannis E. Venetis" <> Signed-off-by: "Yann E. MORIN" <>
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" <>
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" <>
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 <>
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 <> Signed-off-by: Esben Haabendal <> [ remove patch from ports] Signed-off-by: "Yann E. MORIN" <>
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" <>
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" <>
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" <> [ fix space-damage] Signed-off-by: "Yann E. MORIN" <>
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 <>
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 <>
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: Signed-off-by: "Yann E. MORIN" <>
2010-11-13cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildrootYann E. MORIN"6-0/+228
Reported-by: M P <> [Yann E. MORIN: add the patch to other 4.4.x] Signed-off-by: "Yann E. MORIN" <>
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" <>
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" <>
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 <>
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" <>
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: Signed-off-by: "Yann E. MORIN" <>
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 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: Signed-off-by: "Yann E. MORIN" <>
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 <> Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong) Signed-off-by: Arnaud Lacombe <>
2010-08-05libc/glibc: let glibc 3.3.6 link correctlyArnaud Lacombe1-0/+12
From;a=commit;f=elf/Makefile;h=7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Author: Ulrich Drepper <>: Commit log: * elf/Makefile ( Adjust the sed script to insert _begin in to newer linker scripts. Signed-off-by: Arnaud Lacombe <>
2010-08-05complibs/ppl: fix PPL build with GMP 5.x.xArnaud Lacombe1-0/+28
From;a=commitdiff;h=9c19bc2b318a35016e0189f9552c98910be37f53 Author: Roberto Bagnara <> 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 <>
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 <> --- 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 <> [ don't show DX and RX versions if disabled] Signed-off-by: "Yann E. MORIN" <>
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: 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 <>
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 <> [ rework patch depth to be -p1] Signed-off-by: "Yann E. MORIN" <>
2010-05-18libc/glibc: fix as/ld checks against recent binutilsYann E. MORIN"1-12/+12
Backported from: Thanks to Khem RAJ for pointing to this fix:
2010-05-16cc/gcc: add latest versionYann E. MORIN"29-0/+1087
Add 4.4.4 and forward-port patchset from 4.4.3
2010-04-07Add basic support for the Blackfin architectureThomas Petazzoni1-0/+32
For uClibc, the name of the Blackfin architecture is 'bfin'. Actually, the naming of the architecture is quite messy: for toolchain tuples and uClibc, it's bfin, but for the kernel, it's blackfin. We've arbitraly choosen to name it "blackfin" in Crosstool-NG. Add Blackfin-related uClibc patch to fix a build failure related to fork() being used in unistd/daemon.c. Yann E. MORIN: Apply the patch to the kernel/linux build script to use 'linux' in the noMMU tuples. See:
2010-04-09libc/newlib: the m68k processor does not like unalignedRemy Bohmer1-0/+23
Disable unaligned access at least for mcpu32, m68010 and m68020. These processors certainly do not like unaligned accesses. Signed-off-by: Remy Bohmer <>
2010-04-07Fix the uClibc clean-up-O_CLOEXEC-handling patchThomas Petazzoni1-1/+1
In the Blackfin case (untested until now), this patch was lacking a leading / at the end of a comment.