Commit Graph

852 Commits

Author SHA1 Message Date
Yann E. MORIN"
70e05067fa Fix saving and using local copy of eglibc tarballs.
/trunk/scripts/build/libc_eglibc.sh |   10     5     5     0 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2008-08-12 09:14:55 +00:00
Yann E. MORIN"
f1b9a7e7bb Merge the static and shared core gcc builds.
/trunk/scripts/build/cc_gcc.sh |  195    64   131     0 ++++++++++++++++--------------------------------
 1 file changed, 64 insertions(+), 131 deletions(-)
2008-08-12 07:47:51 +00:00
Yann E. MORIN"
5c18ddd8b9 Be a little less verbose when retrieving files if they are already present.
Be a little less verbose when extracting (and patching) files.

 /trunk/scripts/functions |    7     2     5     0 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
2008-08-12 07:47:19 +00:00
Yann E. MORIN"
59ef10f5d6 Merge the branches/eglibc stuff:
- Add support for eglibc

 /trunk/scripts/functions  |    6     4     2     0 ++++--
 /trunk/docs/CREDITS       |    1     1     0     0 +
 /trunk/config/libc.in     |   12    12     0     0 ++++++++++++
 /trunk/arch/arm/functions |    4     2     2     0 ++--
 4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11 12:22:47 +00:00
Yann E. MORIN"
57755ca74b Move two log messages around, so that output looks better.
/trunk/scripts/functions |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-08-11 09:42:13 +00:00
Yann E. MORIN"
dde2a329d7 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-08-09 21:09:22 +00:00
Yann E. MORIN"
5c77177873 Do not unset http_proxy, ftp_proxy and https_proxy in case of using a socks proxy.
Add a log message.

 /trunk/scripts/functions |    6     2     4     0 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
2008-08-09 20:48:39 +00:00
Yann E. MORIN"
dfad0fbd2f Merge #920 from branches/eglibc:
Fix saving tarballs locally in case downloads are forced.

 /trunk/scripts/functions |   14     6     8     0 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
2008-08-09 17:48:13 +00:00
Yann E. MORIN"
5bc276a6f0 Merge #916 from branches/eglibc:
Use a little bit more of CT_DoExecLog.

 /trunk/scripts/functions |   35    18    17     0 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)
2008-08-09 17:46:56 +00:00
Yann E. MORIN"
ba23f53157 Merge #914 from branches/eglibc:
Fix setting the proxy.

 /trunk/scripts/functions |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-08-09 17:45:55 +00:00
Yann E. MORIN"
09cb865f74 Merge #912 from branches/eglibc:
Don't check for readlink, it is no longer needed.

 /trunk/configure |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-08-09 17:44:34 +00:00
Yann E. MORIN"
929970279c Merge #911 from banches/eglibc:
Fix testing for tool's presence.

 /trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-09 17:40:44 +00:00
Yann E. MORIN"
933e0d68de Alpha and PowerPC are no longer experimental. 2008-08-08 14:02:48 +00:00
Yann E. MORIN"
e5f035b556 Update the knwon issues with the broekn build of seemingly-native toolchains.
/trunk/docs/known-issues.txt |   59    59     0     0 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
2008-08-08 07:07:16 +00:00
Yann E. MORIN"
ab682b5e47 Simplify populate: no need to be too smart.
If someone is playing us tricks, let him/her be beaten back.
Chances are he/she knows what happens when he/she finds out it does not work any more!

 /trunk/tools/populate.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-07 22:34:32 +00:00
Yann E. MORIN"
9382ba4cda Update the known issues: empty the file prior to adding new ones.
/trunk/docs/known-issues.txt |    7     0     7     0 -------
 1 file changed, 7 deletions(-)
2008-08-07 21:33:09 +00:00
Yann E. MORIN"
2ad2fc7f26 glibc-based toolchain for PowerPC can now build using the latest kernel headers (2.6.26.1).
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config       |   13     7     6     0 +++++++------
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |   13     7     6     0 +++++++------
 2 files changed, 14 insertions(+), 12 deletions(-)
2008-08-07 21:29:08 +00:00
Yann E. MORIN"
ef0f400c26 Introduce four new ARCH specific variables that CT_DoArchValues can set if they want:
- CT_ARCH_CC_CORE_EXTRA_CONFIG
  - CT_ARCH_CC_EXTRA_CONFIG
  - CT_ARCH_TARGET_CLFAGS
  - CT_ARCH_TARGET_LDFLAGS
This will hopefully enable architectures to specify specific flags.
PowerPC will need them to introduce SPE (coming RSN).

 /trunk/scripts/crosstool.sh |    2     2     0     0 ++
 /trunk/scripts/functions    |    4     2     2     0 ++--
 /trunk/docs/overview.txt    |   45    22    23     0 ++++++++++++++++++++++-----------------------
 /trunk/config/target.in     |   10    10     0     0 ++++++++++
 4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-07 15:18:18 +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"
c1a2e1bb87 Add a new config knob for gcc: usage of SJLJ to handle exceptions.
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc).

 /trunk/config/cc/gcc.in        |   41    39     2     0 +++++++++++++++++++++++++++++++++++++++--
 /trunk/scripts/build/cc_gcc.sh |    8     5     3     0 +++++---
 2 files changed, 44 insertions(+), 5 deletions(-)
