Commit Graph

970 Commits

Author SHA1 Message Date
Yann E. MORIN"
d90f32267b Remove libelf versions that never worked.
/trunk/config/tools/libelf.in |   11     0    11     0 -----------
 1 file changed, 11 deletions(-)
2008-10-25 15:47:01 +00:00
Yann E. MORIN"
d64cca93c6 Update strace to 4.5.17:
- forward-port the patchset from strace-4.5.16 to 4.5.17
- add a new patch from  Michael Abbott (#170)

 /trunk/patches/strace/4.5.17/100-autoreconf.patch                      |   16    10     6     0 ++--
 /trunk/patches/strace/4.5.17/150-undef-CTL_PROC.patch                  |    8     6     2     0 +-
 /trunk/patches/strace/4.5.17/140-statfs64-check.patch                  |   28    16    12     0 ++++---
 /trunk/patches/strace/4.5.17/160-undef-syscall.patch                   |   24    14    10     0 +++---
 /trunk/patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch     |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/120-fix-arm-bad-syscall.patch             |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/130-fix-disabled-largefile-syscalls.patch |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/170-arm-syscalls.patch                    |   42    42     0     0 ++++++++++
 /trunk/config/debug/strace.in                                          |    5     5     0     0 +
 9 files changed, 114 insertions(+), 39 deletions(-)
2008-10-25 15:44:05 +00:00
Yann E. MORIN"
0c063fad74 Make ltrace finally build:
- copy sources to build directory, as it does not build out-of-tree
- add a patch to make it build for non *-linux-gnu host tuples
- add a patch to make it cross-build correctly

 /trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch |   26    26     0     0 +++
 /trunk/patches/ltrace/0.4/110-allow-cross-compile.patch                 |   89    89     0     0 ++++++++++
 /trunk/scripts/build/debug/400-ltrace.sh                                |    5     3     2     0 +
 3 files changed, 118 insertions(+), 2 deletions(-)
2008-10-24 15:40:58 +00:00
Yann E. MORIN"
e6abad7e97 Add the latest Linux kernel versions: 2.6.25.19, 2.6.26.7 and 2.6.27.3.
/trunk/config/kernel/linux.in |   16    13     3     0 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
2008-10-24 15:38:13 +00:00
Yann E. MORIN"
e912ebc475 Update the sh4 sample.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config |   27    10    17     0 +++++++++----------------
 1 file changed, 10 insertions(+), 17 deletions(-)
2008-10-24 11:42:48 +00:00
Yann E. MORIN"
5b581f678b The glibc-2.7 profs fix for SuperH was missing very important parts...
/trunk/patches/glibc/2.7/270-sh-fix-procfs.patch |   38    32     6     0 ++++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)
2008-10-24 11:14:31 +00:00
Yann E. MORIN"
0732c2ceef Fix libelf cross-building.
/trunk/patches/libelf/0.8.10/100-fix-64-bit-detection.patch |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-10-24 07:13:52 +00:00
Yann E. MORIN"
3605fa4f5f Fix saving samples, by Nye Liu:
http://sourceware.org/ml/crossgcc/2008-10/msg00070.html

 /trunk/scripts/saveSample.sh |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-10-23 21:13:50 +00:00
Yann E. MORIN"
04459efaac Fix memset on PowerPC 8xx, by Nye Liu:
http://sourceware.org/ml/crossgcc/2008-10/msg00067.html

 /trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch |   40    40     0     0 +++++++++++++++++++
 1 file changed, 40 insertions(+)
2008-10-23 21:12:29 +00:00
Yann E. MORIN"
1c625d676c Push the calculation of the tuple's kernel part down to kernel's build scripts:
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test

 /trunk/scripts/build/kernel/bare-metal.sh |    5     5     0     0 +++++
 /trunk/scripts/build/kernel/linux.sh      |    5     5     0     0 +++++
 /trunk/scripts/crosstool.sh               |   31    13    18     0 +++++++++++++------------------
 /trunk/scripts/functions                  |   15     8     7     0 ++++++++-------
 /trunk/docs/overview.txt                  |   13     9     4     0 +++++++++----
 5 files changed, 40 insertions(+), 29 deletions(-)
