Commit Graph

727 Commits

Author SHA1 Message Date
Yann E. MORIN"
36f41a9d27 ./configure expects message to be in the C locale, so force that.
/trunk/configure |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-06-01 20:33:41 +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"
fddd535b29 Rework dumping the samples.
/trunk/scripts/showSamples.sh |    1     0     1     0 -
 /trunk/samples/samples.mk     |   10     7     3     0 +++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)
2008-05-26 21:49:36 +00:00
Yann E. MORIN"
a398f38872 Update the list of known issues.
/trunk/docs/known-issues.txt |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-05-26 20:28:11 +00:00
Yann E. MORIN"
91c6e16780 Add a new helper function: CT_DoExecLog.
It is similar to CT_DoLog, but instead of printing its arguments, it uses them as a command, and logs the output of that command.

 /trunk/scripts/functions |    8     8     0     0 ++++++++
 1 file changed, 8 insertions(+)
2008-05-25 22:25:50 +00:00
Yann E. MORIN"
3d9cc3d036 Add the armeb-unknown-linux-uclibcgnueabi sample, which builds an ARM EABI, big-endian, uClibc-based toolchain.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/uClibc-0.9.29.config |  214   214     0     0 +++++++
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config     |  308   308     0     0 ++++++++++
 2 files changed, 522 insertions(+)
