2010-01-10Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 10 Jan 2010 17:43:23 +0100] rev 1725
Merge.

2010-01-10libc/newlib: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 10 Jan 2010 17:32:32 +0100] rev 1724
libc/newlib: add latest version

2010-01-10scripts/addToolsVersion: add support for newlib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 10 Jan 2010 17:24:29 +0100] rev 1723
scripts/addToolsVersion: add support for newlib

2010-01-10scripts/addToolVersion: cleanups
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 10 Jan 2010 17:22:47 +0100] rev 1722
scripts/addToolVersion: cleanups

2010-01-10scripts/addToolVersion: correctly handle the libc categories
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 10 Jan 2010 16:50:52 +0100] rev 1721
scripts/addToolVersion: correctly handle the libc categories

2010-01-10scrips/functions: fix downloads using curl
Richard Strand <richard.strand@icomera.com> [Sun, 10 Jan 2010 15:19:25 +0000] rev 1720
scrips/functions: fix downloads using curl

By default curl doesn't folow redirects. This breaks sourceforge downloads.
Add the -L option to curl to fix this.

Curl also downloads the html as a file even when it gets a 404. This breaks
http downloads when using the failback system. Add the -f option to curl to fix
this.

Signed-off-by: Richard Strand <richard.strand@icomera.com>

2010-01-09libc/glibc: correctly handle dual-bitness archs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 16:05:01 +0100] rev 1719
libc/glibc: correctly handle dual-bitness archs

If the selected ARCH is dual-bitness (eg. supports 32- and 64-bit),
then we need to know the correct place where to fetch some headers.
Currently, this applies only to x86 variants: i386 and x86_64.

2010-01-09scripts/functions: fix extraction
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 17:31:25 +0100] rev 1718
scripts/functions: fix extraction

2010-01-09arch/alpha: cleanup Alpha code
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 15:57:07 +0100] rev 1717
arch/alpha: cleanup Alpha code

2010-01-09config/arch: always select the adequate bitness
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 15:52:06 +0100] rev 1716
config/arch: always select the adequate bitness

Even if the selected ARCH does not support different bitness (or we do
not support building with another bitness), still select the appropriate
bitness.

2010-01-09config/arch: also export bitness as a string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 15:40:08 +0100] rev 1715
config/arch: also export bitness as a string

2010-01-08documentation: Remove refs to seemingly native toolchains issue
Richard Strand <richard.strand@icomera.com> [Fri, 08 Jan 2010 18:48:21 +0000] rev 1714
documentation: Remove refs to seemingly native toolchains issue

Remove references to the seemingly native toolchains do not build
issue as it seems to be fixed.

Signed-off-by: Richard Strand <richard.strand@icomera.com>

2010-01-091.5: update version string to 1.5.3+hg 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 18:35:57 +0100] rev 1713
1.5: update version string to 1.5.3+hg

2010-01-09Tagging release 1.5.3 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 18:35:30 +0100] rev 1712
Tagging release 1.5.3

2010-01-09i1.5: update version string to 1.5.3 1.5 crosstool-ng-1.5.3
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 18:34:39 +0100] rev 1711
i1.5: update version string to 1.5.3

2010-01-07libc/uClibc: add patch to fix IP frames on BE targets 1.5
Joachim Nilsson <jocke@vmlinux.org> [Thu, 07 Jan 2010 19:20:31 +0100] rev 1710
libc/uClibc: add patch to fix IP frames on BE targets

Pack netinet structs to be possible to use for creating
IP frames on big-endian targets.

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
[yann.morin.1998@anciens.enib.fr: removed getline patch, already in]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 5c246abe7716271c0ce31d980d92eb9a304995c8)

2010-01-09libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Jan 2010 18:30:34 +0100] rev 1709
libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM

(manualy transplanted from 2ad2cbc1f709f48a195746476a71f1244cc67cee)
(transplanted from 2ad2cbc1f709f48a195746476a71f1244cc67cee))

2009-12-30debug/tools: set the ncurses extension to .tar.gz 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Dec 2009 15:38:03 +0100] rev 1708
debug/tools: set the ncurses extension to .tar.gz