2008-10-23 13:45:48 +00:00
Yann E. MORIN"
58e57f180c Architecture API change:
- rename the tuple function

 /trunk/scripts/build/arch/mips.sh    |    2     1     1     0 +-
 /trunk/scripts/build/arch/sh.sh      |    2     1     1     0 +-
 /trunk/scripts/build/arch/x86_64.sh  |    2     1     1     0 +-
 /trunk/scripts/build/arch/arm.sh     |    2     1     1     0 +-
 /trunk/scripts/build/arch/powerpc.sh |    2     1     1     0 +-
 /trunk/scripts/build/arch/ia64.sh    |    2     1     1     0 +-
 /trunk/scripts/build/arch/alpha.sh   |    2     1     1     0 +-
 /trunk/scripts/build/arch/x86.sh     |    2     1     1     0 +-
 /trunk/scripts/functions             |   12     7     5     0 +++++++-----
 9 files changed, 15 insertions(+), 13 deletions(-)
2008-10-23 13:00:45 +00:00
Yann E. MORIN"
d55709c9a3 Rename a patch: typo. 2008-10-22 21:02:03 +00:00
Yann E. MORIN"
c15b9fb7ea Make Super-H finally compile a complete (C-only) toolchain:
- new, un-tested patches
 - an sh4 sample to work on, and to try to reproduce later.

 /trunk/patches/glibc/2.7/250-sh-chop-linux-version.patch         |   49    49     0     0 ++
 /trunk/patches/glibc/2.7/240-sh-lowlevellock-asm.patch           |   56    56     0     0 +++
 /trunk/patches/glibc/2.7/270-sh-fix-procfs.patch                 |   11    11     0     0 +
 /trunk/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch |   23    23     0     0 +
 /trunk/patches/glibc/2.7/260-sh-syscall-error-path.patch         |   26    26     0     0 +
 /trunk/samples/sh4-unknown-linux-gnu/crosstool.config            |  311   311     0     0 ++++++++++++++
 /trunk/samples/sh4-unknown-linux-gnu/reported.by                 |    3     3     0     0 +
 7 files changed, 479 insertions(+)
2008-10-22 20:50:10 +00:00
Yann E. MORIN"
9d4c07f32f Remove an unwanted SuperH chunk from an Alpha patch.
/trunk/patches/glibc/2.7/190-alpha-asm_elf.patch |   23     0    23     0 -----------------------
 1 file changed, 23 deletions(-)
2008-10-22 20:29:32 +00:00
Yann E. MORIN"
9cce3e2d7c Remove the ppc-405fp sample, replace with a ppc-405 sample (405fp has an FPU, 405 does not).
Thanks to Julien DUSSER for reporting this.

 /trunk/samples/powerpc-405-linux-gnu/crosstool.config |  343   343     0     0 +++++++++++++++++++++++++
 /trunk/samples/powerpc-405-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 346 insertions(+)
2008-10-22 19:03:08 +00:00
Yann E. MORIN"
247b7bcac6 Enhance the kconfig stuff build procedure:
- better allocate CFLAGS/LDFLAGS to object and dependency files
 - only include the needed dependency files
 - cleanly handle the kconfig/ check and creation
 - use HOST_LD to link, not HOST_CC (even if both are set to 'gcc' for now)
 - get rid of defoldconfig, it does not make much sense using it.

 /trunk/kconfig/kconfig.mk |  110    66    44     0 ++++++++++++++++++++++++++++++++---------------------
 1 file changed, 66 insertions(+), 44 deletions(-)
2008-10-22 16:56:23 +00:00
Yann E. MORIN"
3fdcbf0b26 Add a 405fp soft-float PowerPC sample.
/trunk/scripts/saveSample.sh                            |    2     1     1     0
 /trunk/samples/powerpc-405fp-linux-gnu/crosstool.config |  338   338     0     0 +++++++++++++++++++++++
 /trunk/samples/powerpc-405fp-linux-gnu/reported.by      |    3     3     0     0 +
 3 files changed, 342 insertions(+), 1 deletion(-)