2008-05-25 22:23:29 +00:00
Yann E. MORIN"
832d6ba314 Fix building big-endian ARM EABI toolchains (build-tested only).
Patch highly inspired by the one from OpenWRT (http://openwrt.org/)

 /trunk/patches/gcc/4.2.3/930-eabi_fixes.patch |   13    13     0     0 +++++++++++++
 /trunk/scripts/build/cc_gcc.sh                |    6     4     2     0 ++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
2008-05-25 22:10:32 +00:00
Yann E. MORIN"
5ad450e403 Multilib is gone, so don't use it when building gcc.
/trunk/scripts/build/cc_gcc.sh |    6     1     5     0 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
2008-05-24 22:49:54 +00:00
Yann E. MORIN"
8dd0e17c51 Use the arch-specific target LDFLAGS into the final target LDFLAGS.
Fix a help entry in the CFLAGS_for_target config entry.

 /trunk/scripts/crosstool.sh |    4     3     1     0 +++-
 /trunk/config/target.in     |    2     1     1     0 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
2008-05-24 22:38:07 +00:00
Yann E. MORIN"
9e5b090cc5 Building multi-lib aware toolchains is not supported, and won'yt be before a loooong time. Remove the associated config entry.
/trunk/config/toolchain.in |   18     0    18     0 ------------------
 1 file changed, 18 deletions(-)
2008-05-24 22:10:51 +00:00
Yann E. MORIN"
c68aacb799 Improve handling of __cxa_atexit by Arnaud Vrac <rawoul at zogzog dot org>.
/trunk/scripts/build/cc_gcc.sh |   18    15     3     0 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
2008-05-22 22:38:37 +00:00
Yann E. MORIN"
9d2e7e0b70 Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.

 /trunk/scripts/functions |    9     7     2     0 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
2008-05-21 22:00:52 +00:00
Yann E. MORIN"
6bf2896c4e Build an MPFR library that is thread-safe (I don't know if either binutils or gcc are threaded themselves).
/trunk/scripts/build/mpfr.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-05-21 21:52:31 +00:00
Yann E. MORIN"
0c4633c37f Get rid of all command (which is a bashism), and replace them with $(command), which is POSIX.
Get rid of all remaining \"text\" in log messages and replace them with 'text'.
Optimise the progress bar, should go un-noticed at log level DEBUG and below.

 /trunk/scripts/build/tools/200-sstrip.sh  |   16     8     8     0 ++--
 /trunk/scripts/build/libc_glibc.sh        |   50    25    25     0 +++++++-------
 /trunk/scripts/build/libc_uClibc.sh       |    4     2     2     0
 /trunk/scripts/build/debug/100-dmalloc.sh |    2     1     1     0
 /trunk/scripts/build/debug/400-ltrace.sh  |    2     1     1     0
 /trunk/scripts/build/debug/300-gdb.sh     |    8     4     4     0 +-
 /trunk/scripts/build/debug/200-duma.sh    |    6     3     3     0 +-
 /trunk/scripts/build/kernel_linux.sh      |   30    15    15     0 ++++----
 /trunk/scripts/build/cc_gcc.sh            |   14     7     7     0 ++--
 /trunk/scripts/crosstool.sh               |   54    27    27     0 ++++++++--------
 /trunk/scripts/functions                  |  128    64    64     0 ++++++++++++++++++------------------
 /trunk/scripts/saveSample.sh              |    4     2     2     0
 /trunk/scripts/tarball.sh.broken          |   20    10    10     0 +++---
 /trunk/tools/addToolVersion.sh            |    8     4     4     0 +-
 /trunk/tools/populate.in                  |   18     9     9     0 ++--
 15 files changed, 182 insertions(+), 182 deletions(-)
2008-05-20 21:32:39 +00:00
Yann E. MORIN"
62c87c5adf In the future, we'll be able to download /old/ MPFR versions.
/trunk/scripts/build/mpfr.sh |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-05-19 21:41:19 +00:00
Yann E. MORIN"
acf53b6d0a Add a security patch for MPFR-2.3.1.
/trunk/patches/mpfr/2.3.1/100-thread-safe-configure.patch |  209   209     0     0 +++++++++++++++++++++
 1 file changed, 209 insertions(+)
2008-05-19 21:40:41 +00:00
Yann E. MORIN"
db55511ac2 PowerPC support by Daniel Dittmann.
/trunk/docs/CREDITS           |    3     3     0     0 +++
 /trunk/config/target.in       |    8     8     0     0 ++++++++
 /trunk/arch/powerpc/functions |    9     9     0     0 +++++++++
 /trunk/arch/powerpc/config.in |    1     1     0     0 +
 4 files changed, 21 insertions(+)
2008-05-18 20:50:13 +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"
7007cc858f Introduce a new option to overide components' config.{gues,sub} with the one provided with crosstool-NG.
Fix typoes in a comment.

 /trunk/scripts/functions                 |   13    11     2     0 +++++++++++--
 /trunk/config/global/download_extract.in |   20    20     0     0 ++++++++++++++++++++
 2 files changed, 31 insertions(+), 2 deletions(-)
2008-05-15 20:45:18 +00:00
Yann E. MORIN"
ec169f9cc7 Fix forcing source extraction.
/trunk/scripts/crosstool.sh |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-05-15 20:42:45 +00:00
Yann E. MORIN"
77bf4f327a Add latest binutils snapshot, and propagate patches from previous snapshot.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-05-15 16:47:50 +00:00
Yann E. MORIN"
c46ab20e6f Add latest linux kernel versions for installing headers.
/trunk/config/kernel/linux_headers_install.in |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-05-15 16:39:55 +00:00
Yann E. MORIN"
e4e48f728c Small config fix todefault to non-verbose uClibc build.
/trunk/config/libc/uClibc.in |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-05-14 21:24:03 +00:00
Yann E. MORIN"
65357b3698 Fix the EABI case for ARM.
/trunk/arch/arm/functions |   17    17     0     0 +++++++++++++++++
 /trunk/arch/arm/config.in |    3     3     0     0 +++
 2 files changed, 20 insertions(+)
2008-05-14 17:59:52 +00:00
Yann E. MORIN"
cfdbd995e2 Better configure binutils, both for host and target.
/trunk/scripts/build/binutils.sh |   23    15     8     0 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)
2008-05-14 17:58:07 +00:00
Yann E. MORIN"
4ebe15e6b4 Sanitise and use CT_CC_NATIVE.
Comment inclusion of scripts/functions.

 /trunk/scripts/build/cc_gcc.sh |    6     6     0     0 ++++++
 /trunk/scripts/crosstool.sh    |    7     6     1     0 ++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
2008-05-14 17:56:33 +00:00
Yann E. MORIN"
5e2851a219 Introduce a new option to render (or not) uClibc' build verbose.
/trunk/scripts/build/libc_uClibc.sh |    6     4     2     0 ++++--
 /trunk/config/libc/uClibc.in        |   23    23     0     0 +++++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)
2008-05-14 17:52:53 +00:00
Yann E. MORIN"
0dad6065a6 Export endianness CFLAGS.
Fix endianness CFLAGS for MIPS.

 /trunk/scripts/functions   |    1     1     0     0 +
 /trunk/arch/mips/functions |    6     6     0     0 ++++++
 2 files changed, 7 insertions(+)
2008-05-14 17:49:52 +00:00
Yann E. MORIN"
c15c2e6978 Vampirise three new patches for uClibc, coming from buildroot.
/trunk/patches/uClibc/0.9.29/600-filter-gnu99-from-assembly-flags.patch |   12    12     0     0 +
 /trunk/patches/uClibc/0.9.29/800-rm-whitespace.patch                    |   86    86     0     0 ++++++
 /trunk/patches/uClibc/0.9.29/700-linuxthreads.patch                     |  145   145     0     0 ++++++++++
 3 files changed, 243 insertions(+)
