Commit Graph

1172 Commits

Author SHA1 Message Date
Yann E. MORIN"
a5a405bcf0 Add latest (EXPERIMENTAL) ltrace version 0.5.1 (from the debian package repository).
/trunk/config/debug/ltrace.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-02-02 21:08:39 +00:00
Yann E. MORIN"
655f7e9e65 Add latest binutils snapshot version 2.19.51.0.1.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-02-02 21:07:48 +00:00
Yann E. MORIN"
db9f38f824 Add option for the latest eglibc 2_9 branch.
/trunk/config/libc/eglibc.in |   13     9     4     0 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
2009-02-02 21:07:07 +00:00
Yann E. MORIN"
a706d09c2e Add latest Linux kernel versions (2.6.27.14 and 2.6.28.3).
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-02-02 21:05:40 +00:00
Yann E. MORIN"
7fc16eff80 Fix patch-renumber:
- look at the patch directory when using svnversion, not at current directory
- some code beautification.

 /trunk/scripts/patch-renumber.sh |    9     7     2     0 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
2009-02-01 23:15:59 +00:00
Yann E. MORIN"
97b23feb3a Update this sample.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   16    12     4     0 ++++++++++---
 1 file changed, 12 insertions(+), 4 deletions(-)
2009-02-01 23:12:30 +00:00
Yann E. MORIN"
8eed91405e Fix populate to correctly use tools discovered via ./configure.
/trunk/scripts/functions   |   11     8     3     0 ++++++++---
 /trunk/scripts/populate.in |    6     4     2     0 ++++--
 2 files changed, 12 insertions(+), 5 deletions(-)
2009-02-01 22:41:16 +00:00
Yann E. MORIN"
692749b67e Use tools discovered by ./configure in scripts/toolchain-config.in.
/trunk/scripts/crosstool-NG.sh.in  |    1     1     0     0 +
 /trunk/scripts/toolchain-config.in |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
2009-02-01 18:51:19 +00:00
Yann E. MORIN"
d80eda68dd Use tools discovered via ./configure in scripts/showSample.sh; make it a POSIX shell script.
/trunk/scripts/showSamples.sh |   10     7     3     0 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
2009-02-01 18:43:45 +00:00
Yann E. MORIN"
7eda231a2d Checking for grep and sed has been rationalised, and now emit the same messages as for the other tools.
/trunk/configure |   53    36    17     0 ++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 36 insertions(+), 17 deletions(-)
2009-02-01 18:40:16 +00:00
Yann E. MORIN"
430ce931e1 Use tools discovered by ./configure in scripts/saveSample.sh
/trunk/Makefile.in              |    7     6     1     0 ++++++-
 /trunk/scripts/saveSample.sh.in |   23    13    10     0 +++++++++++++----------
 2 files changed, 19 insertions(+), 11 deletions(-)
2009-02-01 17:11:46 +00:00
Yann E. MORIN"
3f4bf75a27 Fix removing directories.
/trunk/scripts/functions |    7     4     3     0 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
2009-02-01 17:04:00 +00:00
Yann E. MORIN"
534ee284bb Set proper mode to installed files; fixes running when not using --local.
/trunk/Makefile.in |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-02-01 16:17:53 +00:00
Yann E. MORIN"
380ac20c2d On 20090131.1659+0100, Vincent Sanders <vince@kyllikki.org> wrote:
[This]patch is a bit more involved. The patch addresses a gcc
  regression in the 4.3 series (specifically this patch is against 4.3.2
  which does *not* have a lot of other issues which affect kernel building)

  GCC bug tracker has this issue as
  #38453 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38453
  #32044 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044

  comment 65 of #32044 has the fix being applied to gcc trunk as revision #142719

  The attached patch is a backport to gcc 4.3.2 which allows this
  version to be used to generate correct output for various ARM kernel
  build (and indeed is teh correct answer in general).

 /trunk/patches/gcc/4.3.2/360-fix-expensive-optimize.patch |  207   207     0     0 +++++++++++++++++++++
 1 file changed, 207 insertions(+)
2009-01-31 17:49:27 +00:00
Yann E. MORIN"
0073c731f4 On 20090131.1659+0100, Vincent Sanders <vince@kyllikki.org> wrote:
[This] patch is a simple one for strace 4.5.17 .They altered the
  exported kernel headers post 2.6.26 and removed a header. This patch
  is a backport from the strace revision system. This allows strace to
  be built with 2.6.27 and later kernel versions

 /trunk/patches/strace/4.5.17/190-dirent-include.patch |   33    33     0     0 +++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
