Chris Packham
8356119b1e
libc/glibc: Fix sed configure check
...
Backport of upstream commit.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
8 years ago
Chris Packham
e812493c6f
libc/glibc: allow glibc-2.16.0 to build with GNU Make 4 or greater
...
Back port of upstream commit.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
8 years ago
Ray Donnelly
f9968501ee
glibc: Cygwin doesn't have stat64
...
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
8 years ago
Alexey Neyman
05b7b11ec4
Pick up a fix for glibc-2.22 on sparc32.
8 years ago
Philipp Kirchhofer
8442cd7e02
Fix building glibc 2.17 with gcc 5.1+
...
Backport from glibc 2.20
Fixes error "In function _Unwind_Resume: undefined reference to libgcc_s_resume"
8 years ago
Konstantin Käfer
71943aae98
patch glibc 2.11's configure script to support Make 4
8 years ago
Bryan Hundven
7226fc2ac1
patches: No symlinks in patch directory
...
With newer version of the patch program, it no longer follows symlinks:
========================================================================
a/patch-2.7.4-x86_64-1.txz: Upgraded.
Patch no longer follows symbolic links to input and output files.
This
ensures that symbolic links created by git-style patches cannot cause
patch to write outside the working directory.
For more information, see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1196
(* Security fix *)
========================================================================
This copies patches/glibc/2.20 to patches/glibc/linaro-2.20-2014.11.
This change also closes #51
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
8 years ago
Bryan Hundven
ae17f9015e
Merge pull request #43 from bwalle/glibc-2.16-ghost
...
libc/glibc: Add patch to fix CVE-2015-0235
9 years ago
Bernhard Walle
6fadfa909b
libc/glibc: Add patch to fix CVE-2015-0235
...
This patch fixes the so-called "GHOST" buffer overflow in glibc 2.16.
See http://www.openwall.com/lists/oss-security/2015/01/27/9 .
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
9 years ago
Stefan
c98155a82a
Add patch to fix building glibc 2.20 on sparc
...
This actually comes from upstream:
https://sourceware.org/ml/libc-alpha/2014-09/msg00317.html
It is needed for plain glibc as well as linaro's version.
A symlink is added for the latter's version 2.20-2014.11.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
9 years ago
Yann E. MORIN
de6b673394
libc/glibc: add patch to avoid caddr_t redefinition
...
Forward-ported from glibc-2.13.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years ago
Daniel Schultze
2d0f9e757f
libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and later
...
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
10 years ago
Yann E. MORIN"
27847b8e14
libc/glibc: add latest version
...
Take two patches from upstream at the same time.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years ago
Frederic Roussel"
8257a1a4b1
libc/glibc: add patch to fix build for PowerPC64.
...
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
11 years ago
Jonathan Liu
3a0575282f
libc/glibc: add patches for glibc 2.14.1
...
Signed-off-by: Jonathan Liu <net147@gmail.com>
11 years ago
Yann E. MORIN"
6cf1dab940
libc/glibc: add 2.13
...
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>
13 years ago
Yann E. MORIN"
0edbdfd24c
libc/glibc: update patchset, add ports patchset
...
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>
13 years ago
Yann E. MORIN"
177a2b029c
libc/glibc: remove duplicate patch
...
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>
13 years ago
Esben Haabendal
42e908c44b
libc/glibc: workaround for autoconf'ed define of caddr_t
...
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>
13 years ago
Yann E. MORIN"
c0800dc7b5
libc/glibc: fix cross-compiling to i686
...
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>
13 years ago
Yann E. MORIN"
6568c1a39a
libc-glibc: remove 2.3.6
...
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>
13 years ago
Ilya A. Volynets-Evenbakh"
de889264bb
libc/glibc: fix glibc-2.10.1 patchset
...
There was a missing '#" to a '#define' line.
13 years ago
Titus von Boxberg
63967a4141
libc/glibc: repair debugging with gdb (glibc 2.9)
...
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.
13 years ago
Arnaud Lacombe
218438ee92
libc/glibc: let glibc 3.3.6 link correctly
...
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>
13 years ago
Yann E. MORIN"
c0927b7ac6
libc/glibc: fix as/ld checks against recent binutils
...
Backported from:
http://sourceware.org/ml/libc-alpha/2009-09/msg00024.html
Thanks to Khem RAJ for pointing to this fix:
http://sourceware.org/ml/crossgcc/2010-05/msg00033.html
14 years ago
Yann E. MORIN"
d747e1a887
libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPU
...
As discussed there: http://sourceware.org/bugzilla/show_bug.cgi?id=9678#c4
Reported by: Sasha Sirotkin <buildroot@browserseal.com>
14 years ago
Yann E. MORIN"
d89dc15731
libc/glibc: add patch to fix binutils version check
...
Older glibces were not ready to handle binutils >=2.20.
Fix that, and the forseeable future.
14 years ago
Yann E. MORIN"
4fd7762454
libc/glibc: update 2.10.1 patchset
...
According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html
update the patchset for correct Alpha build.
14 years ago
Frederic Roussel
69e0647a02
patches/glibc: allows glibc2.9 to be compiled with binutils 2.20
...
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>
14 years ago
Yann E. MORIN"
4b173045e9
libc/glibc: add 2.10.1
...
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.
14 years ago
Yann E. MORIN"
37f6f7ec43
/devel/gcc-4.4:
...
- 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(+)
15 years ago
Yann E. MORIN"
f7acc7992c
Add two new patches by Nye LIU, to fix building
...
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(+)
15 years ago
Yann E. MORIN"
f31a1dc035
Update the alphaev56-unknown-linux-gnu sample, as per:
...
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(-)
15 years ago
Yann E. MORIN"
458e7dc8c5
Add a patch against glibc-2.7 to fix build failures
...
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(+)
15 years ago
Yann E. MORIN"
008b7a4585
Update (fix) a glibc-ports-2.9 patch.
...
/trunk/patches/glibc/ports-2.9/100-arm_linux_tls.patch | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
15 years ago
Yann E. MORIN"
c72d8c3307
In http://sourceware.org/ml/crossgcc/2009-03/msg00078.html ,
...
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
15 years ago
Yann E. MORIN"
aeddc2708d
Rename patch dir for glibc-2.9: version string is 2.9, not 2_9.
15 years ago
Yann E. MORIN"
a4d865512c
Add two patches agains glibc-2_9 to (try to) build for SuperH.
...
/trunk/patches/glibc/2_9/510-sh-no-asm-user-header.patch | 70 70 0 0 ++++++++++++++++++++++
/trunk/patches/glibc/2_9/520-sh-no-asm-elf-header.patch | 27 27 0 0 ++++++++
2 files changed, 97 insertions(+)
15 years ago
Yann E. MORIN"
f049d64a0b
On 20090220.0418+0100, Hugo Vincent <hugo.vincent@grcnz.com> wrote:
...
I'm using CTNG for some embedded Linux work on an ARM926ej-s, and when
updating to glibc 2_9, I needed to use the attached patch to get it to
build cleanly.
/trunk/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 14 0 0 ++++++++++++++
1 file changed, 14 insertions(+)
15 years ago
Yann E. MORIN"
b60a8806c6
Add a patchset for glibc 2_9. Vampirised from the gentoo repository.
...
/trunk/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch | 414 414 0 0 ++++++++++
/trunk/patches/glibc/2_9/140-regex-BZ9697.patch | 111 111 0 0 +++
/trunk/patches/glibc/2_9/190-queue-header-updates.patch | 89 89 0 0 ++
/trunk/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch | 249 249 0 0 ++++++
/trunk/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch | 32 32 0 0 +
/trunk/patches/glibc/2_9/270-ldbl-nexttowardf.patch | 68 68 0 0 ++
/trunk/patches/glibc/2_9/330-2.3.3-china.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/340-new-valencian-locale.patch | 120 120 0 0 +++
/trunk/patches/glibc/2_9/410-2.9-fnmatch.patch | 64 64 0 0 ++
/trunk/patches/glibc/2_9/350-2.4-undefine-__i686.patch | 47 47 0 0 +
/trunk/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch | 53 53 0 0 +
/trunk/patches/glibc/2_9/420-dont-build-timezone.patch | 19 19 0 0 +
/trunk/patches/glibc/2_9/150-regex-BZ697.patch | 28 28 0 0 +
/trunk/patches/glibc/2_9/290-no-inline-gmon.patch | 38 38 0 0 +
/trunk/patches/glibc/2_9/280-section-comments.patch | 29 29 0 0 +
/trunk/patches/glibc/2_9/180-math-tests.patch | 72 72 0 0 ++
/trunk/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/250-resolv-dynamic.patch | 44 44 0 0 +
/trunk/patches/glibc/2_9/300-2.9-check_native-headers.patch | 22 22 0 0 +
/trunk/patches/glibc/2_9/310-2.3.6-fix-pr631.patch | 50 50 0 0 +
/trunk/patches/glibc/2_9/130-add_prio-macros.patch | 26 26 0 0 +
/trunk/patches/glibc/2_9/260-fadvise64_64.patch | 30 30 0 0 +
/trunk/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch | 249 249 0 0 ++++++
/trunk/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch | 74 74 0 0 ++
/trunk/patches/glibc/2_9/360-2.8-nscd-one-fork.patch | 45 45 0 0 +
/trunk/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch | 18 18 0 0 +
/trunk/patches/glibc/2_9/210-2.9-strlen-hack.patch | 109 109 0 0 +++
/trunk/patches/glibc/2_9/320-2.9-assume-pipe2.patch | 59 59 0 0 +
/trunk/patches/glibc/2_9/100-ssp-compat.patch | 193 193 0 0 +++++
/trunk/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch | 30 30 0 0 +
/trunk/patches/glibc/2_9/220-manual-no-perl.patch | 29 29 0 0 +
/trunk/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch | 38 38 0 0 +
/trunk/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch | 198 198 0 0 +++++
/trunk/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch | 23 23 0 0 +
/trunk/patches/glibc/2_9/200-awk-in-C-locale.patch | 23 23 0 0 +
/trunk/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch | 57 57 0 0 +
/trunk/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch | 71 71 0 0 ++
/trunk/patches/glibc/2_9/490-ptr-mangling.patch | 114 114 0 0 +++
/trunk/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch | 19 19 0 0 +
41 files changed, 3094 insertions(+)
15 years ago
Yann E. MORIN"
991a5070e5
Backport patch for glibc-2.6.1 to glibc-2.6:
...
- fixes glibc-2.6.1 build on OpenSOLARIS.
15 years ago
Yann E. MORIN"
96ec8bee12
Add a glibc-2.6.1 patch from Thomas Jourdan <tjourdan@neuf.fr>:
...
- fixes glibc-2.6.1 build on OpenSOLARIS.
/trunk/patches/glibc/2.6.1/220-cross-posix_makefile.patch | 65 65 0 0 +++++++++++++++++++++
1 file changed, 65 insertions(+)
15 years ago
Yann E. MORIN"
d31396bc23
Finally enable the PPC-8xx memset workaround, by Nye Liu.
...
http://sourceware.org/ml/crossgcc/2008-10/msg00094.html
/trunk/scripts/build/libc/glibc.sh | 9 9 0 0 +
/trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch | 22 19 3 0 +
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 344 344 0 0 +++++++++++++++++++
/trunk/samples/powerpc-860-linux-gnu/reported.by | 3 3 0 0 +
4 files changed, 375 insertions(+), 3 deletions(-)
15 years ago
Yann E. MORIN"
1d36c322bb
Fix building with newer gcc that have the 'fix-include' /feature/.
...
/trunk/patches/glibc/2.3.6/290-gcc-4.3-include.patch | 40 40 0 0 ++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
15 years ago
Yann E. MORIN"
5b581f678b
The glibc-2.7 profs fix for SuperH was missing very important parts...
...
/trunk/patches/glibc/2.7/270-sh-fix-procfs.patch | 38 32 6 0 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)
15 years ago
Yann E. MORIN"
04459efaac
Fix memset on PowerPC 8xx, by Nye Liu:
...
http://sourceware.org/ml/crossgcc/2008-10/msg00067.html
/trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch | 40 40 0 0 +++++++++++++++++++
1 file changed, 40 insertions(+)
15 years ago
Yann E. MORIN"
d55709c9a3
Rename a patch: typo.
15 years ago
Yann E. MORIN"
c15b9fb7ea
Make Super-H finally compile a complete (C-only) toolchain:
...
- new, un-tested patches
- an sh4 sample to work on, and to try to reproduce later.
/trunk/patches/glibc/2.7/250-sh-chop-linux-version.patch | 49 49 0 0 ++
/trunk/patches/glibc/2.7/240-sh-lowlevellock-asm.patch | 56 56 0 0 +++
/trunk/patches/glibc/2.7/270-sh-fix-procfs.patch | 11 11 0 0 +
/trunk/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch | 23 23 0 0 +
/trunk/patches/glibc/2.7/260-sh-syscall-error-path.patch | 26 26 0 0 +
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 311 311 0 0 ++++++++++++++
/trunk/samples/sh4-unknown-linux-gnu/reported.by | 3 3 0 0 +
7 files changed, 479 insertions(+)
15 years ago
Yann E. MORIN"
9d4c07f32f
Remove an unwanted SuperH chunk from an Alpha patch.
...
/trunk/patches/glibc/2.7/190-alpha-asm_elf.patch | 23 0 23 0 -----------------------
1 file changed, 23 deletions(-)
15 years ago
Yann E. MORIN"
a5b4a804e3
Add a glibc-2.6.1 patch for PPC soft-float.
...
http://sourceware.org/ml/crossgcc/2008-10/msg00044.html
/trunk/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch | 21 21 0 0 ++++++++++++++++++
1 file changed, 21 insertions(+)
15 years ago