TRying to download every extension in turn takes ages, so
help the helper by telling what extension to retrieve.
(transplanted from 08b0982e4da9402ad39fde431353ebf0248ea34c)

2009-12-29config: fix generated config files when GREP_OPTIONS set --color=always 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 29 Dec 2009 21:16:51 +0100] rev 1707
config: fix generated config files when GREP_OPTIONS set --color=always

grep is used when generating some .in files (in config.gen). If GREP_OPTIONS
contains --color=always, then the generated files will contains some escape
sequences setting the color, and mconf would choke on those escape sequences.

Always set and export an empty GREP_OPTIONS to avoid that.

Issue reported by Kevin Kirkup <kevin dot kirkup at gmail dot com> :
http://sourceware.org/ml/crossgcc/2009-12/msg00026.html
(transplanted from a5020a1facffc046d23d39a71a1b8089ca84beac)

2009-12-19scripts: check for, and warn about an unset CT_PREFIX_DIR 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 19 Dec 2009 12:44:21 +0100] rev 1706
scripts: check for, and warn about an unset CT_PREFIX_DIR

The user shall provide a directory to install the toolchain into.
If he/she does not, this is an error, and shall be detected properly,
rather than relying on failure down the road.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out
the issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
(transplanted from e94f4ffddd1d07b3841160db71694cd19fda6b03)

2010-01-09debug/gdb: Add support for GDB 7.0.1 (minor release)
Joachim Nilsson <jocke@vmlinux.org> [Sat, 09 Jan 2010 00:54:46 +0100] rev 1705
debug/gdb: Add support for GDB 7.0.1 (minor release)

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>

2010-01-07config: don't force the vendor part in the tuple
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Jan 2010 23:05:30 +0100] rev 1704
config: don't force the vendor part in the tuple

Note however that some configurations (eg. arm-elf) will still
have the vendor part 'unknown' forced in (by config.sub).

2010-01-07samples: update armeb-unknown-linux-uclibcgnueabi
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Jan 2010 20:40:52 +0100] rev 1703
samples: update armeb-unknown-linux-uclibcgnueabi

2010-01-07kernel/linux: add support for latest versions
Joachim Nilsson <jocke@vmlinux.org> [Thu, 07 Jan 2010 19:28:28 +0100] rev 1702
kernel/linux: add support for latest versions

This patch adds support for the latest Linux 2.6.32.3 kernel.

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
[yann.morin.1998@anciens.enib.fr: keep only one long-term stable]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-01-07libc/uClibc: add patch to fix IP frames on BE targets
Joachim Nilsson <jocke@vmlinux.org> [Thu, 07 Jan 2010 19:20:31 +0100] rev 1701
libc/uClibc: add patch to fix IP frames on BE targets

Pack netinet structs to be possible to use for creating
IP frames on big-endian targets.

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
[yann.morin.1998@anciens.enib.fr: removed getline patch, already in]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-01-07binutils/binultils: import binutils-2.20 patches from OE
Joachim Nilsson <jocke@vmlinux.org> [Thu, 07 Jan 2010 01:08:08 +0100] rev 1700
binutils/binultils: import binutils-2.20 patches from OE

This is a set of patches for binutils-2.20 that have been "ported", or rather
shamelessly stolen, from the OpenEmbedded project:

http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20

Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>

2010-01-07complibs/mpfr: add upstream patches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Jan 2010 18:31:13 +0100] rev 1699
complibs/mpfr: add upstream patches

2010-01-06cc/gcc: add new patch, fixers building on x86 for target armeb (at least!)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Jan 2010 23:25:08 +0100] rev 1698
cc/gcc: add new patch, fixers building on x86 for target armeb (at least!)

Patch from Ralf Wildenhues:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c5

Testing thanks to Joachim Nilsson:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c7

2010-01-06Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Jan 2010 19:15:20 +0100] rev 1697
Merge.

2010-01-06complibs/mpfr: add latest version 2.4.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Jan 2010 18:42:41 +0100] rev 1696
complibs/mpfr: add latest version 2.4.2