2009-01-31 17:47:10 +00:00
Yann E. MORIN"
94e376af77 Add support for powerpc64, along with an EXPERIMENTAL sample.
/trunk/scripts/build/arch/powerpc64.sh                      |   21     1    20     0 -
 /trunk/scripts/build/arch/powerpc.sh                        |   21     1    20     0 -
 /trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config |  388   388     0     0 +++++++++++++++++++
 /trunk/samples/powerpc64-unknown-linux-gnu/reported.by      |    3     3     0     0 +
 /trunk/config/arch/powerpc-powerpc64.in-common              |   12     4     8     0 -
 /trunk/config/arch/powerpc.in                               |   15     0    15     0 -
 /trunk/config/arch/powerpc64.in                             |   19     3    16     0 -
 7 files changed, 400 insertions(+), 79 deletions(-)
2009-01-31 17:39:35 +00:00
Yann E. MORIN"
04fa7e0569 Further handle the lib64 -> lib symlinks.
It at least helps powerpc64 to build, and should innocuous to other archs.

 /trunk/scripts/crosstool-NG.sh.in |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
2009-01-31 17:38:26 +00:00
Yann E. MORIN"
1a346ed273 Fix downloading with CT_GetFile when no mirror is set.
/trunk/scripts/functions |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-01-31 13:15:18 +00:00
Yann E. MORIN"
9f53d6a4b8 Add infrastructure to use common config files for generated config files.
/trunk/config/libc/glibc-eglibc.in-common |    4     4     0     0 ++++
 /trunk/config/config.mk                   |    4     4     0     0 ++++
 /trunk/config/libc.in                     |    7     0     7     0 -------
 3 files changed, 8 insertions(+), 7 deletions(-)
2009-01-31 11:29:50 +00:00
Yann E. MORIN"
2aaa5b8b68 Update populate:
- use tools found by ./configure
- some POSIX and eye-candy cleanups

 /trunk/scripts/functions   |    7     4     3     0 +++--
 /trunk/scripts/populate.in |   70    46    24     0 ++++++++++++++++++++++++++++++++++------------------
 2 files changed, 50 insertions(+), 27 deletions(-)
2009-01-29 22:35:26 +00:00
Yann E. MORIN"
0cdb819a4e If compiling the Java frontend, we'll require a native gcj, but only in this case.
/trunk/scripts/crosstool-NG.sh.in |    8     7     1     0 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
2009-01-29 22:09:55 +00:00
Yann E. MORIN"
c310dd7605 Use the path discovered by ./configure in scripts/patch-renumber.sh
It now requires that "./configure && make" be run beforehand.

 /trunk/scripts/patch-renumber.sh |    6     5     1     0 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
2009-01-29 19:00:08 +00:00
Yann E. MORIN"
1b05494c83 Use the path discovered by ./configure in scripts/addToolVersion.sh
It now requires that "./configure && make" be run beforehand.

 /trunk/scripts/addToolVersion.sh |   10     7     3     0 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
2009-01-29 18:53:32 +00:00
Yann E. MORIN"
fcd59328f4 Fix scripts/addToolVersion.sh:
- make it a PSOX shell script (hopefully)
- enhance the command line parsing

 /trunk/scripts/addToolVersion.sh |  161   102    59     0 +++++++++++++++++++++++++++++-----------------
 1 file changed, 102 insertions(+), 59 deletions(-)
2009-01-29 18:48:05 +00:00
Yann E. MORIN"
a2d32f2257 Add a missing line continuation '\' in the gcc retrieval function.
Spotted by Doug Reiland <dreiland@hotmail.com>.

 /trunk/scripts/build/cc/gcc.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-28 22:36:44 +00:00
