Commit Graph

29 Commits

Author SHA1 Message Date
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"
817ca6fefb All ARM sample now build with gcc-4.3.1! :-)
Unfortunately (fortunately?), this implies using a uClibc snapshot.

 /trunk/samples/armeb-unknown-linux-uclibc/uClibc-20080801.config        |  243   243     0     0 ++++++++++
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config              |   29    17    12     0 +
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config               |   13     8     5     0 +
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/uClibc-20080801.config   |  243   243     0     0 ++++++++++
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config         |   29    17    12     0 +
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config                 |   13     8     5     0 +
 /trunk/samples/arm-unknown-linux-uclibc/uClibc-20080801.config          |  243   243     0     0 ++++++++++
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config                |   29    17    12     0 +
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/uClibc-20080801.config |  243   243     0     0 ++++++++++
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config       |   29    17    12     0 +
 10 files changed, 1056 insertions(+), 58 deletions(-)
2008-08-04 17:45:27 +00:00
Yann E. MORIN"
fd84c08021 Re-instatethe fortran forntend for this sample.
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-25 09:52:52 +00:00
Yann E. MORIN"
f4fcd86228 This sample is the first to build gcc-4.3 for ARM.
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config |   18    11     7     0 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
2008-07-25 08:43:42 +00:00
Yann E. MORIN"
40be64eec9 Updatge all samples to neither use a LAN mirror, nor a proxy (new set of options).
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   38    18    20     0 ++++++------
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |   38    18    20     0 ++++++------
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |   40    20    20     0 ++++++------
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |   38    18    20     0 ++++++------
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |   40    20    20     0 ++++++------
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |   38    18    20     0 ++++++------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   38    18    20     0 ++++++------
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |   38    18    20     0 ++++++------
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |   40    20    20     0 ++++++------
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |   40    20    20     0 ++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |   38    18    20     0 ++++++------
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config          |   38    18    20     0 ++++++------
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   38    18    20     0 ++++++------
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |   38    18    20     0 ++++++------
 14 files changed, 260 insertions(+), 280 deletions(-)
2008-07-19 22:55:19 +00:00
Yann E. MORIN"
503b29d12e Update all ARM samples to use gcc-4.2.4.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |    9     5     4     0 +++++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |    9     5     4     0 +++++----
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |    9     5     4     0 +++++----
 6 files changed, 30 insertions(+), 24 deletions(-)
2008-07-19 20:51:52 +00:00
Yann E. MORIN"
9209349493 Some more ARM sample to build gfortran...
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   11     6     5     0 ++++++-----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |   11     6     5     0 ++++++-----
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   11     6     5     0 ++++++-----
 3 files changed, 18 insertions(+), 15 deletions(-)
2008-07-18 15:15:45 +00:00
Yann E. MORIN"
588d2d9852 Update all samples to use binutils-2.18.50.0.8.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |    9     5     4     0 +++++----
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |    8     4     4     0 ++++----
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |    9     5     4     0 +++++----
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |    8     4     4     0 ++++----
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |    9     5     4     0 +++++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |    9     5     4     0 +++++----
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |    9     5     4     0 +++++----
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |    9     5     4     0 +++++----
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config          |    8     4     4     0 ++++----
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |    9     5     4     0 +++++----
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |    9     5     4     0 +++++----
 14 files changed, 67 insertions(+), 56 deletions(-)
2008-07-14 13:19:37 +00:00
Yann E. MORIN"
a14b6c3dd9 Update samples to latest options set (no config changes).
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   29    12    17     0 +++++--------
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |   23    12    11     0 +++++-----
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |   21     8    13     0 +++------
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |   15     8     7     0 ++++---
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |   19    10     9     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   29    12    17     0 +++++--------
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |   23    12    11     0 +++++-----
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |   21     8    13     0 +++------
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |   15     8     7     0 ++++---
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |   23    12    11     0 +++++-----
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config          |   11     6     5     0 +++--
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   23    12    11     0 +++++-----
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |    9     5     4     0 ++--
 13 files changed, 125 insertions(+), 136 deletions(-)
2008-07-07 21:31:08 +00:00
Yann E. MORIN"
6face320b3 Update samples to the latest architecture framework.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   57    32    25     0 +++++++-----
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |   60    34    26     0 +++++++------
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |   43    23    20     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   57    32    25     0 +++++++-----
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |   46    26    20     0 ++++++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |   56    30    26     0 ++++++------
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |   43    23    20     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |   53    27    26     0 ++++++-----
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |   43    23    20     0 +++++----
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |   49    29    20     0 ++++++-----
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   51    26    25     0 ++++++-----
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |   43    23    20     0 +++++----
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |   44    21    23     0 ++++------
 13 files changed, 349 insertions(+), 296 deletions(-)
2008-06-30 21:41:32 +00:00
Yann E. MORIN"
4bf71cb437 Update the samples.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   13     8     5     0 +++--
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |   35    24    11     0 +++++++++----
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |   11     7     4     0 +++-
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   11     7     4     0 +++-
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |   19    11     8     0 ++++---
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |   11     7     4     0 +++-
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |   11     7     4     0 +++-
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |   11     7     4     0 +++-
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |   11     7     4     0 +++-
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |   16    10     6     0 ++++--
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   13     8     5     0 +++--
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |   11     7     4     0 +++-
 12 files changed, 110 insertions(+), 63 deletions(-)