Note: the MPFR site happens to be down at the time I wrote
this message, and happens to be down quite often.

Once it's back up'n'runnin', I'll mirror as much as possible
the MPFR tarballs on my site, but in the meantime, you'll
have to handle it by yourself (patience...).

2010-01-06complibs/mpc: add latest version 0.8.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Jan 2010 18:40:08 +0100] rev 1695
complibs/mpc: add latest version 0.8.1

2010-01-06scripts/addToolsVersion: add support for MPC
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Jan 2010 18:30:51 +0100] rev 1694
scripts/addToolsVersion: add support for MPC

2010-01-06cc/gcc: add patch to fix armeb in gcc-4.4
Joachim Nilsson <jocke@vmlinux.org> [Wed, 06 Jan 2010 15:04:38 +0100] rev 1693
cc/gcc: add patch to fix armeb in gcc-4.4

On x86, gcc-4.4.x breaks when building for target armeb.
It is still required to configure with: --disable-shared

Note: if building on an x86_64, there is no need to pass --disable-shared

2010-01-02scripts/addtoolversion: prepare for hooks for tools others than gcc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 02 Jan 2010 00:15:19 +0100] rev 1692
scripts/addtoolversion: prepare for hooks for tools others than gcc

The upcoming git support will require hooks for glibc as well.

2009-11-30scripts: protect against partially extracted source
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 30 Nov 2009 21:34:50 +0100] rev 1691
scripts: protect against partially extracted source

In case of failure (eg. user hitting Ctrl-C), avoid extracting over
partially extracted source. Will help once we have git available.

2009-11-30scripts: handle custom or empty extension when extracting
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 30 Nov 2009 00:05:45 +0100] rev 1690
scripts: handle custom or empty extension when extracting

2009-11-25scripts/functions: do not double check if downloads are allowed
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 25 Nov 2009 20:36:04 +0100] rev 1689
scripts/functions: do not double check if downloads are allowed

Only call the *_get functions if downloads are allowed, so there
is no need to check it again in the retrieval wrappers.

2010-01-05debug/ltrace: fix for a latent bug
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 05 Jan 2010 23:27:19 +0100] rev 1688
debug/ltrace: fix for a latent bug

2010-01-05debug/ltrace: chop long lines
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 05 Jan 2010 18:56:44 +0100] rev 1687
debug/ltrace: chop long lines

2010-01-05debug/ltrace: set the ltrace extension to .tar.gz
Joachim Nilsson <jocke@vmlinux.org> [Tue, 05 Jan 2010 11:43:31 +0100] rev 1686
debug/ltrace: set the ltrace extension to .tar.gz

Trying to download every extension in turn does not work.
The Debian server returns a friendly 404-page that is
saved as the orig.tar.bz2 file. Help the helper by giving
it the extension to retrieve.

2010-01-03debug/ltrace: Add support for ltrace-0.5.3
Joachim Nilsson <jocke@vmlinux.org> [Sun, 03 Jan 2010 16:46:58 +0100] rev 1685
debug/ltrace: Add support for ltrace-0.5.3

From this version of ltrace the maintainer has removed support for
GNU Autotools, so the patch sets needed to be reworked.

Included is the latest Debian patch, by the Debian ltrace maintainer
Juan Cespedes <cespedes@debian.org>, the OpenEmbedded patches for cross
compiling, by Khem Raj <raj.khem@gmail.com> and a further set of patches
by Joachim Nilsson <jocke@vmlinux.org> for crosstool-NG.

2010-01-03samples: refine the listing of all samples for canadian samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Jan 2010 18:40:35 +0100] rev 1684
samples: refine the listing of all samples for canadian samples

For canadian samples, display the sample as:
target-tuple (host: host-tuple)

2010-01-03samples: add an action to print details for all samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Jan 2010 18:36:07 +0100] rev 1683
samples: add an action to print details for all samples

2010-01-03samples: fix displaying samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Jan 2010 18:33:23 +0100] rev 1682
samples: fix displaying samples

2010-01-03samples: add a new samples for the TI DaVinci processors.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Jan 2010 17:36:54 +0100] rev 1681
samples: add a new samples for the TI DaVinci processors.