Yann E. MORIN"
1843a3b45c Add the latest gcc-4.3.3 with the forward-ported patchset from gcc-4.3.2.
/trunk/patches/gcc/4.3.3/210-noteGNUstack-00.patch               |   47    26    21     0 ++++---
 /trunk/patches/gcc/4.3.3/270-missing-execinfo_h.patch            |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/260-uclibc-conf-noupstream.patch        |   13     9     4     0 +-
 /trunk/patches/gcc/4.3.3/220-noteGNUstack-01.patch               |   97    51    46     0 +++++++-------
 /trunk/patches/gcc/4.3.3/240-pr25343.patch                       |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/100-alpha-mieee-default.patch           |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/230-pr34571.patch                       |   23     8    15     0 +--
 /trunk/patches/gcc/4.3.3/350-sh-without-headers.patch            |   17    10     7     0 +-
 /trunk/patches/gcc/4.3.3/330-unwind-for-uClibc.patch             |   19    12     7     0 ++-
 /trunk/patches/gcc/4.3.3/190-libstdc++-pic.patch                 |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/150-sparc64-bsd.patch                   |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/290-index_macro.patch                   |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/140-netbsd-symbolic.patch               |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/110-trampolinewarn.patch                |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/160-flatten-switch-stmt-00.patch        |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/280-c99-complex-ugly-hack.patch         |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/300-libmudflap-susv3-legacy.patch       |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/170-libiberty-pic.patch                 |   11     8     3     0 +-
 /trunk/patches/gcc/4.3.3/250-sh-pr24836.patch                    |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/120-java-nomulti.patch                  |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/320-alpha-signal_h.patch                |   14    10     4     0 +-
 /trunk/patches/gcc/4.3.3/180-superh-default-multilib.patch       |   13     9     4     0 +-
 /trunk/patches/gcc/4.3.3/340-make-mno-spe-work-as-expected.patch |   41    23    18     0 +++---
 /trunk/patches/gcc/4.3.3/200-pr24170.patch                       |   23    14     9     0 ++-
 /trunk/patches/gcc/4.3.3/310-arm-softfloat.patch                 |   17    11     6     0 +-
 /trunk/patches/gcc/4.3.3/130-cross-compile.patch                 |   23    14     9     0 ++-
 /trunk/config/cc/gcc.in                                          |    7     7     0     0 +
 27 files changed, 334 insertions(+), 210 deletions(-)
2009-01-27 21:37:03 +00:00
Yann E. MORIN"
af244eaf45 The gcc team seems to no longer make releases available at the ftp.gnu.org site, but only on mirrors. Add such a mirror to the list of retrieval sites.
/trunk/scripts/build/cc/gcc.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2009-01-27 21:36:18 +00:00
Yann E. MORIN"
226d76c40b Add latest Linux kernel versions: 2.6.27.13 and 2.6.28.2.
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-01-27 21:34:44 +00:00
Yann E. MORIN"
bf553ae72b Fix white space damage after switching to using paths found by ./configure.
/trunk/samples/samples.mk |    2     1     1     0
 /trunk/config/config.mk   |  104    52    52     0 ++++++++++++++++++++++++++--------------------------
 2 files changed, 53 insertions(+), 53 deletions(-)
2009-01-27 20:38:48 +00:00
Yann E. MORIN"
feb0c60e3b Ignore generated file, remove generated file on clean.
/trunk/Makefile.in |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2009-01-27 19:53:44 +00:00
Yann E. MORIN"
abc47a976a Ignore generated paths.mk. 2009-01-26 22:43:29 +00:00
Yann E. MORIN"
6912bc6a2c Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:
- fix Makefile to really, really not used built-in rules and variables
- have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in
- create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools

 /trunk/scripts/crosstool-NG.sh.in |   27    23     4     0 +++++++++++++++++++++---
 /trunk/Makefile.in                |   50    48     2     0 +++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 71 insertions(+), 6 deletions(-)
2009-01-26 22:43:08 +00:00
Yann E. MORIN"
c7a1e6a4da Use the paths found by ./configure in the ct-ng.in makefile script and its fragments.
/trunk/kconfig/kconfig.mk |    2     1     1     0 +-
 /trunk/samples/samples.mk |   18     9     9     0 +++++++++---------
 /trunk/config/config.mk   |   10     5     5     0 +++++-----
 /trunk/ct-ng.in           |   22    13     9     0 +++++++++++++---------
 4 files changed, 28 insertions(+), 24 deletions(-)
2009-01-26 18:36:02 +00:00
Yann E. MORIN"
44596c425f Makefile.in: remove generated paths.mk during clean
/trunk/Makefile.in |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2009-01-25 22:59:55 +00:00
Yann E. MORIN"
db0f33d012 Makefile.in: create and install the Makefile and shell-script fragment "paths.mk", containing the paths found by ./configure
/trunk/Makefile.in |   66    39    27     0 +++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 39 insertions(+), 27 deletions(-)
2009-01-25 22:58:26 +00:00
Yann E. MORIN"
d89301a3be Makefile.in: re-order tools in alphabetical order.
/trunk/Makefile.in |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2009-01-25 19:40:13 +00:00
Yann E. MORIN"
f685a014e7 ./configure: fix the tools pattern recognition
- when a variable name was given, with no regexp, the pattern did not correctly extract the variable name

 /trunk/configure |   11     8     3     0 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