2008-10-21 21:31:23 +00:00
Yann E. MORIN"
a5b4a804e3 Add a glibc-2.6.1 patch for PPC soft-float.
http://sourceware.org/ml/crossgcc/2008-10/msg00044.html

 /trunk/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch |   21    21     0     0 ++++++++++++++++++
 1 file changed, 21 insertions(+)
2008-10-21 21:29:02 +00:00
Yann E. MORIN"
2c6a4afc4a Fix using only custom patches.
Reported by Patrick FLAIG: http://sourceware.org/ml/crossgcc/2008-10/msg00032.html

 /trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-21 21:04:25 +00:00
Yann E. MORIN"
6367613389 Fix paths in a glibc-ports-2.6.1 patch.
http://sourceware.org/ml/crossgcc/2008-10/msg00041.html

 /trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch |   24    12    12     0 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
2008-10-21 17:01:31 +00:00
Yann E. MORIN"
5e5a5ef90b Correctly handle V= only from command line, not from environment.
/trunk/ct-ng.in |   17     8     9     0 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
2008-10-21 16:56:32 +00:00
Yann E. MORIN"
c570927ef3 Eye-candy when {,dist}clean.
/trunk/tools/tools.mk |    1     1     0     0 +
 /trunk/ct-ng.in       |   16    12     4     0 ++++++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)
2008-10-21 16:13:46 +00:00
Yann E. MORIN"
673f79427f Update config.guess.
/trunk/tools/config.guess |    7     5     2     0 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
2008-10-21 09:16:00 +00:00
Yann E. MORIN"
df6440c35e Add strace 4.5.18:
- propagated the 4.5.16 patch set
 - EXPERIMENTAL, as it does not build on at least ARM

 /trunk/patches/strace/4.5.18/160-undef-syscall.patch |   22     0    22     0 ----------------------
 /trunk/config/debug/strace.in                        |    6     6     0     0 ++++++
 2 files changed, 6 insertions(+), 22 deletions(-)
2008-10-20 20:09:14 +00:00
Yann E. MORIN"
102505af38 Correctly handle the minimum supported kernel version in glibc.
Should be propagated to eglibc as well...

 /trunk/scripts/build/libc/glibc.sh |   78    39    39     0 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)
2008-10-20 17:46:43 +00:00
Yann E. MORIN"
a1828c87f3 Offer a single option for the glibc/eglibc add-ons selection, rather than hiding it behind a toggle.
If the list is empty, then there is no add-on. If the list is not empty, then there are add-ons.

 /trunk/config/libc/glibc-eglibc.in-common |    9     0     9     0 ---------
 1 file changed, 9 deletions(-)
2008-10-20 09:50:45 +00:00
Yann E. MORIN"
e4d539661e Add the latest Linux kernel 2.6.27.2.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-10-19 12:02:13 +00:00
Yann E. MORIN"
f8439368e0 Add the latest Linux kernel 2.6.27.1.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-10-19 11:23:27 +00:00
Yann E. MORIN"
84588069df Avoid (re)building the kconfig dependencies when we don't need them (clean, build, list-steps...).
/trunk/kconfig/kconfig.mk |   24    20     4     0 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)
2008-10-19 09:34:32 +00:00
Yann E. MORIN"
8d042db1d6 Extract the config files related stuff from the kconfig stuff
- create config/config.mk, with all the config.gen/ rules
- the only common points between config files and configurators:
  - the top-level config file to include, stored in KCONFIG_TOP
  - the config_file rules, which makes config files available to configurators
- dependency-files are renamed from %.d to %.dep (.d is reserved for directories)
- a few eye-candy here and there

 /trunk/kconfig/kconfig.mk |  184    12   172     0 +++--------------------------------------------------
 /trunk/config/config.mk   |  118     9   109     0 +++-------------------------------
 /trunk/ct-ng.in           |    1     1     0     0 +
 3 files changed, 22 insertions(+), 281 deletions(-)
2008-10-18 18:37:28 +00:00
Yann E. MORIN"
ee5492e658 Fix saving samples when the uClibc config file is already saved.
/trunk/scripts/saveSample.sh                                    |    4     2     2     0
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |  140    71    69     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by      |    3     3     0     0 +
 3 files changed, 76 insertions(+), 71 deletions(-)