2008-05-14 17:40:28 +00:00
Yann E. MORIN"
edbd3bee45 Fix building uClibc-based, soft-float toolchains by correctly setting float support in the uClibc config file.
Correctly unset float CFLAGS and configure arguments before setting them.

 /trunk/scripts/build/libc_uClibc.sh |    4     2     2     0 ++--
 /trunk/scripts/functions            |    4     2     2     0 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-14 17:39:18 +00:00
Yann E. MORIN"
e086c89afe Improve a comment in code.
/trunk/scripts/build/libc_glibc.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-05-11 12:53:37 +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"
f89415dd83 Update tools/config.{guess,sub}.
/trunk/tools/config.guess |   38    24    14     0 ++++++++++++++++++++-----------
 /trunk/tools/config.sub   |   65    54    11     0 ++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 78 insertions(+), 25 deletions(-)
2008-05-08 15:37:21 +00:00
Yann E. MORIN"
15e06b96ef Update the URLs where to retrieve config.guess and config.sub from.
/trunk/tools/tools.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-05-08 15:36:51 +00:00
Yann E. MORIN"
770bed1f53 Add a new option to set connection timeout while downloading.
/trunk/scripts/functions                 |   16     8     8     0 ++++++++--------
 /trunk/config/global/download_extract.in |   25    25     0     0 +++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 8 deletions(-)
2008-05-06 20:30:49 +00:00
Yann E. MORIN"
281eb72542 Bump up version to 1.1.0+svn.
/trunk/.version |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-04 10:46:32 +00:00
Yann E. MORIN"
bf8ca982fe Bump version number to 1.0.0.
/trunk/.version |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-04 10:44:57 +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"
41c32c8b2b One-liner to fix default proxy config.
/trunk/config/global/download_extract.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-03 17:56:40 +00:00
Yann E. MORIN"
1b9a490601 Some people are reposrting that ftp does not work on their network, probably due to proxies, while http does work.
Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover.
There's no solution for those sites that do not have such an http equivalent.

 /trunk/scripts/build/binutils.sh         |    5     2     3     0 ++---
 /trunk/scripts/build/libc_glibc.sh       |    4     2     2     0 ++--
 /trunk/scripts/build/libc_uClibc.sh      |    2     1     1     0 +-
 /trunk/scripts/build/debug/400-ltrace.sh |    2     1     1     0 +-
 /trunk/scripts/build/debug/300-gdb.sh    |    8     3     5     0 +++-----
 /trunk/scripts/build/kernel_linux.sh     |    7     2     5     0 ++-----
 /trunk/scripts/build/cc_gcc.sh           |    6     2     4     0 ++----
 /trunk/scripts/build/gmp.sh              |    4     1     3     0 +---
 8 files changed, 14 insertions(+), 24 deletions(-)
2008-05-03 17:51:16 +00:00
Yann E. MORIN"
266acfa496 As a bonus, the i686-nptl-linux-gnu can build Fortrn and Java!
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-05-03 17:01:35 +00:00
Yann E. MORIN"
8b2cdf0f4e This one was hard to build. At least a combination taht works.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |  114    73    41     0 +++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 73 insertions(+), 41 deletions(-)
2008-05-03 16:57:23 +00:00
Yann E. MORIN"
a056fa7341 Fix tools.sh and debug.sh now the tools/ and debug/ sub-dirs are numerically sorted.
/trunk/scripts/build/debug.sh |    4     2     2     0 ++--
 /trunk/scripts/build/tools.sh |    4     2     2     0 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-03 09:53:49 +00:00
Yann E. MORIN"
1dc26cbbcd Fix testing glibc versions for -pipe.
/trunk/scripts/build/libc_glibc.sh |    6     4     2     0 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
2008-05-02 22:47:43 +00:00
Yann E. MORIN"
3d8a1efd05 Comment more a mis-leading comment in the glibc build procedure.
/trunk/scripts/build/libc_glibc.sh |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-05-02 22:21:43 +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"
ff1d30c4a3 For tools/ and debug/ build scripts, annd a numeric prefix, so that they always get built in the same order, in case of library dependencies.
/trunk/scripts/build/debug.sh |    2     1     1     0 +-
 /trunk/scripts/build/tools.sh |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2008-05-02 21:59:14 +00:00
Yann E. MORIN"
fdb7c1e75d Add latest linux kernel versions.
Remove old ones, keeping only the latest 'Y' in each 2.6.X.Y series.

 /trunk/config/kernel/linux_headers_install.in |  129    26   103     0 +++++++--------------------------
 1 file changed, 26 insertions(+), 103 deletions(-)
2008-05-02 21:55:57 +00:00
Yann E. MORIN"
3b8580605b Add latest, untested gdb versions
/trunk/config/debug/gdb.in |   18    18     0     0 ++++++++++++++++++
 1 file changed, 18 insertions(+)
2008-05-02 21:54:46 +00:00