Commit Graph

1290 Commits

Author SHA1 Message Date
Yann E. MORIN"
cecc3e81a9 Enable using contributed code: add a new ./configure option to select which contributions should be applied.
/trunk/configure |   44    43     1     0 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)
2008-06-25 08:34:47 +00:00
Yann E. MORIN"
710b79ab7a Change default path where toolchain will run from to "${HOME}/x-tools/${CT_TARGET}".
/trunk/config/global/paths.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-25 06:24:51 +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"
6180cc0ea5 Allow to store working files outside the build tree (eg. incase the working tree is on the network).
/trunk/scripts/crosstool.sh   |    9     5     4     0 +++++----
 /trunk/config/global/paths.in |   23    22     1     0 ++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 5 deletions(-)
2008-06-24 16:19:45 +00:00
Yann E. MORIN"
bf27958b7d Don't build ncurses ADA bindings if an ADA x-compiler was not built.
/trunk/scripts/build/debug/300-gdb.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-24 15:44:55 +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"
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"
12834b867b Re-diff the openrisc support contrin patch to current code.
/trunk/contrib/openrisc-or32.patch.lzma | 4092  1522  2570     0 +++++++++++++++------------------------
 1 file changed, 1522 insertions(+), 2570 deletions(-)
2008-06-24 06:25:22 +00:00
Yann E. MORIN"
ad3997b704 Sort samples.
/trunk/samples/samples.mk |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-23 08:07:14 +00:00
Yann E. MORIN"
b47ac9c339 Alexander Bigga reported this new sample.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |  308   308     0     0 +++++++++++++++++++++
 /trunk/samples/arm-unknown-linux-gnueabi/reported.by      |    2     2     0     0 +
 2 files changed, 310 insertions(+)
2008-06-22 17:33:51 +00:00
Yann E. MORIN"
727566c0cb Only priunt WARNings when saving the current configuration.
Eye-candy in code.

 /trunk/scripts/saveSample.sh |   10     5     5     0 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-22 17:30:37 +00:00
Yann E. MORIN"
1b00a301bd GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

 /trunk/scripts/build/debug/300-gdb.sh |   27    19     8     0 ++++++++++++++++-------
 /trunk/scripts/build/gmp.sh           |   47    39     8     0 ++++++++++++++++++++++++++++++++-------
 /trunk/scripts/build/mpfr.sh          |   49    40     9     0 +++++++++++++++++++++++++++++++++--------
 /trunk/steps.mk                       |    2     2     0     0 ++
 /trunk/config/cc/gcc.in               |   18     1    17     0 +--------------
 /trunk/config/debug/gdb.in            |    6     1     5     0 +----
 /trunk/config/config.in               |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in             |   34    34     0     0 ++++++++++++++++++++++++++++
 8 files changed, 137 insertions(+), 47 deletions(-)
2008-06-20 15:16:43 +00:00
Yann E. MORIN"
aec9074b72 Un-mark Socks proxy settings as BROKEN.
/trunk/config/global/download_extract.in |   16     4    12     0 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
2008-06-20 14:00:01 +00:00
Yann E. MORIN"
cec69cf1c1 Update config.sub.
/trunk/tools/config.sub |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
2008-06-20 12:02:25 +00:00
Yann E. MORIN"
6e2180c1f2 Print "Build completed" only if not in error, not the other way around.
/trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-20 11:58:13 +00:00
Yann E. MORIN"
8f0f8a170a Really don't re-build MPFR autotools files at each run.
/trunk/scripts/build/debug/300-gdb.sh |    8     6     2     0 ++++++--
 /trunk/scripts/build/mpfr.sh          |   10     7     3     0 +++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)
2008-06-20 10:58:45 +00:00
Yann E. MORIN"
548df9d13e Update the alpha sample.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |   12     8     4     0 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
2008-06-20 09:57:04 +00:00
Yann E. MORIN"
b4c1d39a2b Don't force building a gdbserver when only native gdb is selected.
/trunk/config/debug/gdb.in            |    1     0     1     0 -
 /trunk/scripts/build/debug/300-gdb.sh |    1     0     1     0 -
 2 files changed, 2 deletions(-)
2008-06-20 09:56:46 +00:00
Yann E. MORIN"
631ad148a2 Only rebuild MPFR config files at extract time, not for every builds.
/trunk/scripts/build/mpfr.sh |   15     7     8     0 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
2008-06-20 09:17:06 +00:00
Yann E. MORIN"
59eaaed971 Realy fix building MPFR.
/trunk/scripts/build/mpfr.sh |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-06-20 07:44:14 +00:00
Yann E. MORIN"
45117f345b Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!
/trunk/scripts/build/mpfr.sh |   11    11     0     0 +++++++++++
 1 file changed, 11 insertions(+)