2008-10-17 14:26:53 +00:00
Yann E. MORIN"
f31bcd0026 Update the kconfig stuff to match the one in the linux-2.6.27 version.
/trunk/kconfig/zconf.hash.c         |  225   110   115     0 +++----
 /trunk/kconfig/lkc_proto.h          |    4     3     1     0 +
 /trunk/kconfig/mconf.c              |  217   110   107     0 +++---
 /trunk/kconfig/menu.c               |   86    60    26     0 ++-
 /trunk/kconfig/symbol.c             |  212   156    56     0 ++++--
 /trunk/kconfig/kconfig.mk           |   24     9    15     0 -
 /trunk/kconfig/lex.zconf.c          |   97    80    17     0 ++-
 /trunk/kconfig/util.c               |   38    30     8     0 +
 /trunk/kconfig/lkc.h                |   22    18     4     0 +
 /trunk/kconfig/expr.c               |   32    19    13     0 +
 /trunk/kconfig/confdata.c           |  254   172    82     0 +++++---
 /trunk/kconfig/lxdialog/dialog.h    |   12     9     3     0 +
 /trunk/kconfig/lxdialog/inputbox.c  |    6     3     3     0
 /trunk/kconfig/lxdialog/checklist.c |    4     2     2     0
 /trunk/kconfig/lxdialog/menubox.c   |    6     3     3     0
 /trunk/kconfig/lxdialog/textbox.c   |    2     1     1     0
 /trunk/kconfig/lxdialog/util.c      |   47    30    17     0 +
 /trunk/kconfig/lxdialog/yesno.c     |    4     2     2     0
 /trunk/kconfig/expr.h               |   20    10    10     0
 /trunk/kconfig/zconf.tab.c          | 1441   793   648     0 ++++++++++++++++++++++++-------------------
 /trunk/kconfig/conf.c               |  276   124   152     0 ++++----
 /trunk/kconfig/check-gettext.sh     |   14    14     0     0 +
 /trunk/ct-ng.in                     |    2     1     1     0
 23 files changed, 1759 insertions(+), 1286 deletions(-)
2008-10-17 12:47:53 +00:00
Yann E. MORIN"
c54f4302cd Fix oldconfig and defoldconfig.
Thanks Thomas Petazzoni for noticing the breakage.

 /trunk/kconfig/kconfig.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-17 09:51:19 +00:00
Yann E. MORIN"
ffd86b4a72 Woops, typo...
/trunk/ct-ng.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-15 21:31:35 +00:00
Yann E. MORIN"
4e7d6836a5 Cheesy kconfig stuff:
- silent/quiet/verbose build:
   - ct-ng by default only prints quit messages, such as "CC xxx",
   - if using V=0, nothing is printed,
   - if using V=1, the full command lines are printed,
   - other values are indeterminate,
   - should help in debugging the kconfig stuff;
 - complete kconfig/{,m}conf generation:
   - fully dynamic dependencies on source files,
   - compilation of .c into .o, then linking (instead of direct linking),
   - VPATH usage when not --local;
Typo + a coment moved.

 /trunk/kconfig/kconfig.mk |  140    87    53     0 +++++++++++++++++++++++++++++++++--------------------
 /trunk/tools/tools.mk     |   12     6     6     0 ++--
 /trunk/steps.mk           |    6     3     3     0 +-
 /trunk/samples/samples.mk |   30    15    15     0 +++++-----
 /trunk/ct-ng.in           |   40    28    12     0 +++++++++++----
 5 files changed, 139 insertions(+), 89 deletions(-)
2008-10-15 21:29:56 +00:00
Yann E. MORIN"
b77f4abe34 Update the OpenRISC or32 contrib to correctly set EXPERIMENTAL.
/trunk/copy) |binary
 1 file changed
2008-10-15 08:15:28 +00:00
Yann E. MORIN"
f2369f53f1 Update the OpenRISC or32 contribution to match the new architecture layout.
/trunk/copy) |binary
 1 file changed
