Commit Graph

1200 Commits

Author SHA1 Message Date
Yann E. MORIN"
1be3d38a7d Add Linux kernel headers 2.6.27.1{8,9}
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-03-04 18:45:26 +00:00
Yann E. MORIN"
fec3baeca6 Check that a pacakge was previously extracted prior to patching.
Fix a comment.

 /trunk/scripts/functions |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-03-04 18:25:58 +00:00
Yann E. MORIN"
806a517cc2 Move do_finish from scripts/functions to its own file in scipts/build/internals.sh.
/trunk/scripts/build/internals.sh |  907     4   903     0 ---------------------------------------------
 /trunk/scripts/addToolVersion.sh  |    8     4     4     0
 /trunk/scripts/crosstool-NG.sh.in |    1     1     0     0 +
 /trunk/scripts/functions          |   48     0    48     0 --
 4 files changed, 9 insertions(+), 955 deletions(-)
2009-03-04 17:59:35 +00:00
Yann E. MORIN"
c4a2b61489 Add latest versions:
- Linux kernel headers 2.6.28.{6,7}
- uClibc 0.9.30.1

 /trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 /trunk/config/libc/uClibc.in  |    5     5     0     0 +++++
 2 files changed, 15 insertions(+)
2009-03-04 17:49:10 +00:00
Yann E. MORIN"
46d3ec734a Warn the user when he/she tries to save a sample that uses local patches
and/or custom Linux kernel headers.

 /trunk/scripts/saveSample.sh.in |   18    17     1     0 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
2009-03-03 21:53:50 +00:00
Yann E. MORIN"
b6b7925fcb Rename the custom header option.
/trunk/scripts/build/kernel/linux.sh |   12     6     6     0 ++++++------
 /trunk/config/kernel/linux.in        |    4     2     2     0 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
2009-03-03 20:29:35 +00:00
Yann E. MORIN"
ea604716d9 When using custom Linux kernel headers, allow using a tarball.
/trunk/scripts/build/kernel/linux.sh |   19    16     3     0 ++++++++++++++++---
 /trunk/config/kernel/linux.in        |   35    26     9     0 ++++++++++++++++++++++++++---------
 2 files changed, 42 insertions(+), 12 deletions(-)
2009-03-03 18:43:38 +00:00
Yann E. MORIN"
661d2239e5 Some eye-candy in the toolchain sub-menu entries.
/trunk/config/toolchain.in |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-03-03 17:50:53 +00:00
Yann E. MORIN"
6822fae02e Allow user to add a directory component in the sys-root path.
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR).
As a side effect, fix creating lib64->lib symlinks.

 /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     |    6     3     3     0 +++---
 /trunk/scripts/build/debug/500-strace.sh  |    2     1     1     0 +-
 /trunk/scripts/build/debug/200-duma.sh    |    6     3     3     0 +++---
 /trunk/scripts/crosstool-NG.sh.in         |   16     7     9     0 +++++++---------
 /trunk/scripts/functions                  |    2     1     1     0 +-
 /trunk/config/toolchain.in                |   17    17     0     0 +++++++++++++++++
 8 files changed, 34 insertions(+), 19 deletions(-)
2009-03-03 17:41:59 +00:00
Yann E. MORIN"
4462fcd995 Know issues: document the extract and/or patch steps failure under cygwin.
/trunk/docs/known-issues.txt |   16    16     0     0 ++++++++++++++++
 1 file changed, 16 insertions(+)
2009-03-03 17:39:51 +00:00
Yann E. MORIN"
832e00da4f uClibc-0.9.30 patch, forwarded by Joachim Nilsson <joachim.nilsson@vmlinux.org>
Fix getaddrinfo when both IPv4 and IPv6 are enabled.

 /trunk/patches/uClibc/0.9.30/150-getaddrinfo-segfault-ipv6-and-ipv4.patch |   32    32     0     0 ++++++++++
 1 file changed, 32 insertions(+)
2009-02-26 18:25:39 +00:00
Yann E. MORIN"
f049d64a0b On 20090220.0418+0100, Hugo Vincent <hugo.vincent@grcnz.com> wrote:
I'm using CTNG for some embedded Linux work on an ARM926ej-s, and when
  updating to glibc 2_9, I needed to use the attached patch to get it to
  build cleanly.

 /trunk/patches/glibc/ports-2_9/100-arm_linux_tls.patch |   14    14     0     0 ++++++++++++++
 1 file changed, 14 insertions(+)
