summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2008-08-07Introduce four new ARCH specific variables that CT_DoArchValues can set if ↵Yann E. MORIN"2-2/+4
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-07Add a new config knob for gcc: usage of SJLJ to handle exceptions.Yann E. MORIN"1-3/+5
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-07Fix building core C compiler.Yann E. MORIN"1-53/+47
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-07Beautify final output.Yann E. MORIN"1-3/+4
/trunk/scripts/crosstool.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
2008-08-04Make gcc-4.3.x able to compile uClibc (snapshot only).Yann E. MORIN"1-2/+53
Update the gcc patchset accordingly. /trunk/scripts/build/cc_gcc.sh | 55 53 2 0 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-)
2008-08-04Michael ABBOTT reported that populate is not relocatable.Yann E. MORIN"1-8/+6
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-01Rework a little bit of the LAN mirror and proxy settings.Yann E. MORIN"2-123/+133
/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-07-31Have the glibc build use the cross-objdump, rather than the host one.Yann E. MORIN"1-16/+21
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-29Pretyy-up the WiKi table with the date of last update for each sample.Yann E. MORIN"1-3/+12
/trunk/scripts/showSamples.sh | 15 12 3 0 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-27Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same ↵Yann E. MORIN"2-26/+14
*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-27Re-enable the restart functionality by removing some variables from the ↵Yann E. MORIN"1-6/+10
saved environment. /trunk/scripts/functions | 16 10 6 0 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
2008-07-27"Reported by" is now "First reported by".Yann E. MORIN"1-1/+1
/trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-27When saving a sample, overide log file config:Yann E. MORIN"1-2/+4
- 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-26Do log the glibc build commands.Yann E. MORIN"1-36/+44
/trunk/scripts/build/libc_glibc.sh | 80 44 36 0 ++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 36 deletions(-)
2008-07-26Build a little bit more of gcc in //.Yann E. MORIN"1-1/+1
/trunk/scripts/build/cc_gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-26In case of error, the error message would be printing in subshells, thus ↵Yann E. MORIN"1-0/+2
printing as many error message as there were subshells. Limit printing this message only in the top-level shell. /trunk/scripts/functions | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-07-25Hmmm. The debug pause at each step never ever worked... Sigh...Yann E. MORIN"1-1/+1
/trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/config/global/ct-behave.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 2 deletions(-)
2008-07-25Also print the number of samples in the DokuWiki table.Yann E. MORIN"1-0/+6
/trunk/scripts/showSamples.sh | 6 6 0 0 ++++++ 1 file changed, 6 insertions(+)
2008-07-25Woops! It's the kernel v ersion that is /custom/, not the kernel it self!Yann E. MORIN"1-2/+2
/trunk/scripts/showSamples.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-25When dumping the DokuWiki table of samples, don't leave the kernel headers ↵Yann E. MORIN"1-1/+5
version empty if using a custom headers set., and say so. /trunk/scripts/showSamples.sh | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
2008-07-25While retrieving files, propagate the preferred extension down to sub-functions.Yann E. MORIN"1-3/+5
/trunk/scripts/functions | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
2008-07-24Make gcc-4.3.x build.Yann E. MORIN"1-4/+22
Thanks to both Ioannis E. VENETIS and Thomas JOURDAN for their help. /trunk/scripts/build/cc_gcc.sh | 26 22 4 0 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)
2008-07-24Don't check fo lynx, it's no longer used.Yann E. MORIN"1-1/+0
/trunk/scripts/build/tools/200-sstrip.sh | 1 0 1 0 - 1 file changed, 1 deletion(-)
2008-07-24Simplify downloading sstrip, using the common retrieval framework.Yann E. MORIN"1-28/+3
/trunk/scripts/build/tools/200-sstrip.sh | 31 3 28 0 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-)
2008-07-24When retrieving a file, allow preferred extension to be whatever starts with ↵Yann E. MORIN"1-2/+3
a dot, and not only one of .tar.bz2 .tar.gz .tgz or .tar. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-07-22Remove garbage files left behind by downloads from sourceforge.net.Yann E. MORIN"2-1/+8
/trunk/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++ /trunk/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
2008-07-22Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for ↵Yann E. MORIN"1-2/+20
glibc. Update uClibc config to commonalise some help. /trunk/scripts/build/libc_glibc.sh | 22 20 2 0 ++++++++++++++++++++-- /trunk/config/libc/glibc.in | 12 12 0 0 ++++++++++++ /trunk/config/libc/uClibc.in | 12 4 8 0 ++++-------- /trunk/config/libc.in | 13 13 0 0 +++++++++++++ 4 files changed, 49 insertions(+), 10 deletions(-)
2008-07-19Introduce using a LAN mirror for retrieving tarballs.Yann E. MORIN"1-4/+36
/trunk/scripts/functions | 40 36 4 0 ++++++++++++- /trunk/config/global/download.in | 146 115 31 0 ++++++++++++++++++++++++++++++++++++---------- 2 files changed, 151 insertions(+), 35 deletions(-)
2008-07-19Some eye-candy in the WiKi status table.Yann E. MORIN"1-5/+6
/trunk/scripts/showSamples.sh | 11 6 5 0 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
2008-07-19Use POSIX constructs in the DUMA wrapper installed on the target.Yann E. MORIN"1-1/+12
/trunk/scripts/build/debug/duma.in | 13 12 1 0 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
2008-07-18Don't use a progress bar when saving samples, it's ugly.Yann E. MORIN"1-2/+5
/trunk/scripts/saveSample.sh | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
2008-07-17Remove the check for absolutely needed tools now ./configure checks for them.Yann E. MORIN"2-5/+1
Move the check for 'lynx' to where it is needed (that is when sstrip from buildroot is selected). /trunk/scripts/build/tools/200-sstrip.sh | 1 1 0 0 + /trunk/scripts/crosstool.sh | 5 0 5 0 ----- 2 files changed, 1 insertion(+), 5 deletions(-)
2008-07-16Move the check for tsocks' availability just before using tsocks: make it ↵Yann E. MORIN"1-4/+5
clear we check before we use. Use CT_DoExecLog to validate tsocks configuration. Don't use gawk, but awk. awk *is* GNU awk, check by ./configure. /trunk/scripts/crosstool.sh | 9 5 4 0 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
2008-07-14Use CT_DoExecLog when building tools and debug utilities.Yann E. MORIN"6-31/+38
/trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------ /trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++----- /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++------------- /trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++--- /trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++-- 6 files changed, 38 insertions(+), 31 deletions(-)
2008-07-14Catching a double fault is doomed... Don't take action.Yann E. MORIN"1-4/+1
Simplify CT_DoExecLog: it does not support affectations prior to the command, anyway. /trunk/scripts/functions | 5 1 4 0 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
2008-07-14Fix CT_DoExecLog usage when building GMP for target.Yann E. MORIN"1-4/+4
/trunk/scripts/build/gmp.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2008-07-14Advertise using CT_DoExecLog in the tools and debug templates.Yann E. MORIN"2-4/+6
/trunk/scripts/build/tools/000-template.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/000-template.sh | 5 3 2 0 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
2008-07-14Use CT_DoExecLog when building libelf.Yann E. MORIN"1-3/+4
/trunk/scripts/build/tools/100-libelf.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
2008-07-14Use CT_DoExecLog when building gcc.Yann E. MORIN"1-28/+27
/trunk/scripts/build/cc_gcc.sh | 55 27 28 0 ++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 28 deletions(-)
2008-07-14Use CT_DoExecLog when building uClibc.Yann E. MORIN"1-8/+11
/trunk/scripts/build/libc_uClibc.sh | 19 11 8 0 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-)
2008-07-14Fix CT_DoExecLog usage when building binutils' libraries for target.Yann E. MORIN"1-2/+2
/trunk/scripts/build/binutils.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-14Use CT_DoExecLog in binutils build.Yann E. MORIN"1-7/+9
/trunk/scripts/build/binutils.sh | 16 9 7 0 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
2008-07-14Don't print double-faults.Yann E. MORIN"1-0/+3
/trunk/scripts/functions | 3 3 0 0 +++ 1 file changed, 3 insertions(+)
2008-07-14Log the command being run when calling CT_DoExecLog, which is kinda the ↵Yann E. MORIN"1-1/+1
point of CT_DoExecLog, anyway... /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-14Use CT_DoExecLog for MPFR build.Yann E. MORIN"1-23/+25
/trunk/scripts/build/mpfr.sh | 48 25 23 0 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-)
2008-07-14Use CT_DoExecLog for GMP build.Yann E. MORIN"1-5/+7
/trunk/scripts/build/gmp.sh | 12 7 5 0 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
2008-07-14Use CT_DoExecLog for Linux headers install.Yann E. MORIN"1-2/+4
/trunk/scripts/build/kernel_linux.sh | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-13Small eye-candy in the WiKi table dump.Yann E. MORIN"1-7/+6
/trunk/scripts/showSamples.sh | 13 6 7 0 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-)
2008-07-13Also report built-in languages in the status table.Yann E. MORIN"1-3/+12
/trunk/scripts/showSamples.sh | 15 12 3 0 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-13Also log the command being executed when calling CT_DoExecLog (no user yet).Yann E. MORIN"1-2/+3
/trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)