summaryrefslogtreecommitdiff
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
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>
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>