2009-02-23 22:31:07 +00:00
Yann E. MORIN"
fd268ea38b Fix extracting tarballs.
/trunk/scripts/functions |    6     5     1     0 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
2009-02-19 07:38:32 +00:00
Yann E. MORIN"
f920df9c09 Recognise bash-4 as a usable bash.
Spotted by "Kim B. Heino" <Kim.Heino@bluegiga.com>

 /trunk/configure |    7     3     4     0 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
2009-02-17 21:05:10 +00:00
Yann E. MORIN"
98b93e2cca Fix using minimum kernel version for glibc/eglibc.
Spotted by "Kim B. Heino" <Kim.Heino@bluegiga.com>.

 /trunk/config/libc/glibc-eglibc.in-common |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-02-17 17:06:04 +00:00
Yann E. MORIN"
3f72b63050 Add latest Linux kernel versions (for headers): 2.6.27.1{6,7} & 2.6.28.5
/trunk/config/kernel/linux.in |   15    15     0     0 +++++++++++++++
 1 file changed, 15 insertions(+)
2009-02-13 07:22:56 +00:00
Yann E. MORIN"
f962e240a3 On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. Offer an option to enable/disable the uClibc hostutils build.
/trunk/scripts/build/libc/uClibc.sh |   39    12    27     0 ++++++++++++---------------------------
 /trunk/config/libc/uClibc.in        |   10    10     0     0 ++++++++++
 2 files changed, 22 insertions(+), 27 deletions(-)
2009-02-11 10:40:26 +00:00
Yann E. MORIN"
f621e51c3d "chmod -R u+w" extracted tarballs, as some may have read-only files in them (ncurses-5.7 does).
/trunk/scripts/functions |    3     3     0     0 +++
 1 file changed, 3 insertions(+)
2009-02-10 08:52:13 +00:00
Yann E. MORIN"
d1369f342b Add patchset for uClibc-0.9.30 (from Gentoo).
/trunk/patches/uClibc/0.9.30/110-arm_fix_alignment.patch               |   23    23     0     0 +++
 /trunk/patches/uClibc/0.9.30/130-arm-ftruncate64.patch                 |   17    17     0     0 ++
 /trunk/patches/uClibc/0.9.30/100-fix-gethostent_r-failure-retval.patch |   17    17     0     0 ++
 /trunk/patches/uClibc/0.9.30/120-rm-whitespace.patch                   |   88    88     0     0 ++++++++++
 /trunk/patches/uClibc/0.9.30/140-gnu89-inline.patch                    |   16    16     0     0 ++
 5 files changed, 161 insertions(+)
2009-02-08 22:07:29 +00:00
Yann E. MORIN"
2177fb68ca Put the uclibc munged config file in the "state" directory, so it survives a restart.
/trunk/scripts/build/libc/uClibc.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2009-02-08 12:15:52 +00:00
Yann E. MORIN"
2e0b9c9e31 Make MPFR build under Cygwin.
/trunk/scripts/build/mpfr.sh |   24    20     4     0 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)
2009-02-07 20:11:13 +00:00
Yann E. MORIN"
13ef608d83 Fix warning in eglic config options.
/trunk/config/libc/eglibc.in |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2009-02-07 13:36:42 +00:00
Yann E. MORIN"
54001543d3 Add latest Linux kernel versions 2.6.27.15 and 2.6.28.4.
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-02-07 08:05:10 +00:00
Yann E. MORIN"
26cb83f176 Update the i686-unknown-linux-gnu sample to use up-to-date components.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |   46    30    16     0 ++++++++++++++++++---------
 1 file changed, 30 insertions(+), 16 deletions(-)