2008-06-27 11:19:12 +00:00
Yann E. MORIN"
988e11fc08 Update samples.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |    5     3     2     0 +++--
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |    5     3     2     0 +++--
 /trunk/samples/arm-unknown-linux-gnueabi/reported.by              |    2     1     1     0 +-
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |    5     3     2     0 +++--
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |    5     3     2     0 +++--
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |    7     3     4     0 +++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |    5     3     2     0 +++--
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |    5     3     2     0 +++--
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |    5     3     2     0 +++--
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |    5     3     2     0 +++--
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |    5     3     2     0 +++--
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |    5     3     2     0 +++--
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |    5     3     2     0 +++--
 13 files changed, 37 insertions(+), 27 deletions(-)
2008-06-25 09:04:38 +00:00
Yann E. MORIN"
89f6ee877e Update samples to the latest set of options, build-tested.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   80    56    24     0 +++++++---
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |   80    56    24     0 +++++++---
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |   80    56    24     0 +++++++---
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |  100    81    19     0 +++++++++++--
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |   83    56    27     0 +++++++----
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |   80    56    24     0 +++++++---
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |   80    56    24     0 +++++++---
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |   80    56    24     0 +++++++---
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   69    45    24     0 ++++++---
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |   73    51    22     0 ++++++---
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |   24    14    10     0 ++-
 11 files changed, 583 insertions(+), 246 deletions(-)
2008-06-24 13:16:21 +00:00
Yann E. MORIN"
14bc57f904 Update samples to latest set of options.
Update components up to the latest working version.
Update the set of supported languages for each sample.

 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config      |   42    14    28     0 ++----
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config       |  107    62    45     0 ++++++++------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   42    14    28     0 ++----
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config          |   79    43    36     0 ++++++-----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |   42    13    29     0 +-----
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config     |  112    65    47     0 +++++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |   42    14    28     0 ++----
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config         |   44    15    29     0 ++----
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config             |   44    15    29     0 ++----
 9 files changed, 255 insertions(+), 299 deletions(-)
2008-05-04 10:44:07 +00:00
Yann E. MORIN"
89aca6f995 Update those samples to latest config options.
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |  115    76    39     0 +++++++++++++------
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config      |  114    73    41     0 +++++++++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |  116    74    42     0 ++++++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |  141    98    43     0 ++++++++++++++++-------
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config         |  120    76    44     0 +++++++++++++-------
 5 files changed, 397 insertions(+), 209 deletions(-)
2008-05-02 22:02:42 +00:00
Yann E. MORIN"
07fa611771 Robet P. J. DAY: typoes. 2008-02-14 22:44:34 +00:00
Yann E. MORIN"
2fa75919ca Update the samples to the new set of options (not changing the configuration). 2008-01-16 22:21:55 +00:00
Yann E. MORIN"
cdbe4e92cc Updated the armeb-unknown-linux-gnu sample to use the ;ost recent glibc with NPTL. 2007-09-06 12:43:30 +00:00
Yann E. MORIN"
1cf24eb2a4 Updated the armeb-unknown-linux-gnu sample. 2007-09-06 10:49:05 +00:00
Yann E. MORIN"
c6b330d845 Update all samples to the latest set of options (because so much as changed since we dropped the core C compiler and many obsolete versions). 2007-08-15 21:24:02 +00:00
Yann E. MORIN"
7131764f9c Remove any reference to libfloat. That has gone once and for all.
Rationale:
Most of the time, soft-float problems are caused by this sucker of gcc:
it has support for soft float for all of the targets I've tried so far,
but does not activate this code until you dwelve into half a dozen of
files to make it accept to build and link the support code...

So, yes: gcc has soft-float support. And again, yes: gcc is a sucker.
2007-07-30 20:02:13 +00:00
Yann E. MORIN"
b35207cc88 Update the samples to the latest option set. 2007-07-24 20:41:08 +00:00
Yann E. MORIN"
fa64078194 Update the armeb-unknown-linux-gnu to be buildable.
Both busybox-svn and linux-2.6.21.5 are succesfully built.
2007-07-05 18:11:11 +00:00
Yann E. MORIN"
5e7fa0debc Make the progress bar a default for all samples. 2007-06-19 17:50:46 +00:00
Yann E. MORIN"
2e925f1569 Mark broken samples as such: use a file named 'broken' in the sample's directory.
Reflected this state when listing samples (in scripts/showSamples.sh).
2007-05-22 21:18:55 +00:00
Yann E. MORIN"
a845d72881 Update the way we handle directories supplied by the user:
- the tarball directory is considered as a local copy, and tarballs are copied to a working area,
 - the sources and build directories (CT_SRC_DIR and CT_BUILD_DIR) are now computed, and no longer an option,
 - the build dir has been renamed from 'build' to 'targets'.
That should ease preparing a tarball of the resulting target.
2007-05-10 21:33:35 +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"
c050562a41 Update the armeb-unknow-linux-gnu sample. 2007-03-04 11:26:46 +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