Dragan Marinkovic <marinkovic.dragan@gmail.com> wrote:
I finally had the time (and board) to spend some time with
crosstool-NG version 1.5.2 and TMS320DM6446 (DaVinci Digital Media
System-on-Chip,
http://focus.ti.com/docs/prod/folders/print/tms320dm6446.html).

I was able to successfully build and run v2.6.27-davinci1 kernel
(Kevin Hilman's branch) with busybox based initramfs on it. I don't
believe that any later kernel would represent any challenge (it just
happens that I'm currently working with this version). What a thrill
:).

crosstool-NG/toolchain config is attached. It may be useful to someone
using crosstool-NG ...

2010-01-03scripts/functions: make aria2 less verbose when downloading
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Jan 2010 16:30:35 +0100] rev 1680
scripts/functions: make aria2 less verbose when downloading

2010-01-02Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 02 Jan 2010 18:01:46 +0100] rev 1679
Merge.

2010-01-02misc: do not use "tar cf - |tar xf -"
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 02 Jan 2010 18:00:54 +0100] rev 1678
misc: do not use "tar cf - |tar xf -"

Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place"
to copy a directory to another place does not properly fail (when it does).

Using this instead: cp -av "/some/place" "/some/other/place"
makes it easy to see why and how it failed.

Impacted:
libc/uClibc
debug/ltrace
tools/sstrip
scripts/populate

2010-01-01Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 19:04:16 +0100] rev 1677
Merge.

2010-01-01cc/gcc: update ptachsets for gcc-4.4.{0,1,2}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 19:03:48 +0100] rev 1676
cc/gcc: update ptachsets for gcc-4.4.{0,1,2}

As reported by Joachim Nilsson <jocke@vmlinux.org>
in: http://sourceware.org/ml/crossgcc/2010-01/msg00005.html

It seems I need to add the 4.3.4/290-index_macro.patch to the GCC 4.4.x
series as well. I immediately trigger the following libstdc++ bug for
4.4.2 with a uClibc .config which has UCLIBC_SUSV3_LEGACY_MACROS set[1].

http://lists.busybox.net/pipermail/uclibc/2006-April/035991.html

2010-01-01libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 16:52:55 +0100] rev 1675
libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM

2010-01-01libc/uClibc: beautify the munge function
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 18:47:20 +0100] rev 1674
libc/uClibc: beautify the munge function

2010-01-01scripts/functions: fix downloading with aria2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 17:09:52 +0100] rev 1673
scripts/functions: fix downloading with aria2

In case the remote file does not exist (and probably for some
other reasons as well), aria2 nonetheless creates an empty file
(or not empty for some other reasons).

The solution is to delete the file whenever aria2 fails.

2010-01-01scripts/functions: fix using Aria2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 12:27:06 +0100] rev 1672
scripts/functions: fix using Aria2

Latest aria2 no longer recognise the --retry-wait option.

2010-01-01debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels
Joachim Nilsson <jocke@vmlinux.org> [Fri, 01 Jan 2010 12:17:39 +0100] rev 1671
debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels

Here's a couple of patches to get strace 4.5.19 to configure and build
properly with the latest kernel headers. Not pretty, but hopefully
enough while we wait for 4.5.20 to be released.

With the current strace-4.5.19 patches I failed to get the configure
script running even on my host environment. Also, when cross building
the configure script needs to look for the proper system headers to be
able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get:

[EXTRA] Building strace
[ERROR] /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976:
error: field 'nl' has incomplete type
[ERROR] make[2]: *** [net.o] Error 1
[ERROR] make[1]: *** [all] Error 2

The fix was simple, backport a change set from the git[1] tree and run
autoreconf to update the configure script.

[1] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7

2009-12-30debug/tools: set the ncurses extension to .tar.gz
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Dec 2009 15:38:03 +0100] rev 1670
debug/tools: set the ncurses extension to .tar.gz

TRying to download every extension in turn takes ages, so
help the helper by telling what extension to retrieve.

2009-12-30scripts/functions: add aria2, a powerfull downloader
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Dec 2009 15:36:22 +0100] rev 1669
scripts/functions: add aria2, a powerfull downloader

