summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2014-06-28patches/uClibc: add uClibc 0.9.33.2 patch to build with recent kernel headersThomas Petazzoni1-0/+393
uClibc 0.9.33.2 has an issue related to __kernel_long and similar types when building with kernel headers >= 3.4. This commit adds a uClibc that fixes this issue, and allows building with recent kernel headers. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-05-11complibs/ppl: Fix build of ppl 0.11.2 with gcc 4.9Bernhard Walle1-0/+95
From: Roberto Bagnara <bagnara@cs.unipr.it> Date: Tue, 29 Apr 2014 19:51:43 +0000 (+0200) Subject: Added missing inclusions. Use std::ptrdiff_t. X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff;h=61d4e14dfd9f1121e9b4521dead5728b2424dd7c Added missing inclusions. Use std::ptrdiff_t. (Thanks to Paulo Cesar Pereira de Andrade.) Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Message-Id: <5632a171e7c1dc4c0fb5.1399806148@euler.fritz.box> Patchwork-Id: 347777
2014-02-22patches/binutils: Update patches from 2.22 to 2.24Bryan Hundven3-0/+76
This updates the patches in 2.22 to 2.24. Some removed as they were applied upstream. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Message-Id: <9fb77800ae1d5f14cbf5.1393055637@Bryans-MacBook-Pro.local> Patchwork-Id: 323130
2014-04-18cc/gcc: fix the PR58595 patchYann E. MORIN"1-1/+1
It applies manually with fuzz 2, but ct-ng does not accept any fuxx at all. So, re-diff the patch so it applies cleanly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-04-17cc/gcc: add some bug fixes to gcc 4.7.3 and 4.8.2Yann E. MORIN"3-0/+232
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-02-19debug/ltrace: pump ltrace to version 0.7.3Daniel Zimmermann1-0/+42
pump ltrace to version 0.7.3 backport a patch from Peter Wu to silence warnings/errors in ltrace Signed-off-by: '"Peter Wu" <lekensteyn@gmail.com>' Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>' [yann.morin.1998@free.fr: remove superfluous empty lines] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <8349c35b506aa79c4e69.1392845765@haus-VirtualBox> Patchwork-Id: 322017
2014-01-16libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and laterDaniel Schultze1-0/+16
Make 3.82 broke makefiles that used implicit and explicit rules on the same line. This was a undocumented feature that broke many makefiles. This patch removes the offending rule and replaces it with two separate rules. Signed-off-by: Daniel Schultze <kinglag@gmail.com> [yann.morin.1998@free.fr: make it a crosstool-ng patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <CAEsx0Y-PDK7g6XanR=GRWT-8efMX=qAuB4Ub7wakF5sH=tQGxA@mail.gmail.com> Patchwork-Id: 311876
2013-11-21cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2Daniel Zimmermann3-0/+78
Fix the problem with parallel build on gcc 4.8.0, 4.8.1 and 4.8.2 See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683 and http://gcc.gnu.org/viewcvs?rev=205189&root=gcc&view=rev Log: 2013-11-21 Zhenqiang Chen <zhenqiang.chen@linaro.org> PR bootstrap/57683 Backport from mainline: r197467 and r198999. 2013-04-03 Jeff Law <law@redhat.com> * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). (lra-eliminations.o): Likewise. 2013-05-16 Jeff Law <law@redhat.com> * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com> Message-Id: <66398633eea949023e0d.1385290839@haus-VirtualBox> Patchwork-Id: 293742
2013-11-25debug/strace: pump version to 4.7 and 4.8Daniel Zimmermann1-0/+78
Pump version for strace to 4.7 and 4.8. Add patch from strace mainline. Work around conflict between <sys/ptrace.h> and <linux/ptrace.h> Since glibc-2.18~39 <sys/ptrace.h> defines ptrace_peeksiginfo_args which collides with <linux/ptrace.h>. * configure.ac: Check for `struct ptrace_peeksiginfo_args' in <sys/ptrace.h>. * process.c: Work around potential conflict between <sys/ptrace.h> and <linux/ptrace.h> by redefining ptrace_peeksiginfo_args. * signal.c: Likewise. * syscall.c: Likewise. * util.c: Likewise. http://sourceforge.net/p/strace/code/ci/0b4060f61f1bb101b5d8d084714b7d2feacdb199/ Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com> Message-Id: <67b082cf1cdc8276eb4a.1385366288@haus-VirtualBox> Patchwork-Id: 293842
2013-12-08complibs/ppl: Fix build of ppl 0.11.2 with gmp 5.1 and laterBernhard Walle1-0/+52
The fix is backported from http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=9f843aecc23981aec6ed1eaa8be06e6786a47f0d. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Message-Id: <9a012bed87b494cfe0d4.1386503894@euler.fritz.box> Patchwork-Id: 298789
2013-10-06libc/glibc: add latest versionYann E. MORIN"2-0/+143
Take two patches from upstream at the same time. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-09-30complibs/ppl: add patch from upstream to fix data dirYann E. MORIN"3-0/+282
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-07-24complibs/ppl: fix build when local system has libgmp already installedYann E. MORIN"4-0/+98
Basically, the ppl configure script wasn't properly setting CFLAGS/CXXFLAGS/LDFLAGS to point at the ctng-built gmp, so ppl tried to use the system gmp headers instead. This patch fixes that for all PPL versions supported by crosstools-ng. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> [yann.morin.1998@free.fr: slightly touch the commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <20130715230656.GB23382@shaftnet.org> Patchwork-Id: 259300
2013-05-03cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releasesYann E. MORIN"2-0/+66
Bring the appropriate patches along, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-02-06libc/glibc: add patch to fix build for PowerPC64.Frederic Roussel"3-0/+60
For a PowerPC64 build, avoid erroneous inline optimization of initfini.s Signed-off-by: "Frederic R. ROUSSEL" <fr.frasc@gmail.com> Message-Id: <7585f649ad60b23c4a31.1360185227@x58> Patchwork-Id: 218755
2012-11-26cc/gcc: add patch for 4.7.2Richard Braun1-0/+27
This patch fixes compilation of gcc when C++ is enabled and MMX is available, but not SSE/SSE2/AVX. Signed-off-by: Richard Braun <rbraun@sceen.net> Message-Id: <20121126105642.GA12098@mail.sceen.net> Patchwork-Id: 201648
2012-11-06binutils/binutils: do not fwd declare struct stat (2.22).Titus von Boxberg1-0/+42
For canadian cross to host i686-mingw32 fwd declaring struct stat is not possible. Instead #include <sys/stat.h> Signed-off-by: Titus von Boxberg <titus@v9g.de> Message-Id: <417a15d4277913841ddd.1353100974@tschetwerikow.boxberg.lan> Patchwork-Id: 199733
2012-11-14libc/mingw: replace mingw32 with generic mingwYann Diorcet2-190/+0
Replace the 32-bit-only mingw32 with mingw-w64 that is capable of building toolchains for both 32-bit and 64-bit Windows. kernel/mingw: replace mingw32 with generic Windows kernel/windows: New windows kernel supporting 32 and 64 bit arch libc/mingw: Remove old options patches: Remove old mingw libc options' patches Signed-off-by: "Yann Diorcet" <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: array var in libc/mingw.sh, typos] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <b045ac08fc9eac2e5ee3.1352898499@blackmint> Patchwork-Id: 198901
2012-11-09cc/gcc: fix patches for 4.6.{0,1}Yann E. MORIN"2-30/+6
Remove the sparc part, as it touches code that does not exist in those versions of gcc (it was added at 4.6.2). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> CC: Florian Fainelli <f.fainelli@gmail.com>
2012-09-26libc/uClibc: add workaround patch for ICE in m68k buildsEsben Haabendal1-0/+19
This patch/workaround is similar to the one proposed in http://www.mail-archive.com/uclibc@uclibc.org/msg02475.html Bug reproduced with GCC 4.6.3. [ALL ] In file included from libc/inet/inet_ntoa.c:8:0: [ALL ] libc/inet/addr.c: In function 'inet_ntoa_r': [ALL ] libc/inet/addr.c:135:1: warning: visibility attribute not supported in this configuration; ignored [-Wattri butes] [ERROR] libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 Signed-off-by: "Esben Haabendal" <esben@haabendal.dk> Message-Id: <87sja4d1ke.fsf@arh128.prevas.dk> Patchwork-Id: 187181
2012-09-23debug/gdb: fix from upstream with newer glibc(siginfo vs siginfo_t, Gentoo ↵Jang, Bongseo2-0/+356
gdb-7.4.1 patch) This is for when you failed to build gdb-native with the error: gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type" This is from mirror://gentoo/distfiles/gdb-7.4.1-patches-2.tar.xz Signed-off-by: "Jang, Bongseo" <graycells@gmail.com> [yann.morin.1998@free.fr: refresh ptrace_setsiginfo patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-ID: <4eef2edec3201c50b420.1348370891@localhost.localdomain> PatchWork-ID: 186179
2012-09-23libc/eglibc: Split changeset 3052:06b663f297 into eglibc/libc and ↵Jang, Bongseo4-33/+52
eglibc/ports patches crosstool-ng's glibc patche is made against glibc/libc sub-dir. changeset 3052:06b663f297 is against glibc top-dir. it needs to split. Signed-off-by: "Jang, Bongseo" <graycells@gmail.com> [yann.morin.1998@free.fr: fix the ports patches depth] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-ID: <5040c8e83e35618361dc.1348370890@localhost.localdomain> PatchWork-ID: 186177
2012-09-19libc/eglibc: backport OpenEmbedded patches for eglibc 2.16Florian Fainelli3-0/+396
With this 3 patches, I was able to build and run an eglibc-based system on MIPS(el) and ARM targets. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2012-09-19binutils/binutils: backport upstream fix for binutils 2.22 ld bug 14189Florian Fainelli1-0/+12
See http://sourceware.org/bugzilla/show_bug.cgi?id=14189 for more information. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2012-09-19cc/gcc: backport upstream fix for GCC 4.7.0 bug 54494Florian Fainelli1-0/+37
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494, also has a serious impact on the Linux/MIPS kernel build. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2012-09-19cc/gcc: backport upstream patches for GCC bug 54369Florian Fainelli5-0/+225
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more information This bug has a serious effect on Linux/MIPS and SPARC kernel builds. Add the fix for these versions of gcc: 4.6.0, 4.6.2, 4.6.3, and 4.7.0. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2012-09-16libc/newlib: add newlib 1.20.0 supportAustin Morton1-0/+27
Signed-off-by: Austin Morton <austinpmorton@gmail.com>
2012-08-04libc/glibc: add patches for glibc 2.14.1Jonathan Liu2-0/+678
Signed-off-by: Jonathan Liu <net147@gmail.com>
2012-07-02libc/eglibc: remove upstreamed patchYann E. MORIN"1-56/+0
Reported-by: Matthieu Crapet <mcrapet@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <CAL2sKTnAC9K0uo36QPJEdAJmZqPZNJgWLhxLzhsvs4G-EfbvMA@mail.gmail.com>
2012-06-06libc/eglibc: fix missing LIBC_TRY_CC_OPTION definition (eglibc 2.15)Matthieu Crapet1-0/+56
Upstream SVN is currently broken: http://www.eglibc.org/svn/branches/eglibc-2_15/libc/ LIBC_TRY_CC_OPTION macro is not defined in aclocal.m4. This patch fix the configure script. Once upstream branch will be fixed this patch could be reverted. Related patch (committed to eglibc trunk): Use autoconf macro for testing compiler options with empty input http://sourceware.org/ml/libc-alpha/2012-03/msg00816.html Signed-off-by: Matthieu Crapet <mcrapet@gmail.com> diff -r 1f6c8e4b2b92 -r d10afc5bcc25 patches/eglibc/2_15/110-aclocal-LIBC_TRY_CC_OPTION.patch
2012-03-23cc/gc: add update 4.4.7Yann E. MORIN"32-0/+1118
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: propagate patchset from 4.4.6] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-23cc/gcc: add gcc-4.7.0Yann E. MORIN"1-0/+91
Add the new release gcc-4.7.0. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: add 4.7.0 patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-01libg/eglibc: add updated eglibc 2.15Yann E. MORIN"1-0/+78
Includes a patch to remove __builtin_expect test: In eglibc-2.15, the build breaks in configure while testing for the existance of __builtin_expect. It fails with newer versions of gcc. This patch is a modification of an upstream change in glibc mainline (to be 2.16) to fix the following error: [CFG ] checking for __builtin_expect... no [ERROR] configure: error: support for __builtin_expect needed http://sourceware.org/git/?p=glibc.git;a=commit;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: coalesce both patches into a single changeset] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-03cc/gcc: forward-port patch to new versionsYann E. MORIN"2-0/+78
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-01-27complibs/cloog: fix linking with libmBenoît Thébaudeau"6-0/+144
In Ubuntu 11.04 and 11.10, the default options for ld have changed. --no-copy-dt-needed-entries and --as-needed are now enabled by default, which causes errors like: [EXTRA] Checking CLooG/ppl [DEBUG] ==> Executing: 'make' '-j3' '-s' 'check' [ALL ] Making check in . [ALL ] config.status: creating include/cloog/cloog-config.h [ALL ] config.status: include/cloog/cloog-config.h is unchanged [ALL ] libtool: link: i686-build_pc-linux-gnu-gcc -Wall -fomit-frame-pointer -pipe -o cloog cloog.o -L/<snip>/build/static/lib ./.libs/libcloog.a -lm /<snip>/build/static/lib/libppl_c.a /<snip>/build/static/lib/libpwl.a /<snip>/build/static/lib/libppl.a /<snip>/build/static/lib/libgmpxx.a /<snip>/build/static/lib/libgmp.a -lstdc++ [ALL ] /usr/bin/ld: /<snip>/build/static/lib/libppl.a(MIP_Problem.o): undefined reference to symbol 'sqrt@@GLIBC_2.0' [ALL ] /usr/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so so try adding it to the linker command line [ALL ] /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so: could not read symbols: Invalid operation [ALL ] collect2: ld returned 1 exit status [ERROR] make[2]: *** [cloog] Error 1 [ERROR] make[1]: *** [check-recursive] Error 1 See: https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition This patch fixes these errors by placing '-lm' at the right place on the command line as libppl requires libm when linking cloog. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
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>