2008-06-19 21:54:57 +00:00
Yann E. MORIN"
3950f8e87d A bunch of fixes/improvements to the gdb build:
- allow native builds (both shared and static)
 - fix enabling threads
 - better handle the gdbserver case
 - introduce the ncurses library to allow native builds
 - re-order config options adequately

 /trunk/scripts/build/debug/300-gdb.sh |  126    79    47     0 ++++++++++++++++++++++++++---------------
 /trunk/config/debug/gdb.in            |   45    33    12     0 +++++++++++----
 2 files changed, 112 insertions(+), 59 deletions(-)
2008-06-19 15:33:33 +00:00
Yann E. MORIN"
e66d06e8e3 Only print "Build completed" if build was successful.
Print the time at which at step was finished (along with the time it took to complete).

 /trunk/scripts/functions |    7     5     2     0 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
2008-06-19 15:31:04 +00:00
Yann E. MORIN"
94ce4c79f9 Fix building D.U.M.A. when C++ is not configured.
/trunk/scripts/build/debug/200-duma.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-19 15:30:01 +00:00
Yann E. MORIN"
21f8f48369 Build a C++ friendly uClibc.
/trunk/scripts/build/libc_uClibc.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-19 08:17:39 +00:00
Yann E. MORIN"
88d52c0265 Ioannis E. VENETIS was the first to report working alpha sample. Give him credits.
/trunk/samples/alphaev56-unknown-linux-gnu/reported.by |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-06-19 08:15:52 +00:00
Yann E. MORIN"
c66afdc69e When building uClibc, always build the libpthread_db.
/trunk/scripts/build/libc_uClibc.sh |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-06-19 08:14:52 +00:00
Yann E. MORIN"
a8bfc05f9f Help ncurses to install properly.
/trunk/scripts/build/debug/300-gdb.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-18 14:16:01 +00:00
Yann E. MORIN"
c15f99666a Re-format the dumped DokuWiki table of samples.
/trunk/scripts/showSamples.sh |   20    15     5     0 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
2008-06-18 13:20:14 +00:00
Yann E. MORIN"
a2f76d1cc5 Update the alpha sample with an updated set of options and features.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |   61    50    11     0 ++++++++++++++++---
 1 file changed, 50 insertions(+), 11 deletions(-)
2008-06-18 12:54:30 +00:00
Yann E. MORIN"
aead7ddfbd Fix saving samples.
/trunk/scripts/saveSample.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-18 12:53:38 +00:00
Yann E. MORIN"
a09a458bb9 Fix building native gdb: download, extract, patch, build and install the ncurses library (that is needed by gdb)
/trunk/scripts/build/debug/300-gdb.sh |   46    42     4     0 +++++++++++++++++++++++++++++++++++++----
 /trunk/config/debug/gdb.in            |   26    25     1     0 ++++++++++++++++++++++-
 2 files changed, 67 insertions(+), 5 deletions(-)
2008-06-18 12:33:32 +00:00
Yann E. MORIN"
1b822b4447 Introduce latest D.U.M.A. version and associated patches rediffed.
/trunk/patches/duma/2_5_14/200-separate_cpp.patch  |   19    19     0     0 +++++++++++++++++
 /trunk/patches/duma/2_5_14/100-cross-compile.patch |   32    32     0     0 ++++++++++++++++++++++++++++
 /trunk/config/debug/duma.in                        |    5     5     0     0 ++++
 3 files changed, 56 insertions(+)
2008-06-17 22:28:17 +00:00
Yann E. MORIN"
b9640aeaab Fix building D.U.M.A:
- some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0
 - don't build the libraries multiple times, do it in one pass
 - install a custom LD_PRELOAD wrapper

 /trunk/scripts/build/debug/200-duma.sh |   54    33    21     0 +++++++++++++++++++++++++++++++++---------------------
 1 file changed, 33 insertions(+), 21 deletions(-)