aria2 is a powerfull downloader that is capable of chunking and
parallel retrieval.

Due to li;itations in crosstool-NG retrieval facilities, it's not possible
to take fully advantage of aria2. It might happen that, in the future,
those limitations get lifted away, so we can take use features such as
parallel downloading from more than one server at the same time. For now,
it should still speed up downloads thanks to parallel downloading of chunks.

2009-12-29scripts/functions: simplify wget vs. curl check
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 29 Dec 2009 22:11:09 +0100] rev 1668
scripts/functions: simplify wget vs. curl check

2009-12-29config: fix generated config files when GREP_OPTIONS set --color=always
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 29 Dec 2009 21:16:51 +0100] rev 1667
config: fix generated config files when GREP_OPTIONS set --color=always

grep is used when generating some .in files (in config.gen). If GREP_OPTIONS
contains --color=always, then the generated files will contains some escape
sequences setting the color, and mconf would choke on those escape sequences.

Always set and export an empty GREP_OPTIONS to avoid that.

Issue reported by Kevin Kirkup <kevin dot kirkup at gmail dot com> :
http://sourceware.org/ml/crossgcc/2009-12/msg00026.html

2009-12-19linux/kernel: fix version numbers 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 19 Dec 2009 13:08:34 +0100] rev 1666
linux/kernel: fix version numbers

2009-12-19kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 19 Dec 2009 13:00:51 +0100] rev 1665
kernel/linux: add latest versions

2009-12-19kernel/linux: fix versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 19 Dec 2009 12:54:59 +0100] rev 1664
kernel/linux: fix versions

2009-12-19scripts: check for, and warn about an unset CT_PREFIX_DIR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 19 Dec 2009 12:44:21 +0100] rev 1663
scripts: check for, and warn about an unset CT_PREFIX_DIR

The user shall provide a directory to install the toolchain into.
If he/she does not, this is an error, and shall be detected properly,
rather than relying on failure down the road.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out
the issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html

2009-12-14scripts: correctly warn when the local tarballs directory does not exist
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Dec 2009 19:17:37 +0100] rev 1662
scripts: correctly warn when the local tarballs directory does not exist

Warn about a missing local tarball directory, only if it was configured.
Avoid the spurious message:
Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist.
Will not save downloaded tarballs to local storage.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out the
issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html

2009-12-10configure: install in a sub-dir of --libdir and --docdir 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 10 Dec 2009 15:09:13 +0100] rev 1661
configure: install in a sub-dir of --libdir and --docdir

In case the user specifies the LIBDIR with --libdir , or DOCDIR with
--docdir, install our support files in a sub-dir, so as not to mangle
existing (potentially system) files/dirs.
(transplanted from 991fc21dd3cfda7d6448388b3224821f6937f15e)

2009-12-10configure: install in a sub-dir of --libdir and --docdir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 10 Dec 2009 15:09:13 +0100] rev 1660
configure: install in a sub-dir of --libdir and --docdir

In case the user specifies the LIBDIR with --libdir , or DOCDIR with
--docdir, install our support files in a sub-dir, so as not to mangle
existing (potentially system) files/dirs.

2009-11-26scripts: directly spit-out the date in the WiKi table, misc eye-candy
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 Nov 2009 00:22:17 +0100] rev 1659
scripts: directly spit-out the date in the WiKi table, misc eye-candy

No need to go through a post-processing just for displaying the date...

2009-11-25scripts: fix Host/Target colums in WiKi table
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 25 Nov 2009 23:56:59 +0100] rev 1658
scripts: fix Host/Target colums in WiKi table

Generate a better-looking WiKi table by re-arranging
the host and target columns.

2009-11-25scripts: fix WiKi table generation
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 25 Nov 2009 23:40:25 +0100] rev 1657
scripts: fix WiKi table generation

The number of column in the top-most header was not updated to reflect the
fact that a new column was added to show the host (for canadian crosses).

2009-11-25samples: update the Alpha sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 25 Nov 2009 23:13:05 +0100] rev 1656
samples: update the Alpha sample

