path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
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" <> (transplanted from fc967527069089dc376840cd1e51cd26eb56fc32)
2011-01-03debug/gdb: fix for psim build failure due to -lz in gdb-7.2.Horst Kronstorfer1-0/+15
Signed-off-by: "Horst Kronstorfer" <> [ fix space-damage] Signed-off-by: "Yann E. MORIN" <> (transplanted from 78286fe70b62cee395bc603a5e44ef136c4531e3)
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.
2010-04-06complibs/gmp: fix patch against 5.0.1Yann E. MORIN"1-12/+4
2010-03-30complibs: update versionsYann E. MORIN"2-0/+67
GMP : 4.3.2, 5.0.1* CLooG/PPL: 0.15.8 0.15.9 libelf : 0.8.13 *: patch series added
2010-03-30libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPUYann E. MORIN"1-0/+30
As discussed there: Reported by: Sasha Sirotkin <>
2010-03-20cc/gcc: fix building for powerpc for the 4.4.x seriesYann E. MORIN"4-0/+540
Reported by: Thomas Petazzoni Discussions: (search for "copysignl", by kos_tom, blindvt and y_morin)
2010-03-09libc/glibc: add patch to fix binutils version checkYann E. MORIN"1-0/+20
Older glibces were not ready to handle binutils >=2.20. Fix that, and the forseeable future.
2010-02-28libc/uClibc: vampirise patches for from builrootYann E. MORIN"14-0/+1215
Commit in upstream buildroot: Everything on the 0_9_30 branch since the release ( to be)
2010-02-21binutils/binutils: add patch to default emulation for mips64Zhuang Yuyao2-0/+36
2010-01-31cc/gcc: remove 4.3.0Yann E. MORIN"29-1263/+0
gcc-4.3.0 never got !EXPERIMENTAL, and no one either confirmed nor complained.
2010-01-24cc/gcc: add latest 4.4.3, propagate patchset from 4.4.2Yann E. MORIN"28-0/+900
2010-01-15libc/uClibc: rename patches for E. MORIN"2-0/+0
2010-01-14Port uClibc patches to Nilsson5-0/+370
Some patches from now applied upstream. The reminder have been only slightly modified to apply cleanly to the new base. Signed-off-by: Joachim Nilsson <>
2010-01-07libc/uClibc: add patch to fix IP frames on BE targetsYann E. MORIN"1-0/+224
Pack netinet structs to be possible to use for creating IP frames on big-endian targets. Signed-off-by: Joachim Nilsson <> [ removed getline patch, already in] Signed-off-by: "Yann E. MORIN" <>
2010-01-07binutils/binultils: import binutils-2.20 patches from OEJoachim Nilsson6-0/+227
This is a set of patches for binutils-2.20 that have been "ported", or rather shamelessly stolen, from the OpenEmbedded project: Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2 Signed-off-by: Joachim Nilsson <>
2010-01-07complibs/mpfr: add upstream patchesYann E. MORIN"2-0/+255
2010-01-06cc/gcc: add new patch, fixers building on x86 for target armeb (at least!)Yann E. MORIN"3-0/+120
Patch from Ralf Wildenhues: Testing thanks to Joachim Nilsson:
2010-01-06cc/gcc: add patch to fix armeb in gcc-4.4Joachim Nilsson3-0/+96
On x86, gcc-4.4.x breaks when building for target armeb. It is still required to configure with: --disable-shared Note: if building on an x86_64, there is no need to pass --disable-shared
2010-01-03debug/ltrace: Add support for ltrace-0.5.3Joachim Nilsson8-0/+366
From this version of ltrace the maintainer has removed support for GNU Autotools, so the patch sets needed to be reworked. Included is the latest Debian patch, by the Debian ltrace maintainer Juan Cespedes <>, the OpenEmbedded patches for cross compiling, by Khem Raj <> and a further set of patches by Joachim Nilsson <> for crosstool-NG.
2010-01-01cc/gcc: update ptachsets for gcc-4.4.{0,1,2}Yann E. MORIN"3-0/+96
As reported by Joachim Nilsson <> in: It seems I need to add the 4.3.4/290-index_macro.patch to the GCC 4.4.x series as well. I immediately trigger the following libstdc++ bug for 4.4.2 with a uClibc .config which has UCLIBC_SUSV3_LEGACY_MACROS set[1].
2010-01-01debug/strace: fix strace 4.5.19 to properly build with latest Linux kernelsJoachim Nilsson2-0/+178
Here's a couple of patches to get strace 4.5.19 to configure and build properly with the latest kernel headers. Not pretty, but hopefully enough while we wait for 4.5.20 to be released. With the current strace-4.5.19 patches I failed to get the configure script running even on my host environment. Also, when cross building the configure script needs to look for the proper system headers to be able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get: [EXTRA] Building strace [ERROR] /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976: error: field 'nl' has incomplete type [ERROR] make[2]: *** [net.o] Error 1 [ERROR] make[1]: *** [all] Error 2 The fix was simple, backport a change set from the git[1] tree and run autoreconf to update the configure script. [1] -;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
2009-11-25libc/glibc: update 2.10.1 patchsetYann E. MORIN"4-3/+50
According to: update the patchset for correct Alpha build.
2009-11-25patches/glibc: allows glibc2.9 to be compiled with binutils 2.20Frederic Roussel1-0/+37
the configure script had to be modified to accept as/ld at versions greater than 2.19 Signed-off-by: Frederic Roussel <>
2009-11-16libc/uClibc: add new patch to fix NULL pointer dereferenceDoug Kehn1-0/+12
2009-11-13libc/glibc: add 2.10.1Yann E. MORIN"54-0/+4545
Woo... It seems the glibc guys finally decided that tarballs were not deprecated, in fact. The patchset was vampirised from Gentoo (kudos, guys!), and applies to glibc+ports, so that's why it's been added as a patchset against ports, not against glibc.
2009-11-11patches/binutils/2.20: make patches appliableFrederic Roussel7-30/+23
Fix filenames in patch files for binutils-2.20. Some patch files were only usable with patch argument '-p0'. Fix the diff context to match 2.20 release. Signed-off-by: Frederic Roussel <>
2009-10-28Merge.Yann E. MORIN"183-29073/+1569
2009-10-28libc/uClibc: fix building on system with recent glibcZoltan Devai1-0/+30
While trying to build a toolchain with ct-ng 1.5.0, arm-unknown-linux-uclibcgnueabi target, I get the following error: [INFO ] Installing C library headers [EXTRA] Copying sources to build dir [EXTRA] Applying configuration [EXTRA] Building headers [EXTRA] Installing headers [ERROR] extra/scripts/unifdef.c:209: error: conflicting types for 'getline' [ERROR] make[2]: *** [extra/scripts/unifdef] Error 1 [ERROR] Build failed in step 'Installing C library headers' The following patch solves the problem. (It's a backport of this uClibc commit: ) [--SNIP from another mail--] AFAIK this is a problem since glibc 2.10.
2009-10-27config/binutils: add latest version 2.20Yann E. MORIN"14-0/+547
Also add patchset vampirised from Gentoo.