2009-01-25 19:26:40 +00:00
Yann E. MORIN"
1007fb528d On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:
The glibc.sh script doesn't handle the glibc versions with
  an underscore very well (bash expected integer error).  I
  have attached a small patch for that.  Instead of looking
  for "not period" I changed the sense to look for numbers.
  I initially tried to make it look for either a period or
  an underscore, but that didn't work like I wanted (probably
  because I did something wrong).

Original patch modified to be more robust.

 /trunk/scripts/build/libc/glibc.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2009-01-25 17:53:14 +00:00
Yann E. MORIN"
1115b43f86 On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
... I added a step after
  "debug" called "finish", and moved the code in crosstool.sh
  after the loop that processes the steps from crosstool.sh
  into a do_finish function in functions.  Thus, it is now
  possible to restart after the "debug" step to re-do the
  final few things (clean and compress).

 /trunk/scripts/crosstool-NG.sh |   38     0    38     0 --------------------------------------
 /trunk/scripts/functions       |   42    42     0     0 ++++++++++++++++++++++++++++++++++++++++++
 /trunk/steps.mk                |    3     2     1     0 ++-
 3 files changed, 44 insertions(+), 39 deletions(-)
2009-01-20 20:37:43 +00:00
Yann E. MORIN"
0fc2762de7 Forced-removing of a non-existing directory breaks the build.
Noticed by "Andy Johnson" <ajohnson@aecno.com>, who provided a patch that I adapted.

 /trunk/scripts/functions |   13    10     3     0 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
2009-01-20 20:10:50 +00:00
Yann E. MORIN"
28176fe21e Fix building ltrace on PowerPC.
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
  ltrace wouldn't build on PowerPC because in the
  sysdeps/linux-gnu directory in the ltrace source tree
  the powerpc directory is called ppc.  I added some code
  in 400-ltrace.sh to create a symlink for it so it will
  build now.

Patch slightly modified by me before applying.

 /trunk/scripts/build/debug/400-ltrace.sh |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-01-20 19:05:52 +00:00
Yann E. MORIN"
991a5070e5 Backport patch for glibc-2.6.1 to glibc-2.6:
- fixes glibc-2.6.1 build on OpenSOLARIS.
2009-01-20 18:55:46 +00:00
Yann E. MORIN"
e11cc118f2 Add latest Linux kernel versions.
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-01-20 18:49:12 +00:00
Yann E. MORIN"
f6a8ed369f Small semantic fix in ct.ng(.in): use make builtin variable to know the make-script name.
/trunk/ct-ng.in |   10     6     4     0 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
2009-01-19 21:57:55 +00:00
Yann E. MORIN"
420f3fdd25 Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.
After all, this is not crosstool, but really crosstool-NG!

 /trunk/steps.mk |    2     1     1     0 +-
 /trunk/ct-ng.in |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2009-01-18 17:45:10 +00:00
Yann E. MORIN"
9305713521 Fix Makefile.in to use the correct variables.
/trunk/Makefile.in |   16     8     8     0 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2009-01-18 17:41:58 +00:00
Yann E. MORIN"
eca38a0246 Use ./configure-discovered paths in Makefile.
/trunk/Makefile.in |   55    31    24     0 +++++++++++++++++++++++++++++++------------------------
 /trunk/ct-ng.in    |    2     1     1     0 +-
 2 files changed, 32 insertions(+), 25 deletions(-)
2009-01-18 15:40:02 +00:00
Yann E. MORIN"
363a045e5d ./configure: enable user to specify path to some tools
/trunk/configure |  203   107    96     0 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 107 insertions(+), 96 deletions(-)
2009-01-18 15:08:28 +00:00
Yann E. MORIN"
23b61e1541 Add headers from linux-2.6.27.11.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-01-16 09:13:16 +00:00
Yann E. MORIN"
83f0bec915 Fix removing existing directories by chmod'ing them to be user-writeable.
/trunk/scripts/crosstool.sh |   21    10    11     0 ++++++++++-----------
 /trunk/scripts/functions    |    7     7     0     0 +++++++
 2 files changed, 17 insertions(+), 11 deletions(-)
2009-01-12 21:35:23 +00:00