According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html

2009-11-25libc/glibc: update 2.10.1 patchset
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 25 Nov 2009 21:47:51 +0100] rev 1655
libc/glibc: update 2.10.1 patchset

According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html
update the patchset for correct Alpha build.

2009-11-25patches/glibc: allows glibc2.9 to be compiled with binutils 2.20
"Frederic Roussel" <fr.frasc@gmail.com> [Wed, 25 Nov 2009 00:10:42 -0800] rev 1654
patches/glibc: allows glibc2.9 to be compiled with binutils 2.20

the configure script had to be modified to accept as/ld at versions greater
than 2.19
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>

2009-11-22samples: update the AVR32 sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 22 Nov 2009 22:59:24 +0100] rev 1653
samples: update the AVR32 sample

2009-11-22scripts: update config.{sub,guess}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 22 Nov 2009 11:36:41 +0100] rev 1652
scripts: update config.{sub,guess}

2009-11-221.5: update version string to 1.5.2+hg 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 22 Nov 2009 15:40:53 +0100] rev 1651
1.5: update version string to 1.5.2+hg

2009-11-22Added tag crosstool-ng-1.5.2 for changeset bb01f4294cf2 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 22 Nov 2009 15:40:29 +0100] rev 1650
Added tag crosstool-ng-1.5.2 for changeset bb01f4294cf2

2009-11-221.5: update version string to 1.5.2 1.5 crosstool-ng-1.5.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 22 Nov 2009 15:40:05 +0100] rev 1649
1.5: update version string to 1.5.2

2009-11-17Fix typos and adjust some documentation. 1.5
"Frederic Roussel" <fr.frasc@gmail.com> [Tue, 17 Nov 2009 10:01:22 -0800] rev 1648
Fix typos and adjust some documentation.
(transplanted from 19205498184e299fb45a4addebcf7b480f119165)

2009-11-17libc/uClibc: add new patch to fix NULL pointer dereference 1.5
Doug Kehn <rdkehn@yahoo.com> [Tue, 17 Nov 2009 00:56:17 +0100] rev 1647
libc/uClibc: add new patch to fix NULL pointer dereference
(transplanted from 3d8f6d826f21342b6172813384f3e5e1f09e8a71)

2009-10-30scripts: fix updating config.{sub,guess} 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Oct 2009 19:49:51 +0100] rev 1646
scripts: fix updating config.{sub,guess}
(transplanted from 7f52e1cca71eecc6a46ad1905afea42a5c8f0a68)

2009-10-28libc/uClibc: fix building on system with recent glibc 1.5
Zoltan Devai <zdevai@gmail.com> [Wed, 28 Oct 2009 12:03:38 +0100] rev 1645
libc/uClibc: fix building on system with recent glibc

While trying to build a toolchain with ct-ng 1.5.0,
arm-unknown-linux-uclibcgnueabi target,
I get the following error:

[INFO ] Installing C library headers
[EXTRA] Copying sources to build dir
[EXTRA] Applying configuration
[EXTRA] Building headers
[EXTRA] Installing headers
[ERROR] extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ERROR] make[2]: *** [extra/scripts/unifdef] Error 1
[ERROR] Build failed in step 'Installing C library headers'

The following patch solves the problem.
(It's a backport of this uClibc commit:
http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e
)

[--SNIP from another mail--]
AFAIK this is a problem since glibc 2.10.
(transplanted from 1ba79f2126df8bd89120899a58f2d0bcc2e9c771)

2009-10-25libc/newlib: fix host/target confusion 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Oct 2009 23:35:55 +0100] rev 1644
libc/newlib: fix host/target confusion

newlib handles the build/host/target a bit differently as one would expect:
build : not used
host : the nachine that builds newlib
target : the machine on which newlib will run
(transplanted from 3ccb1f76576fc7b730c57a0d1e183bce20cc47c0)

2009-11-17Fix typos and adjust some documentation.
"Frederic Roussel" <fr.frasc@gmail.com> [Tue, 17 Nov 2009 10:01:22 -0800] rev 1643
Fix typos and adjust some documentation.

