Commit Graph

39 Commits

Author SHA1 Message Date
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(-)
2008-10-29 21:20:23 +00:00
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(+)
2008-10-28 09:46:48 +00:00
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(-)
2008-10-24 11:14:31 +00:00
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(+)
2008-10-23 21:12:29 +00:00
Yann E. MORIN"
d55709c9a3 Rename a patch: typo. 2008-10-22 21:02:03 +00:00
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(+)
2008-10-22 20:50:10 +00:00
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(-)
2008-10-22 20:29:32 +00:00
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(+)
2008-10-21 21:29:02 +00:00
Yann E. MORIN"
6367613389 Fix paths in a glibc-ports-2.6.1 patch.
http://sourceware.org/ml/crossgcc/2008-10/msg00041.html

 /trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch |   24    12    12     0 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
2008-10-21 17:01:31 +00:00
Yann E. MORIN"
140d179eb3 Update all samples to the latest set of options.
Update some samples to use newer features.
Add patches for the uClibc-20080801 snapshot to be able to build with gcc-4.3.
Add a patch against glibc-2.7 to allow building PPC with latest kernel headers.
Add a patch to gcc to use an alternate unwinding when built against uClibc (after a private explanation/request by Daniel Egger <daniel@eggers-club.de>)

 /trunk/patches/glibc/2.7/230-powerpc-private_futex.patch          |   15    15     0     0 +
 /trunk/patches/uClibc/20080801/300-fix-asm.patch                  |  175   175     0     0 +++++++++
 /trunk/patches/uClibc/20080801/100-ifaddrs.patch                  |  190   190     0     0 +++++++++
 /trunk/patches/uClibc/20080801/200-mips-typeof.patch              |  112   112     0     0 ++++++
 /trunk/patches/gcc/4.3.1/330-unwind-for-uClibc.patch              |   25    25     0     0 +
 /trunk/samples/x86_64-unknown-linux-gnu/crosstool.config          |   17    10     7     0 +
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |    7     5     2     0 +
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |    7     5     2     0 +
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |   14    11     3     0 +
 /trunk/samples/x86_64-unknown-linux-uclibc/uClibc-20080801.config |  232   232     0     0 ++++++++++++
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |   34    21    13     0 +-
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |   10     7     3     0 +
 /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config         |   12     9     3     0 +
 /trunk/samples/mips-unknown-linux-uclibc/uClibc-20080801.config   |  249   249     0     0 ++++++++++++
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |   38    23    15     0 +-
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   14    10     4     0 +
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |    7     5     2     0 +
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config   |   12     9     3     0 +
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |    7     5     2     0 +
 /trunk/samples/i586-geode-linux-uclibc/uClibc-20080801.config     |  261   261     0     0 +++++++++++++
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |   32    20    12     0 ++
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |   12     9     3     0 +
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config          |    7     5     2     0 +
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |    7     5     2     0 +
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |   16    10     6     0 +
 25 files changed, 1428 insertions(+), 84 deletions(-)
2008-08-07 14:05:47 +00:00
Yann E. MORIN"
fe5feb1154 Have the glibc build use the cross-objdump, rather than the host one.
On some distros (eg. Fedora), the native objdump can not interpret objects not for the native system, and thus fail.
This commit adds a new patch against glibc-2.7 that introduces OBJDUMP_FOR_HOST, wich, if set, overides the detected objdump.