2008-10-15 08:08:46 +00:00
Yann E. MORIN"
7000889861 Fix configure's --with-contrib option.
/trunk/configure |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-15 08:08:02 +00:00
Yann E. MORIN"
8215020b0f Add alternate locations where to retrieve binutils snapshots.
/trunk/scripts/build/binutils.sh |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-10-15 07:29:07 +00:00
Yann E. MORIN"
c8a68d987b Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.

 /trunk/scripts/saveSample.sh                           |   46    35    11     0 ++++++++++++++++++------
 /trunk/scripts/showSamples.sh                          |   12     6     6     0 +++---
 /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |   15    15     0     0 ++++++++
 /trunk/samples/samples.mk                              |   22    17     5     0 +++++++++--
 4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14 21:30:27 +00:00
Yann E. MORIN"
cb5b60fc07 Correctly auto-complete with start-steps as well.
/trunk/ct-ng.comp |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-14 20:06:37 +00:00
Yann E. MORIN"
637a4b94e8 Use a function to retrieve a sample directory.
/trunk/samples/samples.mk |   19     9    10     0 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
2008-10-14 19:40:12 +00:00
Yann E. MORIN"
6a4dc6568b Eye-candy in the help entries.
/trunk/ct-ng.comp |    2     1     1     0 +-
 /trunk/ct-ng.in   |    6     3     3     0 +++---
 /trunk/steps.mk   |    6     3     3     0 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)
2008-10-14 19:29:25 +00:00
Yann E. MORIN"
c1aa36b009 Eye candy in the help disclaimer.
/trunk/ct-ng.in |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-10-14 19:19:20 +00:00
Yann E. MORIN"
6abc05c389 Credit Nate CASE for his powerpc e500v2 sample.
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-10-14 17:44:38 +00:00
Yann E. MORIN"
6ab2f244ca Sample config for e500v2 toolchain
On Tuesday 14 October 2008 17:05:31 Nate Case wrote:
> This is a sample config file for Freescale e500v2 processors (e.g.,
> MPC8548, MPC8572).  It uses eglibc (for e500/SPE patches) and a recent
> gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate
> dual-precision floating point instructions by default.
>
> Note: If building a Linux kernel with this toolchain, you will want to
> make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE
> ABI/instructions from getting into the kernel (which is currently
> unsupported).  At this time, the kernel build system only passes
> -mno-spe by default (this should be fixed soon hopefully).
>
> A binutils snapshot is used to fix a bug present in 2.18 preventing
> U-Boot from being compiled (CodeSourcery issue #2297: internal.h
> (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of
> memory).

Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it.

 /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config |  307   307     0     0 +++++++++++++++++++
 1 file changed, 307 insertions(+)
2008-10-14 17:42:10 +00:00
Yann E. MORIN"
9ec3651eff saveSample: Reset CT_LOCAL_TARBALLS_DIR to default
On Tuesday 14 October 2008 16:48:07 Nate Case wrote:
> Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that
> we don't save irrelevant paths in the samples.

 /trunk/scripts/saveSample.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-10-14 16:54:20 +00:00
Yann E. MORIN"
74c5579885 Fix the saveSample script oafter architerctures reorganisation
On Tuesday 14 October 2008 16:27:37 Nate Case wrote:
> The saveSample.sh script is referring to the old architecture-specific
> script path.  Point to the new one, just as done in crosstool.sh.

 /trunk/scripts/saveSample.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-14 16:53:13 +00:00
Yann E. MORIN"
4b27b41f41 Rework the kconfig stuff
- better handle config file generation dependencies
 - get rid of CT_TOP_DIR where useless
 - rearrange code to be cleaner, and add adequate '#----' comments to split the different parts
 - a few eye-candy here and there

 /trunk/kconfig/kconfig.mk |  158    99    59     0 +++++++++++++++++++++++++++++++++--------------------
 1 file changed, 99 insertions(+), 59 deletions(-)
2008-10-14 16:50:33 +00:00
Yann E. MORIN"
ab048ad81d No one sane would you 'ct-ng config' to configure crosstool-NG.
Remove this useless rule.

 /trunk/kconfig/kconfig.mk |    8     2     6     0 ++------
 /trunk/ct-ng.comp         |    2     1     1     0 +-
 2 files changed, 3 insertions(+), 7 deletions(-)
2008-10-13 20:36:37 +00:00