2009-11-17Adding kernel 2.6.31.6 and 2.6.27.39
"Frederic Roussel" <fr.frasc@gmail.com> [Tue, 17 Nov 2009 09:54:10 -0800] rev 1642
Adding kernel 2.6.31.6 and 2.6.27.39

2009-11-17libc/glibc: configure libc headers with support for 128-bit long double
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 23:41:49 +0100] rev 1641
libc/glibc: configure libc headers with support for 128-bit long double

At the headers install pass, there's no compiler to test for the size
of long double. Help it: we know that the compiler does support 128-bit
long double, in the IBM extended precision.

Kindly pointed out, and explained, by Mike FRYSINGER:
http://sourceware.org/ml/crossgcc/2009-11/msg00040.html
http://sourceware.org/ml/crossgcc/2009-11/msg00057.html

2009-11-17libc/uClibc: add new patch to fix NULL pointer dereference
Doug Kehn <rdkehn@yahoo.com> [Tue, 17 Nov 2009 00:56:17 +0100] rev 1640
libc/uClibc: add new patch to fix NULL pointer dereference

2009-11-06libc/uClibc: add wchar support
Simon Pasch <fpasch@googlemail.com> [Fri, 06 Nov 2009 20:17:30 +0100] rev 1639
libc/uClibc: add wchar support

2009-11-17arch: cleanup the 32- and 64-bit selection
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 22:29:50 +0100] rev 1638
arch: cleanup the 32- and 64-bit selection

2009-11-17arch/ia64: update to the new 64-bit infrastructure
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 11:55:37 +0100] rev 1637
arch/ia64: update to the new 64-bit infrastructure

2009-11-17arch/s390: commonalise the 32- and 64-bit s390 arch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 11:54:44 +0100] rev 1636
arch/s390: commonalise the 32- and 64-bit s390 arch

2009-11-17arch/x86: commonalise the 32- and 64-bit x86 arch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 11:51:57 +0100] rev 1635
arch/x86: commonalise the 32- and 64-bit x86 arch

2009-11-17arch/ppc: commonalise the 32- and 64-bit PowerPC arch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 11:33:59 +0100] rev 1634
arch/ppc: commonalise the 32- and 64-bit PowerPC arch

2009-11-17arch: add hidden config knobs for 32- and 64-bit support and select
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Nov 2009 09:27:38 +0100] rev 1633
arch: add hidden config knobs for 32- and 64-bit support and select

Add new hidden config knobs that architectures can select to
say whether they support 32- or 64-bit variants, and which
they default to.

2009-11-16Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Nov 2009 22:37:39 +0100] rev 1632
Merge.

2009-11-16arch/s390: cleanups
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Nov 2009 20:18:09 +0100] rev 1631
arch/s390: cleanups

Don't select unneeded config knobs. Don't select non-existing config knobs.
Use the "no patch" config knob, instead of pointing to an non-exiting local
patch dir. Simplify the tuple-related scripts. Update the samples.

2009-11-16config/global: enable not using patches at all
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Nov 2009 20:15:45 +0100] rev 1630
config/global: enable not using patches at all

It can be needed to build a toolchain with no patch at all.

2009-11-14arch: add s390 and s390x architectures and samples
harold@dev.site [Sat, 14 Nov 2009 15:03:01 -0600] rev 1629
arch: add s390 and s390x architectures and samples

2009-11-16Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Nov 2009 20:25:42 +0100] rev 1628
Merge.

2009-11-16libc/glibc: allow more than one line in configparms
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Nov 2009 20:24:03 +0100] rev 1627
libc/glibc: allow more than one line in configparms

2009-11-13samples: update the armeb-unknown-linux-gnueabi sample to use glibc-2.10.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 13 Nov 2009 21:39:58 +0100] rev 1626
samples: update the armeb-unknown-linux-gnueabi sample to use glibc-2.10.1

2009-11-13libc/glibc: add 2.10.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 13 Nov 2009 21:37:18 +0100] rev 1625
libc/glibc: add 2.10.1

Woo... It seems the glibc guys finally decided that tarballs
were not deprecated, in fact.