Note: bizarely enough, glibc already has code to detect the cross-objdump, but that does not work for an unknown reason... :-(

 /trunk/patches/glibc/2.7/220-objdump_for_host.patch |   13    13     0     0 +++++++++
 /trunk/scripts/build/libc_glibc.sh                  |   37    21    16     0 +++++++++++++++------------
 2 files changed, 34 insertions(+), 16 deletions(-)
2008-07-31 09:08:33 +00:00
Yann E. MORIN"
2263510b7a New patches to make glibc 2.6 and 2.6.1 build for Alpha.
Forwarded by Ioannis E. VENETIS.

 /trunk/patches/glibc/2.6.1/200-alpha-ptr_mangle.patch        |  103   103     0     0 ++++++++
 /trunk/patches/glibc/2.6.1/190-alpha-atfcts.patch            |   11    11     0     0 +
 /trunk/patches/glibc/2.6.1/180-gcc-4.3-sysinclude-path.patch |   50    50     0     0 ++++
 /trunk/patches/glibc/2.6.1/210-lll_lock_t.patch              |  237   237     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.6/200-alpha-ptr_mangle.patch          |  103   103     0     0 ++++++++
 /trunk/patches/glibc/2.6/190-alpha-atfcts.patch              |   11    11     0     0 +
 /trunk/patches/glibc/2.6/180-gcc-4.3-sysinclude-path.patch   |   50    50     0     0 ++++
 /trunk/patches/glibc/2.6/210-lll_lock_t.patch                |  237   237     0     0 ++++++++++++++++++
 /trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch        |  156   156     0     0 ++++++++++++
 9 files changed, 958 insertions(+)
2008-07-28 21:59:40 +00:00
Yann E. MORIN"
6317df4779 Fourth step at renaming patches: renumber all patches with a 10-step. 2008-07-28 21:32:33 +00:00
Yann E. MORIN"
4bf7a197bf Rename patches for glibc: include neither 'glibc' not he version in patch names, it's a duplicate of info already available from the directories they are in. 2008-07-28 20:10:34 +00:00
Yann E. MORIN"
1910e80fd2 Add two new patches to glibc-2.7 to make it build for Alpha.
Patches propagated to me from the net by Ioannis E. VENETIS.

 /trunk/patches/glibc/2.7/230-glibc-2.7-alpha-atfcts.patch     |   12    12     0     0 ++
 /trunk/patches/glibc/2.7/240-glibc-2.7-alpha-ptr_mangle.patch |   94    94     0     0 +++++++++++++++++
 2 files changed, 106 insertions(+)
2008-07-26 15:29:51 +00:00
Yann E. MORIN"
c28010bdd1 Add a new patch to glibc to build for Alpha on recent Linux kernels.
/trunk/patches/glibc/2.5.1/260-alpha-asm_elf.patch |  194   194     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/glibc/2.5/260-alpha-asm_elf.patch   |  194   194     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/glibc/2.6.1/200-alpha-asm_elf.patch |  194   194     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/glibc/2.6/200-alpha-asm_elf.patch   |  194   194     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/glibc/2.3.6/270-alpha-asm_elf.patch |  194   194     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/glibc/2.7/220-alpha-asm_elf.patch   |  194   194     0     0 ++++++++++++++++++++++++++++
 6 files changed, 1164 insertions(+)
2008-07-14 20:43:21 +00:00
Yann E. MORIN"
7ec11b4c82 Add a new patch to make glibc build with latest (4.3.x) gcc.
See: http://sourceware.org/ml/libc-help/2008-06/msg00063.html

 /trunk/patches/glibc/2.7/210-gcc-4.3_sysinclude_path.patch |   50    50     0     0 ++++++++++++++++++++
 1 file changed, 50 insertions(+)
2008-06-24 16:46:24 +00:00
Yann E. MORIN"
367f7458b2 New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

 /trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch                           |   25    25     0     0 ++++++++++
 /trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch                    |   24    24     0     0 ++++++++++
 /trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch                             |   25    25     0     0 ++++++++++
 /trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch                      |   24    24     0     0 ++++++++++
 /trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch |   25    25     0     0 ++++++++++
 /trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 /trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch                          |   17    17     0     0 +++++++
 11 files changed, 225 insertions(+)
2008-06-24 16:24:09 +00:00
Yann E. MORIN"
31252e3850 Add a new patch to make glibc-es build with latest binutils (starting with 2.18.50.0.4).
/trunk/patches/glibc/2.5.1/190-use_short_for_fnstsw.patch |   18    18     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.5/190-use_short_for_fnstsw.patch   |   18    18     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.6.1/190-use_short_for_fnstsw.patch |   18    18     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.6/190-use_short_for_fnstsw.patch   |   18    18     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.3.6/190-use_short_for_fnstsw.patch |   18    18     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.7/190-use_short_for_fnstsw.patch   |   18    18     0     0 ++++++++++++++++++
 6 files changed, 108 insertions(+)
2008-06-24 13:15:57 +00:00
Yann E. MORIN"
f1e369422e New patch to make glibces build for Alpha with latest linux kernel headers.
/trunk/patches/glibc/2.5.1/180-alpha-asm_page.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/glibc/2.5/180-alpha-asm_page.patch   |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/glibc/2.6.1/180-alpha-asm_page.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/glibc/2.6/180-alpha-asm_page.patch   |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/glibc/2.3.6/260-alpha-asm_page.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/glibc/2.7/180-alpha-asm_page.patch   |   26    26     0     0 ++++++++++++++++++++++++++
 6 files changed, 156 insertions(+)
2008-06-16 13:04:53 +00:00
Yann E. MORIN"
da8024bba2 Matthias Kaehlcke <matthias at kaehlcke dot net> writes:
A compilation of an ARM toolchain with glibc 2.7 using crosstool-ng
failed with a gcc error in glibc-2.7/posix/regex_internal.c, more
concretly in the function build_wcs_upper_buffer(). The return type of
the function prototype in regex_internal.h doesn't correspond with the
return type of this function in regex_internal.c.

The attached patch corrects the return type of the function prototype
in regex_internal.h

 /trunk/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch |   22    22     0     0 +++++++++++
 1 file changed, 22 insertions(+)
2008-05-31 17:18:22 +00:00
Yann E. MORIN"
99cb9d510c Fix building OABI NPTL ARM with glibc-2.7.
/trunk/patches/glibc/ports-2.7/110-ARM-NPTL.patch |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-05-18 15:31:17 +00:00
Yann E. MORIN"
2dd03634f1 Fix building glibc-2.6.1 and glibc-2.7 for ARM with recent kernels.
Patch by Matthias Kaehlcke <matthias@kaehlcke.net>.

 /trunk/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch |   11    11     0     0 +++++++++++
 /trunk/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch   |   11    11     0     0 +++++++++++
 /trunk/docs/CREDITS                                       |    3     3     0     0 +++
 3 files changed, 25 insertions(+)
2008-05-18 14:53:11 +00:00
Yann E. MORIN"
797a7537e4 Add a patch to the ageing glibc-2.3.6 to make it compile on stupid shells that have a defective implementation of echo.
Thanks to Willy Tarreau for pointing to the patch.

 /trunk/patches/glibc/2.3.6/250-csu-Makefile.patch |   39    39     0     0 +++++++++++++++++++++++++++++
 /trunk/docs/CREDITS                               |    4     4     0     0 +++
 2 files changed, 43 insertions(+)
2008-05-11 07:01:28 +00:00
Yann E. MORIN"
9b41035164 Remove unused glibc patches. 2008-05-02 08:41:38 +00:00
Yann E. MORIN"
20eeb8e122 Robert P. J. DAY says:
Based on feedback from Mike Frysinger, add the following patchset for
glibc-2.7.  Not stress-tested, but at least make it available for
interested testers.
2008-02-17 22:19:26 +00:00
Yann E. MORIN"
55fbe7b02b Robert P. J. DAY says:
According to Mike Frysinger, this patch was removed from Gentoo in the
2.3.x series and didn't seem to cause any adverse effects.  So toss it
from the patch directories for glibc 2.5 and up.
2008-02-17 22:12:59 +00:00
Yann E. MORIN"
89e6f2bd42 Robert P. J. DAY says:
According to Mike Frysinger, this patch hasn't been necessary since
glibc-2.4+, so turf it from glibc patches 2.5 and up.  If someone
complains, it can always go back in.
2008-02-17 22:11:25 +00:00
Yann E. MORIN"
fbaa09b28f Robert P. J. DAY says:
I have been assured by Mike Frysinger that this patch has been
unnecessary since glibc-2.4.
2008-02-15 21:33:39 +00:00
Yann E. MORIN"
b1e693e402 Renamed all patches file names so that locales are now irrelevant to sort the files.
Removed the locale check as it is now irrelevant.
Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
2007-09-23 17:08:09 +00:00
Yann E. MORIN"
49a3aa15cd Fix the glibc-2.6.1 ARM NPTL patch. 2007-09-06 13:02:16 +00:00
Yann E. MORIN"
0bee99ed38 Add a patch to enqable NPTL build on ARM OABI with glibc-2.6.1.
Fix a comment.
2007-09-06 12:38:52 +00:00
Yann E. MORIN"
713cddab0f Remove dead linuxthreads patches. 2007-08-15 20:43:50 +00:00
Yann E. MORIN"
6c368af5b4 Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
 - remove associated patches no longer needed,
 - mark then as (OBSOLETE) in the prompt;
2007-08-14 20:11:44 +00:00
Yann E. MORIN"
06153223e2 Add glibc: 2.5.1 - 2.6 - 2.6.1.
Apply the same patches as glibc 2.5: they apply without any problem (except for ridiculously small offsets).
2007-08-11 10:57:18 +00:00
Yann E. MORIN"
de5df0533c Merge the NPTL stuff.
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-27 20:22:06 +00:00
Yann E. MORIN"
c505dd569f Patches for glibc-2.5, courtesy of "Robert P. J. Day" <rpjday@mindspring.com> 2007-05-18 08:27:50 +00:00
Yann E. MORIN"
8a2b17ab5e Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
 - use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
 - lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
 - a bit of preparations for NPTL (RSN I hope),
 - fix fixing the linker scripts (changing the backup file is kind of useless and stupid);

Shut uClibc finish step: there really is nothing to do;

Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);

Did not catch the make errors: fixed the pattern matching in scripts/functions;

Introduce a new log level, ALL:
 - send components' build messages there,
 - DEBUG log level is destined only for crosstool-NG debug messages,
 - migrate sub-actions to use appropriate log levels;

Update the armeb-unknown-linux-gnu sample:
 - it builds!
 - uses gcc-4.0.4 and glibc-2.3.6,
 - updated to latest config options set.
2007-05-08 17:48:32 +00:00
Yann E. MORIN"
1906cf93f8 Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
2007-02-24 11:00:05 +00:00