Commit Graph

11 Commits

Author SHA1 Message Date
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>
2011-04-06 21:34:22 +02:00
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>
2011-04-06 20:15:23 +02:00
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>
2011-04-06 20:15:40 +02:00
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.
2010-08-21 16:46:24 +02:00
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
2010-05-18 23:54:55 +02:00
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>
2009-11-25 00:10:42 -08:00
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(+)
2009-06-01 09:23:23 +00:00
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(+)
2009-05-07 19:24:23 +00:00
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(-)
2009-05-05 18:22:33 +00:00
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
2009-03-28 22:21:33 +00:00
Yann E. MORIN"
aeddc2708d Rename patch dir for glibc-2.9: version string is 2.9, not 2_9. 2009-03-28 13:34:41 +00:00