The patchset was vampirised from Gentoo (kudos, guys!), and
applies to glibc+ports, so that's why it's been added as a
patchset against ports, not against glibc.

2009-11-13scripts: add a new helper script to easily rediff a patchset
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 13 Nov 2009 19:34:18 +0100] rev 1624
scripts: add a new helper script to easily rediff a patchset

2009-11-12scripts: be POSIXly correct in helper scripts
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 12 Nov 2009 18:42:13 +0100] rev 1623
scripts: be POSIXly correct in helper scripts

Fix helper scripts to be POSIXly correct: don't expect '.' (the dot
builtin) to search CWD if it is not in $PATH.

2009-11-10scripts: output renumbered patches in a new directory
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 10 Nov 2009 19:32:11 +0100] rev 1622
scripts: output renumbered patches in a new directory

When renumbering patches, the original patches get removed and replaced
with the new ones. This can be annoying to loose the original patches.
Fix this by putting the new patchs in a directory of their own.

2009-11-11patches/binutils/2.20: make patches appliable
"Frederic Roussel" <fr.frasc@gmail.com> [Wed, 11 Nov 2009 14:44:53 -0800] rev 1621
patches/binutils/2.20: make patches appliable

Fix filenames in patch files for binutils-2.20.
Some patch files were only usable with patch argument '-p0'.
Fix the diff context to match 2.20 release.

Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>

2009-10-30scripts: some eye-candy
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Oct 2009 20:08:44 +0100] rev 1620
scripts: some eye-candy

2009-10-30scripts: update config.{sub,guess}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Oct 2009 19:52:06 +0100] rev 1619
scripts: update config.{sub,guess}

2009-10-30scripts: fix updating config.{sub,guess}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Oct 2009 19:49:51 +0100] rev 1618
scripts: fix updating config.{sub,guess}

2009-10-29Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 29 Oct 2009 00:10:06 +0100] rev 1617
Merge.

2009-10-28samples: update all samples to the new set of options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 23:20:31 +0100] rev 1616
samples: update all samples to the new set of options

No version change is made.

2009-10-28config: mark now old versions as being OBSOLETE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:15:50 +0100] rev 1615
config: mark now old versions as being OBSOLETE

These versions are kept for the upcoming release, but they
will be removed from the next release if they are not used.

2009-10-27config/binutils: add latest version 2.20
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 20:06:46 +0100] rev 1614
config/binutils: add latest version 2.20

Also add patchset vampirised from Gentoo.

2009-10-28debug/strace: add latest version, unmarkprevious EXPERIMENTAL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:00:34 +0100] rev 1613
debug/strace: add latest version, unmarkprevious EXPERIMENTAL

Also propagate the patchset from 4.5.18 to 4.5.19.

2009-10-28debug/gdb: add latest version 7.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 18:34:49 +0100] rev 1612
debug/gdb: add latest version 7.0

2009-10-20cc/gcc: add latest 4.4.2 version as EXPERIMENTAL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Oct 2009 23:41:11 +0200] rev 1611
cc/gcc: add latest 4.4.2 version as EXPERIMENTAL

2009-10-27kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 18:49:15 +0100] rev 1610
kernel/linux: add latest versions

2009-10-27binutils: remove duplicate config entries for binutils & elf2flt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 20:09:54 +0100] rev 1609
binutils: remove duplicate config entries for binutils & elf2flt

2009-10-27scripts: add sed expression to apply when renumbering patches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 19:34:13 +0100] rev 1608
scripts: add sed expression to apply when renumbering patches

Some patchsets have superfluous members in their names (eg. the ones coming
from Gentoo), so it can come in handy to pass a sed RE to strip them out of
the final patch name.
Also add a 'fake' mode, where the command will only be printed and not
executed, so we can check beforehand if the rename will be OK.

2009-10-27scripts: fis addToolVersion wrt binutils
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 18:54:29 +0100] rev 1607
scripts: fis addToolVersion wrt binutils

binutils' config file has moved; update the addToolVerion script accordingly.

2009-10-21kernel/linux: remove the version prompt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 00:06:22 +0200] rev 1606
kernel/linux: remove the version prompt