2009-02-03 07:55:07 +00:00
Yann E. MORIN"
b60a8806c6 Add a patchset for glibc 2_9. Vampirised from the gentoo repository.
/trunk/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch                                            |  414   414     0     0 ++++++++++
 /trunk/patches/glibc/2_9/140-regex-BZ9697.patch                                                    |  111   111     0     0 +++
 /trunk/patches/glibc/2_9/190-queue-header-updates.patch                                            |   89    89     0     0 ++
 /trunk/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch                                 |  249   249     0     0 ++++++
 /trunk/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch                                  |   32    32     0     0 +
 /trunk/patches/glibc/2_9/270-ldbl-nexttowardf.patch                                                |   68    68     0     0 ++
 /trunk/patches/glibc/2_9/330-2.3.3-china.patch                                                     |   35    35     0     0 +
 /trunk/patches/glibc/2_9/340-new-valencian-locale.patch                                            |  120   120     0     0 +++
 /trunk/patches/glibc/2_9/410-2.9-fnmatch.patch                                                     |   64    64     0     0 ++
 /trunk/patches/glibc/2_9/350-2.4-undefine-__i686.patch                                             |   47    47     0     0 +
 /trunk/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch                                    |   53    53     0     0 +
 /trunk/patches/glibc/2_9/420-dont-build-timezone.patch                                             |   19    19     0     0 +
 /trunk/patches/glibc/2_9/150-regex-BZ697.patch                                                     |   28    28     0     0 +
 /trunk/patches/glibc/2_9/290-no-inline-gmon.patch                                                  |   38    38     0     0 +
 /trunk/patches/glibc/2_9/280-section-comments.patch                                                |   29    29     0     0 +
 /trunk/patches/glibc/2_9/180-math-tests.patch                                                      |   72    72     0     0 ++
 /trunk/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch |   35    35     0     0 +
 /trunk/patches/glibc/2_9/250-resolv-dynamic.patch                                                  |   44    44     0     0 +
 /trunk/patches/glibc/2_9/300-2.9-check_native-headers.patch                                        |   22    22     0     0 +
 /trunk/patches/glibc/2_9/310-2.3.6-fix-pr631.patch                                                 |   50    50     0     0 +
 /trunk/patches/glibc/2_9/130-add_prio-macros.patch                                                 |   26    26     0     0 +
 /trunk/patches/glibc/2_9/260-fadvise64_64.patch                                                    |   30    30     0     0 +
 /trunk/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch                                           |  249   249     0     0 ++++++
 /trunk/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch                                      |   35    35     0     0 +
 /trunk/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch                                  |   74    74     0     0 ++
 /trunk/patches/glibc/2_9/360-2.8-nscd-one-fork.patch                                               |   45    45     0     0 +
 /trunk/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch                                     |   18    18     0     0 +
 /trunk/patches/glibc/2_9/210-2.9-strlen-hack.patch                                                 |  109   109     0     0 +++
 /trunk/patches/glibc/2_9/320-2.9-assume-pipe2.patch                                                |   59    59     0     0 +
 /trunk/patches/glibc/2_9/100-ssp-compat.patch                                                      |  193   193     0     0 +++++
 /trunk/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch                                            |   30    30     0     0 +
 /trunk/patches/glibc/2_9/220-manual-no-perl.patch                                                  |   29    29     0     0 +
 /trunk/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch                                        |   35    35     0     0 +
 /trunk/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch                               |   38    38     0     0 +
 /trunk/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch                                       |  198   198     0     0 +++++
 /trunk/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch                                               |   23    23     0     0 +
 /trunk/patches/glibc/2_9/200-awk-in-C-locale.patch                                                 |   23    23     0     0 +
 /trunk/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch                                          |   57    57     0     0 +
 /trunk/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch                                  |   71    71     0     0 ++
 /trunk/patches/glibc/2_9/490-ptr-mangling.patch                                                    |  114   114     0     0 +++
 /trunk/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch                                           |   19    19     0     0 +
 41 files changed, 3094 insertions(+)
2009-02-02 22:00:18 +00:00
Yann E. MORIN"
cb8cfd3d80 Don't add versions that already exist.
/trunk/scripts/addToolVersion.sh |   15    14     1     0 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
2009-02-02 21:56:30 +00:00
Yann E. MORIN"
910188cea6 dd latest MPFR 2.4.0 version (EXPERIMENTAL).
/trunk/config/gmp_mpfr/mpfr.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-02-02 21:09:42 +00:00
Yann E. MORIN"
7041afc22a Add latest ncurses version 5.7 for use with gdb.
/trunk/config/debug/gdb.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-02-02 21:09:07 +00:00
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