2008-08-07 13:55:30 +00:00
Yann E. MORIN"
632086b0a5 When reporting bugs, TO is ymorin, CC is crossgcc ML, not the other way around.
/trunk/README |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-08-07 13:35:11 +00:00
Yann E. MORIN"
f53dd7e985 Fix building core C compiler.
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).

 /trunk/scripts/build/cc_gcc.sh |  100    47    53     0 +++++++++++++++++++++++-------------------------
 1 file changed, 47 insertions(+), 53 deletions(-)
2008-08-07 13:28:02 +00:00
Yann E. MORIN"
e348d316b7 Beautify final output.
/trunk/scripts/crosstool.sh |    7     4     3     0 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
2008-08-07 07:52:09 +00:00
Yann E. MORIN"
ce57cdb096 Update this sample to use latest tools.
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config |   25    16     9     0 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)
2008-08-06 07:33:07 +00:00
Yann E. MORIN"
0dc2ac15c9 Mark "ADA", "ObjC", "ObjC++" and "other languages" as being EXPERIMENTAL.
/trunk/config/cc.in |   12     8     4     0 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
2008-08-05 13:27:09 +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"
805aa7f8ec Add latest Linux kernel headers.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-08-04 13:18:36 +00:00
Yann E. MORIN"
d67a32191b Make gcc-4.3.x able to compile uClibc (snapshot only).
Update the gcc patchset accordingly.

 /trunk/scripts/build/cc_gcc.sh |   55    53     2     0 ++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 53 insertions(+), 2 deletions(-)
2008-08-04 12:38:06 +00:00
Yann E. MORIN"
87f4c2c63b Add a new tool to renumber a patch directory.
Eases maintenance when old patches are removed, or new patches added.

 /trunk/tools/patch-renumber.sh |   32    32     0     0 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
2008-08-04 12:09:54 +00:00
Yann E. MORIN"
379ea09dba Michael ABBOTT reported that populate is not relocatable.
Fix this by determining both the cross-readelf and the sys-root at runtime, not at build time.

 /trunk/configure            |    1     1     0     0 +
 /trunk/scripts/crosstool.sh |   14     6     8     0 ++++++--------
 /trunk/tools/populate.in    |    6     4     2     0 ++++--
 3 files changed, 11 insertions(+), 10 deletions(-)
2008-08-04 08:44:54 +00:00
Yann E. MORIN"
4eeadf87e2 Rework a little bit of the LAN mirror and proxy settings.
/trunk/scripts/crosstool.sh      |  105     4   101     0 +------------------------
 /trunk/scripts/functions         |  151   129    22     0 +++++++++++++++++++++++++++++++-----
 /trunk/config/global/download.in |  193    99    94     0 ++++++++++++++++++++++++----------------------
 3 files changed, 232 insertions(+), 217 deletions(-)
2008-08-01 09:23:58 +00:00
Yann E. MORIN"
2166fb982f Change some config items' default values.
/trunk/config/global/paths.in   |    4     2     2     0 ++--
 /trunk/config/global/logging.in |    2     1     1     0 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
2008-08-01 08:23:29 +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"
c49e216c5c Update a new sample to use gcc-4.3.1.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |   18    12     6     0 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)
2008-07-29 17:34:45 +00:00
Yann E. MORIN"
f7b84b7716 Pretyy-up the WiKi table with the date of last update for each sample.
/trunk/scripts/showSamples.sh |   15    12     3     0 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-29 16:48:20 +00:00
Yann E. MORIN"
4b53fa764f Update the Alpha sample to use up-to-date components.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |   30    18    12     0 +++++++++++--------
 1 file changed, 18 insertions(+), 12 deletions(-)
2008-07-29 08:51:15 +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"
3bf3f54ed1 Third go at renaming patches to contain neither the package name nor the package version. 2008-07-28 21:08:01 +00:00
Yann E. MORIN"
661dd3046d REname binutils patches to not include 'binutils' nor the version in the patch names. 2008-07-28 20:17:48 +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"
7d79584d9b Add latest headers from Linux kernel 2.6.25.1{1,2}.
/trunk/config/kernel/linux_headers_install.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-07-28 11:43:29 +00:00
Yann E. MORIN"
5e1a779f78 Update CREDITS.
/trunk/docs/CREDITS |    4     4     0     0 ++++
 1 file changed, 4 insertions(+)
2008-07-27 16:52:53 +00:00
Yann E. MORIN"
5a28e26b8d Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64):
- symlink all lib64/ dirs to the corresponding lib/ dir
Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place.
Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix.

 /trunk/scripts/build/cc_gcc.sh |   26     0    26     0 --------------------------
 /trunk/scripts/crosstool.sh    |   14    14     0     0 ++++++++++++++
 2 files changed, 14 insertions(+), 26 deletions(-)
2008-07-27 16:35:37 +00:00
Yann E. MORIN"
8e512f9a95 Re-enable the restart functionality by removing some variables from the saved environment.
/trunk/scripts/functions |   16    10     6     0 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
2008-07-27 14:25:19 +00:00
Yann E. MORIN"
66e2db8dad "Reported by" is now "First reported by".
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-27 12:03:34 +00:00
Yann E. MORIN"
ccb32f8d06 Update this sample to compress the log file.
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-27 10:54:54 +00:00
Yann E. MORIN"
c8d64d9c70 When saving a sample, overide log file config:
- do log to a file
 - do compress the log file

 /trunk/scripts/saveSample.sh |    6     4     2     0 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-27 10:54:14 +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"
c3817897cb Do log the glibc build commands.
/trunk/scripts/build/libc_glibc.sh |   80    44    36     0 ++++++++++++++++++++++++--------------------
 1 file changed, 44 insertions(+), 36 deletions(-)
2008-07-26 12:26:42 +00:00