2008-06-17 22:26:44 +00:00
Yann E. MORIN"
d600848c10 Add patches for gdb 6.7, 6.7.1 and 6.8, vampirised from the Gentoo CVS.
/trunk/patches/gdb/6.7.1/175-gdb-hppa-offsets.patch                 |  272   272     0     0 +++++++++++++++++++
 /trunk/patches/gdb/6.7.1/200-gdb-deleted-children.patch             |   26    26     0     0 ++
 /trunk/patches/gdb/6.7.1/225-gdb-6.5-dwarf-stack-overflow.patch     |   52    52     0     0 ++++
 /trunk/patches/gdb/6.7.1/150-gdb-6.3-security-errata-20050610.patch |  205   205     0     0 ++++++++++++++
 /trunk/patches/gdb/6.7/150-gdb-6.5-dwarf-stack-overflow.patch       |   52    52     0     0 ++++
 /trunk/patches/gdb/6.7/100-gdb-6.3-security-errata-20050610.patch   |  205   205     0     0 ++++++++++++++
 /trunk/patches/gdb/6.7/125-gdb-hppa-offsets.patch                   |  272   272     0     0 +++++++++++++++++++
 /trunk/patches/gdb/6.8/100-gdb-6.5-dwarf-stack-overflow.patch       |   52    52     0     0 ++++
 /trunk/patches/gdb/6.8/200-gdb-tdep-opcode-include-workaround.patch |   33    33     0     0 ++
 /trunk/patches/gdb/6.8/150-gdb-6.3-security-errata-20050610.patch   |  205   205     0     0 ++++++++++++++
 10 files changed, 1374 insertions(+)
2008-06-17 21:37:27 +00:00
Yann E. MORIN"
9a236415c3 Fix building dmalloc in case strdup is a macro (uncaught when x-compiling certain targets).
/trunk/patches/dmalloc/5.5.2/500-strdup_macro.patch |   39    39     0     0 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
2008-06-17 13:21:56 +00:00
Yann E. MORIN"
aa8a936a1d Help glibc build by exporting PARALLELMFLAGS.
/trunk/scripts/crosstool.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-17 11:30:36 +00:00
Yann E. MORIN"
ee45ae9574 Change the log level of a core gcc build message (headers copy), from EXTRA to DEBUG.
/trunk/scripts/build/cc_gcc.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-17 11:22:23 +00:00
Yann E. MORIN"
aa02a204d9 Add altest linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   16    14     2     0 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
2008-06-17 08:31: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"
1eaa6e6cbf Some makeinfo versions are a pain in [somewhere very painful].
Work this around with a wrapper that always succeeds, and leave incomplete files in place.

 /trunk/scripts/crosstool.sh |    7     7     0     0 +++++++
 1 file changed, 7 insertions(+)
2008-06-15 22:02:45 +00:00
Yann E. MORIN"
d48ade3ec8 Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib.
/trunk/scripts/build/cc_gcc.sh |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-06-15 20:51:37 +00:00
Yann E. MORIN"
6cea94c049 When saving a sample, force the prefix directory to be ${HOME}/x-tools/${CT_TARGET} .
/trunk/scripts/saveSample.sh |    4     3     1     0 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
2008-06-15 19:55:56 +00:00
Yann E. MORIN"
7858c92473 Samples should default to installing into ${HOME}/x-tools/${CT_TARGET}
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-15 19:51:09 +00:00
Yann E. MORIN"
e08c8fa12a Add a new rule to build the sample table ready to include in the WiKi.
/trunk/scripts/showSamples.sh |   81    53    28     0 ++++++++++++++++++++++++++++++++-----------------
 /trunk/samples/samples.mk     |    6     6     0     0 ++++
 2 files changed, 59 insertions(+), 28 deletions(-)
2008-06-15 19:25:51 +00:00
Yann E. MORIN"
d9382df091 Update the Alpha sample to a working combination.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |   21     8    13     0 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)
2008-06-15 19:25:14 +00:00
Yann E. MORIN"
183ab5339e Make binutils 2.17 recognise makeinfo 2.11 as being more recent than the required 2.4.
/trunk/patches/binutils/2.17/120-makeinfo-version.patch |   16     0    16     0 ----------------
 1 file changed, 16 deletions(-)
2008-06-15 16:44:33 +00:00
Yann E. MORIN"
5fcaf8b3ff Preliminary Alpha support, courtesy Ioannis E. Venetis <venetis@capsl.udel.edu>.
/trunk/docs/CREDITS                                         |    3     3     0     0 +
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  282   282     0     0 +++++++++++++++++++
 /trunk/config/target.in                                     |    9     9     0     0 +
 /trunk/arch/alpha/functions                                 |    9     9     0     0 +
 /trunk/arch/alpha/config.in                                 |   58    58     0     0 ++++
 5 files changed, 361 insertions(+)
2008-06-14 20:57:57 +00:00
Yann E. MORIN"
8ab984f4aa Remove 'make' warning whith ./configure --local.
Eye-candy.

 /trunk/Makefile.in |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-06-14 14:04:54 +00:00