summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
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] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
2009-11-25libc/glibc: update 2.10.1 patchsetYann E. MORIN"4-3/+50
According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html 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 <fr.frasc@gmail.com>
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 <fr.frasc@gmail.com>
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: http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e ) [--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.
2009-10-28debug/strace: add latest version, unmarkprevious EXPERIMENTALYann E. MORIN"6-0/+226
Also propagate the patchset from 4.5.18 to 4.5.19.
2009-10-20cc/gcc: add latest 4.4.2 version as EXPERIMENTALYann E. MORIN"25-0/+796
2009-10-28debug/gdb: remove old versionsYann E. MORIN"9-1235/+0
2009-10-27config/binutils: remove obsolete experimental versionsYann E. MORIN"20-736/+0
2009-10-28config: rip-out versions marked as OBSOLETEYann E. MORIN"109-27102/+0
2009-10-04libelf: add libelf-0.8.12Yann E. MORIN"1-0/+24
2009-09-28gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compilernyet2-0/+26
2009-09-27gcc: forward port gcc-4.4.0 patchset to 4.4.1Yann E. MORIN"24-0/+783
2009-09-14debug/ltrace: fix build with /exotic/ linux-host OSYann E. MORIN"1-0/+26
For ARM EABI hosts (ct-ng's target), the tupple ends in 'gnueabi' For uClibc-based toolchains, the tuple ends in '-uclibc.*' Make ltrace recognise those tuples as being the same as 'linux-gnu'
2009-09-08gcc: add patch to fix EABI for armv4tYann E. MORIN"5-0/+55
As pointed out by Martin GUY, gcc incorrectly generates armv5t instrcutions for EABI, even for cores that are an armv4t. The new patch (for the 4.3 series) fixes the problem by downgrading the default CPU for EABI to being an armv4t core.
2009-08-08Merge the AVR32 support branch to the default branch.Yann E. MORIN"3-0/+107817
2009-08-06gcc: add support for 4.3.4Thomas Petazzoni27-0/+1313
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-05gcc: add patch to fix PR37436Thomas Petazzoni2-0/+172
When compiling some C++ code, GCC 4.3.x fails with an internal compiler error. The bug report is available at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37436. The included patch is the one that has been merged in the trunk of gcc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-02[complib:mpfr] Fix building MPFR in some weird casesOron Peled1-0/+40
The tmul test uses a compiled-in input file in $(srcdir). The problem is that the Makefile passes it unquoted. The C code tries to stringify it using clever macros, which may *usually* work. In my case the source directory was named: .../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests And guess what? During testing I found out the program fails because it tries to open: .../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests Yes, CPP tokenized the macro before stringifying it and not surprisingly the 'linux' part was converted to 1. [on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)] So the attached patch simplify the macros and pass the path as string from the Makefile.
2009-08-02[comp-lib-gmp] Add latest versionsYann E. MORIN"2-0/+64
Add 4.3.0 and 4.3.1.
2009-08-02[tools-libelf] Add latest version.Yann E. MORIN"1-0/+24
Add libelf 0.8.11, propagate patchset from 0.8.10.
2009-08-02[libc-eglibc] Add latest versionYann E. MORIN"1-0/+49
Add latest branch 2_10.
2009-08-02[debug-ltrace] Add latest version.Yann E. MORIN"3-0/+328
Add ltrace 0.5.2, propagate patchset from 0.5.1 and from Debian.
2009-08-02[debug-duma] Add latest versionsYann E. MORIN"2-0/+51
Add 2.5.15, propagate patchset from 2_5_14 up to 2_5_15.
2009-06-01/devel/gcc-4.4:Yann E. MORIN"1-0/+23
- fix building strace-4.5.18 -------- diffstat follows -------- /devel/gcc-4.4/patches/strace/4.5.18/180-arm-EABI-syscalls.patch | 23 23 0 0 ++++++++++++++++++++++ 1 file changed, 23 insertions(+)
2009-06-01/devel/gcc-4.4:Yann E. MORIN"2-0/+36
- make glibc-2.9 build with gcc-4.4.0. -------- diffstat follows -------- /devel/gcc-4.4/patches/glibc/2.9/570-debug-readlink_chk-readklinkat_chk.patch | 24 24 0 0 ++++++++++ /devel/gcc-4.4/patches/glibc/2.9/560-syslog.patch | 12 12 0 0 +++++ 2 files changed, 36 insertions(+)
2009-05-27/devel/gcc-4.4:Yann E. MORIN"25-0/+963
- add gcc-4.4.0 patches, vampirised from the Gentoo patchset - gcc-4.4.0 auto-selects and uses appropriate companion linraries -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/cc/gcc.sh | 20 18 2 0 + /devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch | 188 188 0 0 ++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch | 98 98 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch | 128 128 0 0 +++++++ /devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch | 70 70 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch | 106 106 0 0 ++++++ /devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch | 50 50 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch | 58 58 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch | 30 30 0 0 ++ /devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch | 54 54 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch | 52 52 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch | 96 96 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch | 92 92 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch | 158 158 0 0 +++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch | 360 360 0 0 ++++++++++++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch | 78 78 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch | 24 24 0 0 + /devel/gcc-4.4/config/cc/gcc.in | 1 1 0 0 + 27 files changed, 1945 insertions(+), 2 deletions(-)
2009-05-22Added initial AVR32 support (bare-metal,newlib)Martin Lund"3-0/+107817
2009-05-19Fix gdb bug reported by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:Yann E. MORIN"1-0/+30
See: http://sourceware.org/ml/crossgcc/2009-05/msg00055.html https://bugzilla.redhat.com/show_bug.cgi?id=436037 Fix from: http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1 -------- diffstat follows -------- /trunk/patches/gdb/6.8/130-reg-no-longer-active.patch | 30 30 0 0 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
2009-05-07Renumber a eglibc patch. I've been dumb... :-/Yann E. MORIN"1-0/+0
-------- diffstat follows -------- /trunk/patches/eglibc/2_9/100-binutils-elf-begin.patch | 12 0 12 0 ------------ 1 file changed, 12 deletions(-)
2009-05-07Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).Yann E. MORIN"1-0/+49
Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html -------- diffstat follows -------- /trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch | 49 49 0 0 ++++++++++++++++++ /trunk/scripts/build/libc/eglibc.sh | 10 9 1 0 +++- 2 files changed, 58 insertions(+), 1 deletion(-)
2009-05-07Add two new patches by Nye LIU, to fix buildingYann E. MORIN"2-0/+41
glibc-2.9 and eglibc-2_9 for PowerPC. See: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html -------- diffstat follows -------- /trunk/patches/glibc/2.9/550-2.9-elf-begin.patch | 29 29 0 0 ++++++++++++++++++++++++ /trunk/patches/eglibc/2_9/100-binutils-elf-begin.patch | 24 24 0 0 ++++++++++++++++++++ 2 files changed, 53 insertions(+)
2009-05-05Rename a GMP patch.Yann E. MORIN"1-0/+0
-------- diffstat follows -------- /trunk/patches/gmp/4.2.2/100-mpf_set_str.c.patch | 38 0 38 0 ------------------------------ 1 file changed, 38 deletions(-)
2009-05-05Update the patchset for MPFR 2.4.1 from upstream.Yann E. MORIN"3-0/+117
-------- diffstat follows -------- /trunk/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch | 25 25 0 0 ++++++++++++ /trunk/patches/mpfr/2.4.1/130-vasprintf-mp_limb_t.patch | 45 45 0 0 ++++++++++++++++++++++ /trunk/patches/mpfr/2.4.1/140-zeta_ui-shift.patch | 47 47 0 0 +++++++++++++++++++++++ 3 files changed, 117 insertions(+)
2009-05-05Update the alphaev56-unknown-linux-gnu sample, as per:Yann E. MORIN"2-2/+13
http://sourceware.org/ml/crossgcc/2009-05/msg00009.html -------- diffstat follows -------- /trunk/patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch | 3 1 2 0 - /trunk/patches/glibc/2.9/540-alpha-atfcts.patch | 12 12 0 0 ++++ /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 50 15 35 0 +++++----------- 3 files changed, 28 insertions(+), 37 deletions(-)
2009-04-27Add a patch against glibc-2.7 to fix build failuresYann E. MORIN"1-0/+190
with the latest binutils-2.19.50.* snapshots. From: http://sourceware.org/ml/crossgcc/2009-04/msg00062.html -------- diffstat follows -------- /trunk/patches/glibc/2.7/300-binutils-_begin.patch | 190 190 0 0 ++++++++++++++++++++++++++++ 1 file changed, 190 insertions(+)
2009-04-02Speaking of gcc-4.2.1, Ted Jordan writes on 20090401:Yann E. MORIN"1-0/+21
The generated libtool for building libstdc++ adds the -nostdlib option to the g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol" error when linking against the libstdc++ shared object. This patch adds gcc to the list of libraries linked against when linking libstdc++. /trunk/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch | 21 21 0 0 +++++++++++++++++ 1 file changed, 21 insertions(+)
2009-03-31Add three new uClibc-0.9.30.1, vampirised from buildroot.Yann E. MORIN"3-0/+893
/trunk/patches/uClibc/0.9.30.1/170-dl-sysdep-inline.patch | 371 371 0 0 ++++++++++++++++ /trunk/patches/uClibc/0.9.30.1/160-c99-ldbl-math.patch | 474 474 0 0 +++++++++++++++++++++ /trunk/patches/uClibc/0.9.30.1/150-64bit-strtouq.patch | 48 48 0 0 ++ 3 files changed, 893 insertions(+)
2009-03-30Fix offset in uClibc patch.Yann E. MORIN"1-1/+1
/trunk/patches/uClibc/0.9.30.1/140-gnu89-inline.patch | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-28Update (fix) a glibc-ports-2.9 patch.Yann E. MORIN"1-3/+3
/trunk/patches/glibc/ports-2.9/100-arm_linux_tls.patch | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2009-03-28In http://sourceware.org/ml/crossgcc/2009-03/msg00078.html,Yann E. MORIN"1-0/+56
Nye Liu <nyet@mrv.com> says: looks like same patch from http://sourceware.org/ml/crossgcc/2008-10/msg00067.html (glibc/2.7/290-powerpc-8xx-CPU15-errata.patch) applies to 2.9
2009-03-28Rename patch dir for glibc-2.9: version string is 2.9, not 2_9.Yann E. MORIN"44-0/+0
2009-03-17Add patches for ltrace-0.5.1.Yann E. MORIN"2-0/+88
/trunk/patches/ltrace/0.5.1/100-allow-cross-compile.patch | 77 77 0 0 +++++++++++++++++++++ /trunk/patches/ltrace/0.5.1/110-alpha-support.patch | 11 11 0 0 +++ 2 files changed, 88 insertions(+)
2009-03-08Add patchset for MGP-4.2.4, from upstream.Yann E. MORIN"3-0/+400
/trunk/patches/gmp/4.2.4/120-perfpow.patch | 149 149 0 0 ++++++++++++++++++++++ /trunk/patches/gmp/4.2.4/110-mpf_set_str.patch | 32 32 0 0 +++++ /trunk/patches/gmp/4.2.4/100-mpf_eq.patch | 219 219 0 0 ++++++++++++++++++++++++++++++++ 3 files changed, 400 insertions(+)
2009-03-08Add MPFR-2.4.1.Yann E. MORIN"4-0/+703
Add patchset for MPFR 2.4.0 and 2.4.1, from upstream. /trunk/config/gmp_mpfr/mpfr.in | 8 6 2 0 + /trunk/patches/mpfr/2.4.0/100-printf-hh-ll.patch | 359 359 0 0 +++++++++++++++++++++++++++++ /trunk/patches/mpfr/2.4.0/110-mpfr_snprintf.patch | 176 176 0 0 ++++++++++++++ /trunk/patches/mpfr/2.4.1/100-remainder-neg.patch | 123 123 0 0 ++++++++++ /trunk/patches/mpfr/2.4.1/110-assert.patch | 45 45 0 0 ++++ 5 files changed, 709 insertions(+), 2 deletions(-)
2009-03-08Add uClibc-0.9.30.1 patchset, based on the 0.9.30 patchset.Yann E. MORIN"5-0/+161