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