2010-05-19test-suite: Added new test suite feature (experimental)
Martin Lund <mgl@doredevelopment.dk> [Wed, 19 May 2010 17:53:04 +0200] rev 1965
test-suite: Added new test suite feature (experimental)

This patch adds support for installing the gcc test suite. A helper
Makefile is provided for building and running the gcc tests.

The default configuration runs all gcc tests and requires automatic
ssh/scp login access to a networked target board. See README for
more details.

Note: Current feature is tested with the powerpc-unknown-linux-gnu
sample but it should work with others as well.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>

2010-05-22scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATH
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 12:37:02 +0200] rev 1964
scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATH

Depending on (predefined) macro __APPLE__, use DYLD_LIBRARY_PATH
instead of LD_LIBRARY_PATH.

2010-05-22docs/overview.txt: Provide short mercurial HOWTO
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 18:48:50 +0200] rev 1963
docs/overview.txt: Provide short mercurial HOWTO

The usage of hg mq is imho not very well documented.
Give a short intro for the most important use cases
for contributions to ct-ng.

yann.morin.1998@anciens.enib.fr:
Slightly rewrote the explanations for the introductory message.

2010-05-17ct-ng: Add ability to configure and use some GNU tools
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 14:11:08 +0200] rev 1962
ct-ng: Add ability to configure and use some GNU tools

Make the paths to libtool, objcopy, objdump, readelf, patch configurable.

2010-05-22scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS
Titus von Boxberg <titus@v9g.de> [Sat, 22 May 2010 17:30:44 +0200] rev 1961
scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS

The shell wrapper script uses a nonportable call to readlink.
Thus, always use the binary wrapper under BSD/MacOS.

yann.morin.1998@anciens.enib.fr:
Use 'case' instead of 'if'.

2010-05-17scripts/wrapper.in: Add a comment about readlink not being portable.
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 12:27:32 +0200] rev 1960
scripts/wrapper.in: Add a comment about readlink not being portable.

Documented that the call to readlink will not work on BSD systems.

2010-05-17configure: make call to readlink portable to non-GNU (BSD) systems
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 12:23:24 +0200] rev 1959
configure: make call to readlink portable to non-GNU (BSD) systems

The argument '-e' for readlink is a GNU extension.
In setting the variable 'where' the argument '-e' is not necessary, thus eliminated.

2010-05-19scripts/crosstool-NG.sh.in: On MacOS/BSD use the output of CT_DoConfigGuess for CT_BUILD.
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:13:00 +0200] rev 1958
scripts/crosstool-NG.sh.in: On MacOS/BSD use the output of CT_DoConfigGuess for CT_BUILD.

On 64bit MacOS `gcc -dumpmachine` gives i686 for the host machine.
This conflicts with the expectations of some following configure scripts
that a 64bit x86 is given as x86_64; i686 is understood as a 32 bit machine.
config.guess sets the host machine in CT_BUILD correctly.

yann.morin.1998@anciens.enib.fr:
As suggested by Khem RAJ on the ML, always use config.guess.

2010-05-17configure: Do not require stat to be of GNU coreutils
Titus von Boxberg <titus@v9g.de> [Mon, 17 May 2010 11:29:26 +0200] rev 1957
configure: Do not require stat to be of GNU coreutils

calls to stat have been made portable, thus it is not necessary
that the GNU version is present on the user's system.

2010-05-19scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:22:32 +0200] rev 1956
scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.

Call to get the directory mode depending on $CT_SYS_OS

yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.

2010-05-19build/internals.sh: Replace nonportable call to stat
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:08:23 +0200] rev 1955
build/internals.sh: Replace nonportable call to stat

The call to stat to find out if a file is a symlink works only on GNU systems,
and the replacing portable call to readlink is also shorter and more concise code.

yann.morin.1998@anciens.enib.fr:
Apply simpler test, after discussion with author and Arnaud LACOMBE on the ML.

2010-05-19crosstool-NG.sh: suppress failure message from uname -o
Titus von Boxberg <titus@v9g.de> [Wed, 19 May 2010 18:17:39 +0200] rev 1954
crosstool-NG.sh: suppress failure message from uname -o

On non-GNU systems (BSD/MacOS) there is no uname -o.
Suppress the failure message on these systems in the
call to set CT_SYS_OS (uname -s actually sets this variable).

yann.morin.1998@anciens.enib.fr: remove 'uname -o' altogether.

2010-05-16cc/gcc: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 May 2010 19:41:53 +0200] rev 1953
cc/gcc: add latest version

Add 4.4.4 and forward-port patchset from 4.4.3

2010-05-18kernel/linux: update versions list
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 23:03:48 +0200] rev 1952
kernel/linux: update versions list

2010-05-18Merge. 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 22:59:08 +0200] rev 1951
Merge.

2010-05-18Revert changeset e7f7220b5ba2 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 22:59:00 +0200] rev 1950
Revert changeset e7f7220b5ba2

Arnaud LACOMBE rightly pointed out that this was done on the wrong branch.

2010-05-18Revert changeset d341be24dc68 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 May 2010 22:58:49 +0200] rev 1949
Revert changeset d341be24dc68

Arnaud LACOMBE rightly pointed out that this was done on the wrong branch.

2010-05-16cc/gcc: add latest version 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 May 2010 19:41:53 +0200] rev 1948
cc/gcc: add latest version

Add 4.4.4 and forward-port patchset from 4.4.3

2010-05-16kernel/linux: update versions list 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 May 2010 18:56:51 +0200] rev 1947
kernel/linux: update versions list

2010-04-301.7: update version to 1.7.0+hg 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 22:26:52 +0200] rev 1946
1.7: update version to 1.7.0+hg

2010-04-30Tagging release 1.7.0 1.7
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 22:26:52 +0200] rev 1945
Tagging release 1.7.0

2010-04-301.7: create maintenance branch, update version to 1.7.0 1.7 crosstool-ng-1.7.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 22:26:52 +0200] rev 1944
1.7: create maintenance branch, update version to 1.7.0

2010-04-30scripts/mk-release: pretty-up the per-author stats
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 22:25:45 +0200] rev 1943
scripts/mk-release: pretty-up the per-author stats

Reverse sort first by number of changesets, then sort alphabetically
on the author's names.

2010-04-30docs: update the known issues
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 14:33:07 +0200] rev 1942
docs: update the known issues

2010-04-30samples: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Apr 2010 14:28:14 +0200] rev 1941
samples: update

2010-04-29debug/gdb: install tic in the buildtools directory
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 29 Apr 2010 22:14:31 +0200] rev 1940
debug/gdb: install tic in the buildtools directory

'tic' is a build tool, its place is in the buildtools
directory, not in the toolchain's bin directory.

2010-04-29debug/gdb: be less verbose during the ncurses build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 29 Apr 2010 22:12:27 +0200] rev 1939
debug/gdb: be less verbose during the ncurses build

2010-04-29scripts: don't set LD_PRELOAD with static companion libraries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 29 Apr 2010 00:25:17 +0200] rev 1938
scripts: don't set LD_PRELOAD with static companion libraries

When cpmpanion libraries are built statically, it is useless to set
LD_PRELOAD. Worse, it might break the build in some corner cases.

2010-04-28docs: update the section about the wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Apr 2010 22:24:01 +0200] rev 1937
docs: update the section about the wrapper

The wrapper is no longer needed when building
non-shared companion libraries. Document that.

2010-04-25arch/sh: fix type in variant handling
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Apr 2010 18:27:23 +0200] rev 1936
arch/sh: fix type in variant handling

2010-04-22scripts/savesample: be silent when checking for .config file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Apr 2010 19:21:03 +0200] rev 1935
scripts/savesample: be silent when checking for .config file

2010-04-221.6: update version to 1.6.2+hg 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Apr 2010 19:26:52 +0200] rev 1934
1.6: update version to 1.6.2+hg

2010-04-22Tagging release 1.6.2 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Apr 2010 19:26:52 +0200] rev 1933
Tagging release 1.6.2

2010-04-221.6: update version to 1.6.2 1.6 crosstool-ng-1.6.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 22 Apr 2010 19:26:52 +0200] rev 1932
1.6: update version to 1.6.2

2010-04-20cc/gcc: fix cc symlink when executables have an extension 1.6
Remy Bohmer <linux@bohmer.net> [Tue, 20 Apr 2010 11:39:13 +0200] rev 1931
cc/gcc: fix cc symlink when executables have an extension

When building a cross-compiler for a host which depends
on file extensions the symlink for cc was not installed correctly

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: style fixes, enhancements, code prettying]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 214c64ba8b21db15f610eca886fb194a6675e40c)

2010-04-21libc/newlib: don't do // downloads
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Apr 2010 19:06:29 +0200] rev 1930
libc/newlib: don't do // downloads

The newlib FTP site does not like // downloads, and quickly
blocks the IP from the downloader.

Override the number of chunks when downloading newlib.

2010-04-21libc/glibc: fix kernel version check
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Apr 2010 18:54:58 +0200] rev 1929
libc/glibc: fix kernel version check

Since we log the test strings, it is no longer possible to call
the CT_Test* functions from sub-functions that print results to
their stdout.

2010-04-20scripts: also prepare include symlink to sysroot/include
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Apr 2010 09:58:41 +0200] rev 1928
scripts: also prepare include symlink to sysroot/include

2010-04-19scripts: check g++ only for host
Remy Bohmer <linux@bohmer.net> [Mon, 19 Apr 2010 23:42:31 +0200] rev 1927
scripts: check g++ only for host

g++ is only needed when building additonal libs on the HOST,
so check wheter g++ is available for the HOST compiler only

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: fix space damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-04-09cc/gcc: use proper host compiler for canadian bare-metal
Remy Bohmer <linux@bohmer.net> [Fri, 09 Apr 2010 21:04:37 +0200] rev 1926
cc/gcc: use proper host compiler for canadian bare-metal

While compiling a canadian toolchain for host=mingw32, build=linux,
target=m68k-elf the build fails because in this step of the gcc build
the Host compiler is used in this stage with the build-flags for the
build system. This results in an error where the header <sys/wait.h>
cannot be found.
This problem happens at least in the GCC-4.3.x and GCC-4.4.x range.

This is solved by passing the proper compilers on the Make cmd-line

Signed-off-by: Remy Bohmer <linux@bohmer.net>

2010-04-20cc/gcc: allow building a canadian bare-metal compiler
Remy Bohmer <linux@bohmer.net> [Tue, 20 Apr 2010 10:06:04 +0200] rev 1925
cc/gcc: allow building a canadian bare-metal compiler

Previous addition of the canadian cross compiler did not allow
to build a baremetal only variant, no reason why this is not
allowed

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>

2010-04-20cc/gcc: fix cc symlink when executables have an extension
Remy Bohmer <linux@bohmer.net> [Tue, 20 Apr 2010 11:39:13 +0200] rev 1924
cc/gcc: fix cc symlink when executables have an extension

When building a cross-compiler for a host which depends
on file extensions the symlink for cc was not installed correctly

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: style fixes, enhancements, code prettying]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-04-09libc/newlib: the m68k processor does not like unaligned 1.6
Remy Bohmer <linux@bohmer.net> [Fri, 09 Apr 2010 21:04:38 +0200] rev 1923
libc/newlib: the m68k processor does not like unaligned

Disable unaligned access at least for mcpu32, m68010 and m68020.
These processors certainly do not like unaligned accesses.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
(transplanted from faade25219ed565993b7b26357991d3130697515)

2010-04-10complibs/mpfr: fix extract 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Apr 2010 22:45:36 +0200] rev 1922
complibs/mpfr: fix extract

With MPFR 2.4.2, autoreconf needs to be run as well.
(transplanted from b376baa43a50e178915f8d5dac40d9408bf2e962)

2010-04-15cc/gcc: add 4.5.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:35:22 +0200] rev 1921
cc/gcc: add 4.5.0

2010-04-15cc/gcc: add support for 4.5.0 or later versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:35:18 +0200] rev 1920
cc/gcc: add support for 4.5.0 or later versions

starting with 4.5.0, gcc requires libelf.

2010-04-15complibs/libelf: remove old versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:35:15 +0200] rev 1919
complibs/libelf: remove old versions

Those old versions are not suitable for use by gcc.

2010-04-15complibs/libelf: enable the host build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:42:06 +0200] rev 1918
complibs/libelf: enable the host build

Host libelf is required by gcc-4.5.0

2010-04-15complibs/libelf: build target libelf in its own directory
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:35:04 +0200] rev 1917
complibs/libelf: build target libelf in its own directory

2010-04-15debug/gdb: remove insight
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 20:00:23 +0200] rev 1916
debug/gdb: remove insight

Insight seems to be very slow to follow up on mainstreram gdb.
Latest snapshots are more than 6 months old.

Moreover, I don't have time to maintain insight support in crosstool-NG;
and, because I don't use it, I am unable to find any breakage.

2010-04-15debug/gdb: reorder options in the menuconfig
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 19:54:00 +0200] rev 1915
debug/gdb: reorder options in the menuconfig

2010-04-15debug/gdb: allow static build with complibs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:34:35 +0200] rev 1914
debug/gdb: allow static build with complibs

It is now possible to built static versions of the companion libraries,
so we can now build a static cross-gdb using the complibs.

2010-04-15scripts: don't print the build system guess warning
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 15 Apr 2010 22:34:11 +0200] rev 1913
scripts: don't print the build system guess warning

2010-04-13complibs/gmp: mark 5.0.1 as being experimental
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 23:26:12 +0200] rev 1912
complibs/gmp: mark 5.0.1 as being experimental

MPFR can't cope with GMP > 4.x.y so hide it behind EXPERIMENTAL
until we fix MPFR

2010-04-07samples: add Blackfin sample
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Wed, 07 Apr 2010 09:26:12 +0200] rev 1911
samples: add Blackfin sample

2010-04-07Add basic support for the Blackfin architecture
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Wed, 07 Apr 2010 09:18:20 +0200] rev 1910
Add basic support for the Blackfin architecture

For uClibc, the name of the Blackfin architecture is 'bfin'. Actually,
the naming of the architecture is quite messy: for toolchain tuples
and uClibc, it's bfin, but for the kernel, it's blackfin. We've
arbitraly choosen to name it "blackfin" in Crosstool-NG.

Add Blackfin-related uClibc patch to fix a build failure related to
fork() being used in unistd/daemon.c.

Yann E. MORIN:
Apply the patch to the kernel/linux build script to use 'linux'
in the noMMU tuples. See:
http://sourceware.org/ml/crossgcc/2010-04/msg00010.html

2010-04-13scripts/functions: log the test strings
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 22:54:57 +0200] rev 1909
scripts/functions: log the test strings

2010-04-13scripts/functions: compress with gzip level 3, as stated in the documentation
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 21:47:34 +0200] rev 1908
scripts/functions: compress with gzip level 3, as stated in the documentation

Thanks to Bruno Tarquini <btarquini@gmail.com> for the report.

2010-04-13scripts/functions: add a save/restore handler
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 20:52:38 +0200] rev 1907
scripts/functions: add a save/restore handler

Saving and restoring the steps requires saving/restoring multiple
directories. Depending on the configuration, some may not exist.

Add a wrapper that checks before creating/extracting the tarballs.

2010-04-13scripts/functions: fix CT_Patch again
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 20:05:47 +0200] rev 1906
scripts/functions: fix CT_Patch again

2010-04-13Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 00:43:22 +0200] rev 1905
Merge.

2010-04-13Revert 3ea4e6f7b85f: Force autoreconf for mpfr
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 00:43:09 +0200] rev 1904
Revert 3ea4e6f7b85f: Force autoreconf for mpfr

It breaks on my machine. Revert until we find the exact cause leading to
the initial patch, and we come up with a patch that properly fixes it.

2010-04-13scripts/functions: fix CT_Patch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Apr 2010 00:07:00 +0200] rev 1903
scripts/functions: fix CT_Patch

2010-04-09libc/newlib: the m68k processor does not like unaligned
Remy Bohmer <linux@bohmer.net> [Fri, 09 Apr 2010 21:04:38 +0200] rev 1902
libc/newlib: the m68k processor does not like unaligned

Disable unaligned access at least for mcpu32, m68010 and m68020.
These processors certainly do not like unaligned accesses.

Signed-off-by: Remy Bohmer <linux@bohmer.net>

2010-04-11scripts/functions: make CT_Patch dumber
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Apr 2010 23:18:10 +0200] rev 1901
scripts/functions: make CT_Patch dumber

It is the responsibility of the caller to split the package name from
its version. It already knows that.

2010-04-11libc/newlib: only compute version string, not full filename
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Apr 2010 23:17:25 +0200] rev 1900
libc/newlib: only compute version string, not full filename

2010-04-11debug/gdb: remove snapshot version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Apr 2010 23:05:48 +0200] rev 1899
debug/gdb: remove snapshot version

2010-04-09cc/gcc: add bugurl and compiler version to core gcc compiler
Remy Bohmer <linux@bohmer.net> [Fri, 09 Apr 2010 21:04:33 +0200] rev 1898
cc/gcc: add bugurl and compiler version to core gcc compiler

When building for bare-metal the core-gcc compiler is delivered
as final compiler, so the version info and bugurl is useful
in the core compiler as well.

Signed-off-by: Remy Bohmer <linux@bohmer.net>

2010-04-09binutils: allow choice for elf format when building bare-metal cross compiler
Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Fri, 09 Apr 2010 21:04:28 +0200] rev 1897
binutils: allow choice for elf format when building bare-metal cross compiler

When building a baremetal cross compiler I want to be able to select
the elf format and not be forced to build the elf2flt package.

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: tweak the commit message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-04-09scripts: prevent trailing - in CT_TARGET
Bart vdr Meulen <bartvdrmeulen@gmail.com> [Fri, 09 Apr 2010 21:04:27 +0200] rev 1896
scripts: prevent trailing - in CT_TARGET

Not all target tuples consist of an VENDOR, KERNEL and SYSTEM part, build up the
tuple in such a way to no extra or trailing dashes are added to CT_TARGET

Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>

2010-04-09[CT-NG:patch 05/19] Force autoreconf for mpfr
Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Fri, 09 Apr 2010 21:04:24 +0200] rev 1895
[CT-NG:patch 05/19] Force autoreconf for mpfr

In some exotic case the autoreconf step of mpfr is not executed (correctly)
leaving an incorrect version number for libtool in the configure script.

After extracting the sources files, force autoreconf to be executed.

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>

2010-04-11complibs: save directory with static complibs for stop/restart
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Apr 2010 15:37:53 +0200] rev 1894
complibs: save directory with static complibs for stop/restart

2010-04-11complibs: don't install in toolchain dir when built as static
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Apr 2010 11:10:06 +0200] rev 1893
complibs: don't install in toolchain dir when built as static

2010-04-11complibs: allow either static or shared build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Apr 2010 00:47:23 +0200] rev 1892
complibs: allow either static or shared build

2010-04-10complibs: build static libraries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Apr 2010 23:43:08 +0200] rev 1891
complibs: build static libraries

2010-04-10config: replace COMP_LIBS with COMPLIBS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Apr 2010 23:42:28 +0200] rev 1890
config: replace COMP_LIBS with COMPLIBS

2010-04-10complibs/mpfr: fix extract
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Apr 2010 22:45:36 +0200] rev 1889
complibs/mpfr: fix extract

With MPFR 2.4.2, autoreconf needs to be run as well.

2010-04-10scripts: add script to publish patches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Apr 2010 12:34:07 +0200] rev 1888
scripts: add script to publish patches

This script creates the patches for an existing version.

2010-04-07Re-enable the FD_PIC ELF configuration option
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Wed, 07 Apr 2010 09:20:05 +0200] rev 1887
Re-enable the FD_PIC ELF configuration option

Blackfin uses FD_PIC ELF format to provide shared libraries on a
non-MMU architecture.

2010-04-07Fix the uClibc clean-up-O_CLOEXEC-handling patch
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Wed, 07 Apr 2010 09:19:16 +0200] rev 1886
Fix the uClibc clean-up-O_CLOEXEC-handling patch

In the Blackfin case (untested until now), this patch was lacking a
leading / at the end of a comment.

2010-03-30libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPU 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 30 Mar 2010 22:30:41 +0200] rev 1885
libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPU

As discussed there: http://sourceware.org/bugzilla/show_bug.cgi?id=9678#c4

Reported by: Sasha Sirotkin <buildroot@browserseal.com>
(transplanted from dfc2b3e07ea6ea0761fb91df7c3c7fcdc718cc5f)

2010-03-26scripts/populate: fix handling the forced libraries list-file 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Mar 2010 23:17:23 +0100] rev 1884
scripts/populate: fix handling the forced libraries list-file

If a list-file is used, then each library in the file will be handled
twice (not a real issue, as the second iteration will find the library
already present, just avoid doing the job twice).
(transplanted from 7fec5db8933cb296c665b8526f27a779aa0c0c7a)

2010-03-20cc/gcc: fix building for powerpc for the 4.4.x series 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 20 Mar 2010 18:42:34 +0100] rev 1883
cc/gcc: fix building for powerpc for the 4.4.x series

Reported by: Thomas Petazzoni
http://sourceware.org/ml/crossgcc/2010-03/msg00057.html

Discussions:
http://lists.uclibc.org/pipermail/uclibc/2010-March/043697.html
http://lists.uclibc.org/pipermail/buildroot/2010-March/032790.html
http://ibot.rikers.org/%23uclibc/20100316.html.gz
(search for "copysignl", by kos_tom, blindvt and y_morin)
(transplanted from 76b1923da63d2e3b8e9010b6138e33f6a99720a8)

2010-04-07libc/uclibc: add uClibc 0.9.31
Arnaud Lacombe <lacombar@gmail.com> [Wed, 07 Apr 2010 18:35:23 +0200] rev 1882
libc/uclibc: add uClibc 0.9.31

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
[Yann E. MORIN: mark it EXPERIMENTAL]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-04-07cc/gcc: fix thread-less final gcc build
Arnaud Lacombe <lacombar@gmail.com> [Wed, 07 Apr 2010 18:35:22 +0200] rev 1881
cc/gcc: fix thread-less final gcc build

If threads are disabled in libc, we don't want to enable them in the
final compiler. Doing so pass the configure stage, but fails latter on
a missing <pthread.h>.

Moreover, we don't want to build libgomp if threads are disabled; its
configure script would fails anyway.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-04-07cc/gcc: fix recent gcc build
Arnaud Lacombe <lacombar@gmail.com> [Wed, 07 Apr 2010 18:35:21 +0200] rev 1880
cc/gcc: fix recent gcc build

This fix missed conversion of CT_GCC_USE_* to CT_CC_GCC_USE_*.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

2010-04-07complibs/gmp: fix patch against 5.0.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 07 Apr 2010 00:04:06 +0200] rev 1879
complibs/gmp: fix patch against 5.0.1

2010-04-01config: allow libc selection in backend mode
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Apr 2010 19:52:54 +0200] rev 1878
config: allow libc selection in backend mode

In backend mode, allow the upper-layer build system to force the
C library selection.

2010-04-01config: do not force setting kernel and arch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Apr 2010 19:45:28 +0200] rev 1877
config: do not force setting kernel and arch

In backend mode, only enforce the arch and/or kernel selection if the
upper-layer build system effectively forces the selection.

2010-04-02scripts: misc help and auto-complete fixes
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Apr 2010 00:18:26 +0200] rev 1876
scripts: misc help and auto-complete fixes

- don't list samples in the main help screen
- improve the samples listing in list-samples
- don't document the 'config' action, it's long dead
- document the 'V' environment variable
- improve on START, STOP and PREFIX environment variables
- add PREFIX and V to autocomplete
- advertise auto-complete at install time

2010-04-02kernel/linux: add latest versions: 2.6.33.2 2.6.32.11 2.6.31.13 2.6.27.46
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Apr 2010 22:39:53 +0200] rev 1875
kernel/linux: add latest versions: 2.6.33.2 2.6.32.11 2.6.31.13 2.6.27.46

2010-03-30debug/gdb: update version to 7.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 30 Mar 2010 21:22:23 +0200] rev 1874
debug/gdb: update version to 7.1

2010-03-30complibs: update versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 30 Mar 2010 22:31:49 +0200] rev 1873
complibs: update versions

GMP : 4.3.2, 5.0.1*
CLooG/PPL: 0.15.8 0.15.9
libelf : 0.8.13

*: patch series added

2010-03-29scripts/addToolsVersion: fix handling libelf
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 23:37:29 +0200] rev 1872
scripts/addToolsVersion: fix handling libelf

libelf has moved to the companion libraries section,
and is no longer in the tools section.

2010-03-30libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPU
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 30 Mar 2010 22:30:41 +0200] rev 1871
libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPU

As discussed there: http://sourceware.org/bugzilla/show_bug.cgi?id=9678#c4

Reported by: Sasha Sirotkin <buildroot@browserseal.com>

2010-03-29config: fix style issues when source-ing files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 20:24:50 +0200] rev 1870
config: fix style issues when source-ing files

Always enclose the sourced file between double-quotes (purely for
consistency; enclosing or not are both allowed by the kconfig language).

2010-03-29config: move backend-related options to their own file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 20:15:25 +0200] rev 1869
config: move backend-related options to their own file

2010-03-29config: hide arch and kernel selection when used as a backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 12:06:58 +0200] rev 1868
config: hide arch and kernel selection when used as a backend

When used as a backend, it is the responsibility of the upper-layer build
system to set the target architecture and kernel.

2010-03-29config: hide options to debug crosstool-NG when a backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 10:03:29 +0200] rev 1867
config: hide options to debug crosstool-NG when a backend

When used as a backend, it does not make sense to debug crosstool-NG,
so hide the option.

2010-03-29config: hide more config options when a backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 10:05:21 +0200] rev 1866
config: hide more config options when a backend

Hide the prompts for some behavioral options, for which the upper-layer build
system is responsible for:
- parallel jobs and maximum load
- use pipes
- use custom shell

2010-03-29config: hide paths when used as a backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 12:04:27 +0200] rev 1865
config: hide paths when used as a backend

When crosstool-NG is used as a backend, it is the responsibility of the
upper-layer build-system to properly set paths, so we just hide the
prompts in this case.

2010-03-29scripts/populate: optimise search loop
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Mar 2010 00:15:32 +0200] rev 1864
scripts/populate: optimise search loop

Curently, populate will iterate over all ELF (shared objects|executables)
to look for missing NEEDED DSOs, adding to the list at every iterations
of the search loop.

Instead of looking again at previously handled ELF files, recursively
resolve every ELf files.

Also, in case there are a whole lot of files (more than the shell can
accept as arguments list, or creating a command line longer than the
shell can cope with), use a temporary file with the list of files
to search for missing dependencies.

2010-03-28scripts/populate: cleanups and misc fixes
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 28 Mar 2010 23:01:19 +0200] rev 1863
scripts/populate: cleanups and misc fixes

- it's a POSIX compliant shell script: drop bash, use /bin/sh
- fix help text
- use an absolute path for sysroot
- replace "echo" with "printf"
- replace "stat -c '%i'" with "ls -1id"
- replace "pushd / popd" with "cd / cd -"
- remove superfluous break
- bail out if required lib not found, except if forced

2010-03-26scripts/populate: fix handling the forced libraries list-file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Mar 2010 23:17:23 +0100] rev 1862
scripts/populate: fix handling the forced libraries list-file

If a list-file is used, then each library in the file will be handled
twice (not a real issue, as the second iteration will find the library
already present, just avoid doing the job twice).

2010-03-25scripts/populate: properly locate the sysroot and required tools
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 25 Mar 2010 22:42:00 +0100] rev 1861
scripts/populate: properly locate the sysroot and required tools

This fixes two problems:
- the sysroot might be in a sub-directory (think SYSROOT_DIR_PREFIX)
- it is not needed to have the target tuple to properly detect the sysroot
and the required tools

As a side effect, this script is now no longer dependent on the target
tuple, and in the future, we might be able to share it across many
toolchains (when/if we can install all of them in the same place).

2010-03-24scripts/populate: add -m option, to merge source and dest
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Mar 2010 22:36:51 +0100] rev 1860
scripts/populate: add -m option, to merge source and dest

Merge the source rootfs into the (pre-existing) destination rootfs,
and populate the result accordingly.

2010-03-23scripts/populate: add option to use an alternate sysroot
Nate Case <ncase@xes-inc.com> [Tue, 23 Mar 2010 19:27:41 +0100] rev 1859
scripts/populate: add option to use an alternate sysroot

Add a new command line option, "-r", which allows the user to specify
an alternate sysroot location to copy libraries from. This is useful
when using the toolchain in combination with a separate root filesystem,
or when working with multiple different root filesystems.

Signed-off-by: Nate Case <ncase@xes-inc.com>

2010-03-24binutils/sstrip: fix when sstrip is disabled
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Mar 2010 22:21:52 +0100] rev 1858
binutils/sstrip: fix when sstrip is disabled

2010-03-20cc/gcc: fix building for powerpc for the 4.4.x series
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 20 Mar 2010 18:42:34 +0100] rev 1857
cc/gcc: fix building for powerpc for the 4.4.x series

Reported by: Thomas Petazzoni
http://sourceware.org/ml/crossgcc/2010-03/msg00057.html

Discussions:
http://lists.uclibc.org/pipermail/uclibc/2010-March/043697.html
http://lists.uclibc.org/pipermail/buildroot/2010-March/032790.html
http://ibot.rikers.org/%23uclibc/20100316.html.gz
(search for "copysignl", by kos_tom, blindvt and y_morin)

2010-03-17binutils/sstrip: get rid of ELFkickers
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Mar 2010 00:28:14 +0100] rev 1856
binutils/sstrip: get rid of ELFkickers

ELFkickers are looong dead and unmaintained, and the sstrip
from buildroot is working fine *and* is maintained.

2010-03-17binutils/sstrip: depends on ELF
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Mar 2010 00:24:25 +0100] rev 1855
binutils/sstrip: depends on ELF

No point building sstrip is the target is not ELF.

2010-03-17tools: move sstrip to the binary utilities menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Mar 2010 00:21:57 +0100] rev 1854
tools: move sstrip to the binary utilities menu

sstrip is now alone in its 'tools' menu, and we will probably never gain
any other 'tool'. Besides, sstrip is just strip, but a little bit more
agressive, so it deserves going to the 'binary utilities' menu.

2010-03-15debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdb
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 15 Mar 2010 22:02:02 +0100] rev 1853
debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdb

2010-03-20debug/gdb: add handling of 7_0_or_later
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 20 Mar 2010 18:49:15 +0100] rev 1852
debug/gdb: add handling of 7_0_or_later

We'll need to differentiate gdb 7.0 or later, from gdb prior to 7.0

2010-03-15debug/gdb: add option to use GMP and MPFR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 15 Mar 2010 21:51:20 +0100] rev 1851
debug/gdb: add option to use GMP and MPFR

GMP and MPFR are optional for gdb, so offer a config option.

2010-03-15debug/gdb: can't build a static native gdb if using GMP/MPFR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 15 Mar 2010 21:44:20 +0100] rev 1850
debug/gdb: can't build a static native gdb if using GMP/MPFR

It is currently impossible to reliably build static GMP/MPFR libs,
so we can't build a static native gdb using them, obviously.

2010-03-15debug/gdb: split menuconfig for easier maintenance
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 15 Mar 2010 21:42:55 +0100] rev 1849
debug/gdb: split menuconfig for easier maintenance

2010-03-05cc/gcc: fix use of companion libraries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 18:55:25 +0100] rev 1848
cc/gcc: fix use of companion libraries

2010-03-05complibs: hide prompts
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 18:22:53 +0100] rev 1847
complibs: hide prompts

2010-03-19scripts: fix dumping the config for companion libraries for target
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 19 Mar 2010 18:46:57 +0100] rev 1846
scripts: fix dumping the config for companion libraries for target

Companion libraries can be disable for the host, but still used for
the target (eg. binutils or gdb). Dump the version also in this case.

2010-03-17scripts: fix dumping config
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Mar 2010 23:59:17 +0100] rev 1845
scripts: fix dumping config

libelf has been moved to being a companion library, now.

2010-03-05config: hide entries when in backend mode
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 18:19:25 +0100] rev 1844
config: hide entries when in backend mode

This implies hidding entries for:
- binutils libraries
- dmalloc
- duma
- native gdb
- ltrace
- strace
- sstrip

2010-03-05kconfig: silence a warning about undefined env variable
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 09:43:00 +0100] rev 1843
kconfig: silence a warning about undefined env variable

When using an environment variable to set a config entry,
don'twarn if it is not defined. Update doc accordingly.

2010-03-05config: prepare for build-system backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 09:19:56 +0100] rev 1842
config: prepare for build-system backend

When acting as a backend for a build-system, we should not build
any application that runs on the target, that is:
- no native gdb
- no companion libraries
- no binutils libraries
- no debug tools (save for gdbserver)
- ...

Here, we simply prepare the (hidden) config option that will detect
that we are acting as a back-end.

Update doc accordingly.

2010-03-19samples: fix samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 19 Mar 2010 19:02:30 +0100] rev 1841
samples: fix samples

2010-03-17kernel/linux: add latest versions 2.6.32.10 and 2.6.33.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Mar 2010 19:58:08 +0100] rev 1840
kernel/linux: add latest versions 2.6.32.10 and 2.6.33.1

2010-03-16debug/gdb: fix building the native tic
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 16 Mar 2010 23:10:46 +0100] rev 1839
debug/gdb: fix building the native tic

The native 'tic' will _always_ be run on the build
machine, so no need to handle canadian/native/...

Reported by: Trevor Woerner
http://sourceware.org/ml/crossgcc/2010-03/msg00055.html
(transplanted from 26e89d367ea11660fd3a0bf0bcad8763e4fa21cf)

2010-03-16debug/gdb: fix building the native tic 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 16 Mar 2010 23:10:46 +0100] rev 1838
debug/gdb: fix building the native tic

The native 'tic' will _always_ be run on the build
machine, so no need to handle canadian/native/...

Reported by: Trevor Woerner
http://sourceware.org/ml/crossgcc/2010-03/msg00055.html

2010-03-14scripts: fix the release script to use the C locale
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 14 Mar 2010 16:39:11 +0100] rev 1837
scripts: fix the release script to use the C locale

Force use of the C locale to ensure messages are recognised by the script.

2010-03-141.6: update version to 1.6.1+hg 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 14 Mar 2010 15:42:25 +0100] rev 1836
1.6: update version to 1.6.1+hg

2010-03-14Tagging release 1.6.1 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 14 Mar 2010 15:42:25 +0100] rev 1835
Tagging release 1.6.1

2010-03-141.6: update version to 1.6.1 1.6 crosstool-ng-1.6.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 14 Mar 2010 15:42:25 +0100] rev 1834
1.6: update version to 1.6.1

2010-03-14scripts: enhance and fix the release script
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 14 Mar 2010 12:12:10 +0100] rev 1833
scripts: enhance and fix the release script

2010-03-11samples: update and fix 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 11 Mar 2010 18:22:28 +0100] rev 1832
samples: update and fix

2010-03-05scripts: fix completion to show samples 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 09:00:07 +0100] rev 1831
scripts: fix completion to show samples
(transplanted from bf1f86bdd79fd20126d20795f425f603a5544952)

2010-03-10Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 10 Mar 2010 22:59:00 +0100] rev 1830
Merge.

2010-03-05scripts: fix completion to show samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 05 Mar 2010 09:00:07 +0100] rev 1829
scripts: fix completion to show samples

2010-03-09libc/glibc: add patch to fix binutils version check 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 09 Mar 2010 13:20:34 +0100] rev 1828
libc/glibc: add patch to fix binutils version check

Older glibces were not ready to handle binutils >=2.20.
Fix that, and the forseeable future.
(transplanted from 9804e6b75fd31894ee176809f108d41a5b0cbf8b)

2010-03-09libc/glibc: add patch to fix binutils version check
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 09 Mar 2010 13:20:34 +0100] rev 1827
libc/glibc: add patch to fix binutils version check

Older glibces were not ready to handle binutils >=2.20.
Fix that, and the forseeable future.

2010-03-07debug/ltrace: properly fix building for powerpc 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 07 Mar 2010 12:30:01 +0100] rev 1826
debug/ltrace: properly fix building for powerpc

ltrace uses ppc, whereas crosstool-NG use powerpc.
Fix that by passing the correct value to HOST when calling configure.
(transplanted from 57c71b197ee6ee6f0d551c4f9001f1d06ad2bd8a)

2010-03-06debug/ltrace: fix building on x86 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 06 Mar 2010 16:05:20 +0100] rev 1825
debug/ltrace: fix building on x86

ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases.
Fix that by detecting what bitness we're building for, and pass appropriate
i386 or x86_64 to ltrace's configure.
(transplanted from 55adc838cd68d3692e5eeeb38afb3d619b8b0c1a)

2010-02-03scripts/samples: use the computed '$(sed)', not 'sed' 1.6
"Titus von Boxberg" <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1824
scripts/samples: use the computed '$(sed)', not 'sed'
(transplanted from 26974c3670fdb7f6896b196e08724f91f1a13059)

2010-02-07scripts/showsamples: fix non-POSIX construct 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 07 Feb 2010 17:17:52 +0100] rev 1823
scripts/showsamples: fix non-POSIX construct
(transplanted from da584d1d6ab803c0a2f7a9b53912426b69a8d322)

2010-03-07scripts: add script to make a release
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 07 Mar 2010 13:17:27 +0100] rev 1822
scripts: add script to make a release

2010-03-07debug/ltrace: properly fix building for powerpc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 07 Mar 2010 12:30:01 +0100] rev 1821
debug/ltrace: properly fix building for powerpc

ltrace uses ppc, whereas crosstool-NG use powerpc.
Fix that by passing the correct value to HOST when calling configure.

2010-03-06debug/ltrace: fix building on x86
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 06 Mar 2010 16:05:20 +0100] rev 1820
debug/ltrace: fix building on x86

ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases.
Fix that by detecting what bitness we're building for, and pass appropriate
i386 or x86_64 to ltrace's configure.

2010-02-28libc/uClibc: vampirise patches for 0.9.30.2 from builroot
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 28 Feb 2010 11:50:15 +0100] rev 1819
libc/uClibc: vampirise patches for 0.9.30.2 from builroot

Commit in upstream buildroot:
http://git.buildroot.org/buildroot/commit/?id=43ffd946ad569f3a1d0662de221cd4cb65bdc8e6
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)

2010-02-28kernel/linux: add latest 2.6.32.9 and 2.6.33, remove old 2.6.32.x
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 28 Feb 2010 11:34:54 +0100] rev 1818
kernel/linux: add latest 2.6.32.9 and 2.6.33, remove old 2.6.32.x

2010-02-28complibs: remove headers after build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 28 Feb 2010 10:19:13 +0100] rev 1817
complibs: remove headers after build

After the toolchain is built, we do no longer need the headers.
Reported-by: Enrico Weigelt <weigelt@metux.de>

2010-02-21binutils/binutils: add patch to default emulation for mips64
Zhuang Yuyao <mlistz@gmail.com> [Sun, 21 Feb 2010 15:53:39 +0100] rev 1816
binutils/binutils: add patch to default emulation for mips64

2010-02-20arch: add mips64
Zhuang Yuyao <mlistz@gmail.com> [Sat, 20 Feb 2010 07:35:02 +0100] rev 1815
arch: add mips64

This adds initial mips64 config option and build script.

2010-02-03scripts: use more portable sed options
"Titus von Boxberg" <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1814
scripts: use more portable sed options

No need for extended regular expressions here.

2010-02-03scripts/samples: use the computed '$(sed)', not 'sed'
"Titus von Boxberg" <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1813
scripts/samples: use the computed '$(sed)', not 'sed'

2010-02-18samples: fix this MIPS eglibc-based sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 18 Feb 2010 19:29:06 +0100] rev 1812
samples: fix this MIPS eglibc-based sample

Specify the SVN revision to use for the eglibc snapshot instead of HEAD,
as some patches made their way upstream in the meantime.

2010-02-17comp-libs: make libelf a companion library
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Feb 2010 23:41:17 +0100] rev 1811
comp-libs: make libelf a companion library

When gcc-4.5 is out, it will require libelf. So better make it a
companion library now rather than postponing the ineluctable.

2010-02-17complibs: hide companion libraries for target entry
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Feb 2010 23:50:49 +0100] rev 1810
complibs: hide companion libraries for target entry

The companion libraries on the target are required only for internal use by
binutils and gdb. The user should not have to know about this, so hide the
option.

2010-02-18complibs: simplify config file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 18 Feb 2010 20:43:31 +0100] rev 1809
complibs: simplify config file

Although currently the wrapper is directly dependent on
companion libraries, let's still decorelate those two.

2010-02-17complibs: split-up selection for individual libs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Feb 2010 23:47:47 +0100] rev 1808
complibs: split-up selection for individual libs

2010-02-09binutils/binutils: fix using GMP and MPFR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 09 Feb 2010 22:50:53 +0100] rev 1807
binutils/binutils: fix using GMP and MPFR

2010-02-18scripts: fix dumping 'other environment'
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 18 Feb 2010 00:04:48 +0100] rev 1806
scripts: fix dumping 'other environment'

Do not sort the environment, it cripples the output.

2010-02-04cc/gcc: simplify the _or_later stuff
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 04 Feb 2010 15:18:46 +0100] rev 1805
cc/gcc: simplify the _or_later stuff

2010-02-07scripts/showsamples: fix non-POSIX construct
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 07 Feb 2010 17:17:52 +0100] rev 1804
scripts/showsamples: fix non-POSIX construct

2010-02-11scripts: add action to extract config from a build.log file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 11 Feb 2010 21:28:10 +0100] rev 1803
scripts: add action to extract config from a build.log file

That got removed quite some time ago, but is really usefull to get the
configuration from a build.log file of a failing build.

2010-02-11kernel/linux: add latest 2.6.32.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 11 Feb 2010 19:21:56 +0100] rev 1802
kernel/linux: add latest 2.6.32.8

2010-02-04config: re-order the log entries inthe menuconfig
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 04 Feb 2010 00:11:56 +0100] rev 1801
config: re-order the log entries inthe menuconfig

2010-02-03scripts: also dump the rest of the environment
Titus von Boxberg <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1800
scripts: also dump the rest of the environment

2010-02-03scripts: use kernel name (uname -s) when system name (uname -o) is not availabe
Titus von Boxberg <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1799
scripts: use kernel name (uname -s) when system name (uname -o) is not availabe

'uname -o' is a GNU extension.

2010-02-03scripts/functions: fix date munging when ns are not available
Titus von Boxberg <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1798
scripts/functions: fix date munging when ns are not available

On some systems (eg. *BSD and Darwin), date does not support nanoseconds
(%N) precision. Instead of printing '%N' in this case, it just prints 'N'.
Fix the sed expression to handle this case.

2010-02-03comp-libs/mpfr: fix build on Darwin
Titus von Boxberg <tvb377@gmx.de> [Wed, 03 Feb 2010 00:24:24 +0100] rev 1797
comp-libs/mpfr: fix build on Darwin

2010-02-01libc/eglibc: Add option to optimize for size
Richard Strand <richard.strand@icomera.com> [Mon, 01 Feb 2010 12:56:28 +0000] rev 1796
libc/eglibc: Add option to optimize for size

Add an option to eglibc to optimize for size using -Os.

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

2010-01-311.6: bump version to 1.6.0+hg 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 23:29:37 +0100] rev 1795
1.6: bump version to 1.6.0+hg

2010-01-31Tagging release 1.6.0 1.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 23:18:30 +0100] rev 1794
Tagging release 1.6.0

2010-01-311.6: create maintenance branch, update version to 1.6.0 1.6 crosstool-ng-1.6.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 23:14:54 +0100] rev 1793
1.6: create maintenance branch, update version to 1.6.0

2010-01-311.5: close maintenance branch 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 23:14:02 +0100] rev 1792
1.5: close maintenance branch

2010-01-31samples: update samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 23:04:35 +0100] rev 1791
samples: update samples

Update to the latest set of config options (no config change).
Remove OABI ARM samples.

2010-01-31kernel/linux: add latest versions, remove old dot-releases
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 17:07:02 +0100] rev 1790
kernel/linux: add latest versions, remove old dot-releases

2010-01-31scripts: dump the current tuple with show-config
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 20:10:14 +0100] rev 1789
scripts: dump the current tuple with show-config

2010-01-31scripts: add action to dump current configuration in humane-readable form
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 15:57:22 +0100] rev 1788
scripts: add action to dump current configuration in humane-readable form

2010-01-31libc/uClibc: remove EXPERIMENTAL for 0.9.30.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:47:37 +0100] rev 1787
libc/uClibc: remove EXPERIMENTAL for 0.9.30.2

2010-01-31debiug/ltrace: remove EXPERIMENTAL for 0.5.3, remove 0.5.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:43:23 +0100] rev 1786
debiug/ltrace: remove EXPERIMENTAL for 0.5.3, remove 0.5.1

2010-01-31debug/strace: remove EXPERIMENTAL for 4.5.19
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:41:39 +0100] rev 1785
debug/strace: remove EXPERIMENTAL for 4.5.19

2010-01-31comp-libs/mpfr: remove EXPERIMENTAL for 2.4.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:28:52 +0100] rev 1784
comp-libs/mpfr: remove EXPERIMENTAL for 2.4.2

2010-01-31comp-libs/mpc: remove EXPERIMENTAL for 0.8.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:27:55 +0100] rev 1783
comp-libs/mpc: remove EXPERIMENTAL for 0.8.1

2010-01-31arch/sh: remove EXPERIMENTAL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:24:58 +0100] rev 1782
arch/sh: remove EXPERIMENTAL

2010-01-31arch/avr32: remove EXPERIMENTAL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:24:05 +0100] rev 1781
arch/avr32: remove EXPERIMENTAL

2010-01-31libc/newlib: remove EXPERIMENTAL status
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:50:22 +0100] rev 1780
libc/newlib: remove EXPERIMENTAL status

Although this have been only slightly tested, no one has really complained,
and it seems to be working fine so far (on AVR32 at least).

2010-01-31cc/gcc: remove 4.3.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:43:49 +0100] rev 1779
cc/gcc: remove 4.3.0

gcc-4.3.0 never got !EXPERIMENTAL, and no one either confirmed nor complained.

2010-01-31cc/gcc: remove EXPERIMENTAL for gcc-4.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:22:54 +0100] rev 1778
cc/gcc: remove EXPERIMENTAL for gcc-4.4

2010-01-31config: rename mirror prompt, update help entry
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:39:42 +0100] rev 1777
config: rename mirror prompt, update help entry

The mirror is not necessarily on the /LAN/.

2010-01-31config: remove never used/implemented 'ls-lR'
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:36:50 +0100] rev 1776
config: remove never used/implemented 'ls-lR'

Use of listing (ls-lR) was never implemented, and never used.

2010-01-311.1: close spurious branch crosstool-ng-1.1.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:15:57 +0100] rev 1775
1.1: close spurious branch

2010-01-31avr32: close devel branch (merged) avr32
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:13:42 +0100] rev 1774
avr32: close devel branch (merged)

2010-01-31canadian: close devel branch (merged) canadian
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:12:55 +0100] rev 1773
canadian: close devel branch (merged)

2010-01-31bash_array: close devel branch (merged) bash_array
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:11:14 +0100] rev 1772
bash_array: close devel branch (merged)

2010-01-31gcc-4.4: close devel branch (merged) gcc-4.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:10:16 +0100] rev 1771
gcc-4.4: close devel branch (merged)

2010-01-31newlib: close the obsolete devel branch newlib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:09:01 +0100] rev 1770
newlib: close the obsolete devel branch

newlib has been integrated through the AVR32 stuff, and the newlib branch
has been bit-rotting in the meantime.

2010-01-311.4: close branch 1.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:04:43 +0100] rev 1769
1.4: close branch

2010-01-311.3: close branch 1.3
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:04:34 +0100] rev 1768
1.3: close branch

2010-01-311.2: close branch 1.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:03:57 +0100] rev 1767
1.2: close branch

2010-01-311.1: close branch 1.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 13:03:24 +0100] rev 1766
1.1: close branch

2010-01-31scripts: Do not create backup files when patching
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Jan 2010 12:07:44 +0100] rev 1765
scripts: Do not create backup files when patching

Some patches may apply with offset and/or fuzz, and would leave .orig files.

2010-01-30libc/glibc: fix retrieving version string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 30 Jan 2010 16:19:50 +0100] rev 1764
libc/glibc: fix retrieving version string

2010-01-14scripts/functions: add git wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 14 Jan 2010 20:54:47 +0100] rev 1763
scripts/functions: add git wrapper

Add a git wrapper to retrieve components from their git tree.
Add a git wrapper to create a working copy (in our tarballs dir).
Recognise git trees when searching for local copies.

2010-01-12libc/glibc: get the version string from version.h
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 12 Jan 2010 19:37:18 +0100] rev 1762
libc/glibc: get the version string from version.h

We can not rely on the user-provided version string (be it via the
choice, or manually entered), so fallback to reading version.h,
which is both reliable and always present.

2010-01-12scripts/functions: change handling of nochdir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 12 Jan 2010 19:24:03 +0100] rev 1761
scripts/functions: change handling of nochdir

- 'nochdir' must be the first option
- have systematic pushd/popd, even if nochdir

2009-12-13libc/glibc: move some options around
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Dec 2009 22:53:36 +0100] rev 1760
libc/glibc: move some options around

2010-01-11libc/glibc: get rid of the now obsolete CVS stuff
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 11 Jan 2010 22:47:58 +0100] rev 1759
libc/glibc: get rid of the now obsolete CVS stuff

It's now been a while that glibc switched to git from cvs.
Get rid of cvs to download glibc; this will make for a good
cleanup before we add git support! :-)

2010-01-30libc/glibc: add 2.11 and 2.11.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 30 Jan 2010 11:43:12 +0100] rev 1758
libc/glibc: add 2.11 and 2.11.1

2010-01-29Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 29 Jan 2010 23:46:43 +0100] rev 1757
Merge.

2010-01-29kernel/linux: remove legacy check
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 29 Jan 2010 22:55:35 +0100] rev 1756
kernel/linux: remove legacy check

Now, we only support building with Linux >=2.6.27.
Get rid of the code that depended on <2.6.18.

2010-01-29binutils/elf2flt: activate elf2flt build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 29 Jan 2010 22:43:28 +0100] rev 1755
binutils/elf2flt: activate elf2flt build

The code has been lying around inactivated for some time.
Let's enable it at last, and see if any one needs it.

2010-01-29arch: add basic m68k support
Remy Bohmer <linux@bohmer.net> [Fri, 29 Jan 2010 23:23:59 +0100] rev 1754
arch: add basic m68k support

Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciens.enib.fr: use defaults for CT_TARGET_ARCH]
Signed-off-by: "Yann E. MORIN <yann.morin.1998@anciens.enib.fr>

2010-01-29global: do not offer the renice option, let's the user handle that
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 29 Jan 2010 23:14:53 +0100] rev 1753
global: do not offer the renice option, let's the user handle that

It's broken anyway. Eg.:
- user is already niced at 10
- user configures to renice at 5
- breaks because user is not allowed to 'boost' his/her nice value

Bette let the user handle the renice with:
nice -XX ct-ng 'action'

2010-01-24cc/gcc: add latest 4.4.3, propagate patchset from 4.4.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jan 2010 22:53:51 +0100] rev 1752
cc/gcc: add latest 4.4.3, propagate patchset from 4.4.2

2010-01-23Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 22:15:17 +0100] rev 1751
Merge.

2010-01-23libc/uClibc: fix the breakage for x86 and Super-H, after the 32/64 merge
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 22:06:11 +0100] rev 1750
libc/uClibc: fix the breakage for x86 and Super-H, after the 32/64 merge

2010-01-23scripts/functions: do not compute CT_KERNEL_ARCH, it's obsolete
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 19:02:46 +0100] rev 1749
scripts/functions: do not compute CT_KERNEL_ARCH, it's obsolete

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.

2010-01-23libc/uclibc: use CT_ARCH, in place of CT_KERNEL_ARCH
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 18:41:59 +0100] rev 1748
libc/uclibc: use CT_ARCH, in place of CT_KERNEL_ARCH

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.

2010-01-23libc/glibc: use CT_ARCH, in place of CT_KERNEL_ARCH
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 18:40:38 +0100] rev 1747
libc/glibc: use CT_ARCH, in place of CT_KERNEL_ARCH

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.

2010-01-23kernel/linux: use CT_ARCH, in place of CT_KERNEL_ARCH
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 18:39:28 +0100] rev 1746
kernel/linux: use CT_ARCH, in place of CT_KERNEL_ARCH

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.

2010-01-23docs: do not document CT_KERNEL_ARCH, it's going away...
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Jan 2010 16:49:56 +0100] rev 1745
docs: do not document CT_KERNEL_ARCH, it's going away...

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.

2010-01-21debug/gdb: fix the space-damage
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 21 Jan 2010 22:45:09 +0100] rev 1744
debug/gdb: fix the space-damage

2010-01-21debug/gdb: do not expose the ncurses version in the menuconfig
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 21 Jan 2010 22:33:54 +0100] rev 1743
debug/gdb: do not expose the ncurses version in the menuconfig

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

2010-01-16scripts/functions: inverse log level ALL and DEBUG
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 16 Jan 2010 17:52:44 +0100] rev 1741
scripts/functions: inverse log level ALL and DEBUG

2010-01-17configure: do not require hg when configuring in an hg clone
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jan 2010 23:06:02 +0100] rev 1740
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.

2010-01-17configure: silently ignore auto-stuff options --build --host and friends
blueness@yellowness.dis [Sun, 17 Jan 2010 11:57:53 -0500] rev 1739
configure: silently ignore auto-stuff options --build --host and friends

2010-01-15libc/uClibc: rename patches for 0.9.30.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 15 Jan 2010 22:21:12 +0100] rev 1738
libc/uClibc: rename patches for 0.9.30.2

2010-01-14Port uClibc patches to 0.9.30.2
Joachim Nilsson <jocke@vmlinux.org> [Thu, 14 Jan 2010 23:06:48 +0100] rev 1737
Port uClibc patches to 0.9.30.2

Some patches from 0.9.30.1 now applied upstream. The reminder have
been only slightly modified to apply cleanly to the new base.

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

2010-01-14samples: update armeb-unknown-linux-uclibcgnueabi: use uClibc-0.9.30.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 14 Jan 2010 19:09:27 +0100] rev 1736
samples: update armeb-unknown-linux-uclibcgnueabi: use uClibc-0.9.30.2

2010-01-14libc/uClibc: add latest version 0.9.30.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 14 Jan 2010 18:45:08 +0100] rev 1735
libc/uClibc: add latest version 0.9.30.2

2010-01-14scripts/addToolVersion: add uClibc hooks
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 14 Jan 2010 18:44:13 +0100] rev 1734
scripts/addToolVersion: add uClibc hooks

2010-01-13debug/gdb: install ncurses in a temporary place
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 13 Jan 2010 22:30:10 +0100] rev 1733
debug/gdb: install ncurses in a temporary place

We only build the static ncurses, to be used to build the native gdb,
and it needs not be available for anyone but us. So install it into
a temporary place, and get rid of it once gdb is built.

2010-01-13debug/gdb: staticaly link to ncurses for the native gdb
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 13 Jan 2010 20:46:01 +0100] rev 1732
debug/gdb: staticaly link to ncurses for the native gdb

Staticaly link the native gdb (the one that runs on the target,
not the cross one that runs on the host) to ncurses.

2010-01-13docs/TODO: remove finished items, update descriptions for remaining items
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 13 Jan 2010 19:27:12 +0100] rev 1731
docs/TODO: remove finished items, update descriptions for remaining items

2010-01-12companion_tools/libtool: Add libtool tool
Richard Strand <richard.strand@icomera.com> [Tue, 12 Jan 2010 21:47:57 +0000] rev 1730
companion_tools/libtool: Add libtool tool

Add version 2.2.6b of libtool as a companion tool

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

2010-01-12companion_tools/automake: Add automake tool
Richard Strand <richard.strand@icomera.com> [Tue, 12 Jan 2010 21:47:36 +0000] rev 1729
companion_tools/automake: Add automake tool

Add version 1.11.1 of automake as a companion tool

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

2010-01-12companion_tools/m4: Add m4 tool
Richard Strand <richard.strand@icomera.com> [Tue, 12 Jan 2010 21:47:14 +0000] rev 1728
companion_tools/m4: Add m4 tool

Add version 1.4.13 of m4 as a companion tool

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

2010-01-12companion_tools/autoconf: add autoconf tool
Richard Strand <richard.strand@icomera.com> [Tue, 12 Jan 2010 21:09:30 +0100] rev 1727
companion_tools/autoconf: add autoconf tool

Initial version of adding autoconf as a companion tool.

Signed-off-by: Richard Strand <richard.strand@icomera.com>
[yann.morin.1998@anciens.enib.fr: use generic overide tools dir]
[yann.morin.1998@anciens.enib.fr: update menu entries]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-01-12scripts/crosstool-ng: Change overide bin dir
Richard Strand <richard.strand@icomera.com> [Tue, 12 Jan 2010 21:21:39 +0100] rev 1726
scripts/crosstool-ng: Change overide bin dir

Change the overide bin dir so it can be used by companion tools

Signed-off-by: Richard Strand <richard.strand@icomera.com>
[yann.morin.1998@anciens.enib.fr: more generic overide tools dir]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

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

2009-10-28debug/gdb: remove old versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 18:59:09 +0100] rev 1605
debug/gdb: remove old versions

2009-10-27config/binutils: remove obsolete experimental versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Oct 2009 20:06:07 +0100] rev 1604
config/binutils: remove obsolete experimental versions

2009-10-28config: rip-out versions marked as OBSOLETE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 18:55:40 +0100] rev 1603
config: rip-out versions marked as OBSOLETE

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

2009-10-281.5: update to 1.5.0+hg 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:40:13 +0100] rev 1601
1.5: update to 1.5.0+hg

2009-10-28Tagging release 1.5.1 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:39:13 +0100] rev 1600
Tagging release 1.5.1

2009-10-281.5: update version to 1.5.1 1.5 crosstool-ng-1.5.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Oct 2009 19:36:52 +0100] rev 1599
1.5: update version to 1.5.1

2009-10-26arch/arm: add sample for nommu bare-metal Cortex-M3 with newlib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 23:12:29 +0100] rev 1598
arch/arm: add sample for nommu bare-metal Cortex-M3 with newlib

2009-10-26arch/arm: add THUMB interworking support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 23:11:10 +0100] rev 1597
arch/arm: add THUMB interworking support

Add config option to build wtarget code with THUMB interworking.
This is used to build the C library as well as all other code
that runs on the target.

2009-10-26arch/arm: add THUMB mode config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 09:10:38 +0100] rev 1596
arch/arm: add THUMB mode config option

2009-10-21arch/arm: no need to check for the ABI option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 23:20:30 +0200] rev 1595
arch/arm: no need to check for the ABI option

The ABI option can not be set if EABI was selected,
so no need to check for it.

2009-10-21arch/arm: add support for noMMU
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 18:22:05 +0200] rev 1594
arch/arm: add support for noMMU

Some ARM cores do not have an MMU (eg. Cortex-Mx and Cortex-Rx series).
Thus, allow the user to configure out the MMU for ARM.

2009-10-26libc/newlib: allow using CVS snapshots
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 22:00:30 +0100] rev 1593
libc/newlib: allow using CVS snapshots

The newlib "team" rolls new releases about once a year (december).
This is quite a long time between releases, in case code was fixed.
So, allow user to use a CVS snapshot to benefit early from fixes
and enhancements to newlib.

2009-10-26functions: allow using sub-dir of a module
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 19:49:50 +0100] rev 1592
functions: allow using sub-dir of a module

Some projects' module (eg. newlib) are checked-out into a sudirectory
rather than into their own directory. Handle this case in the CT_GetCVS
function.

2009-10-21libc/newlib: allow using newlib with archs other than avr32
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 22:51:39 +0200] rev 1591
libc/newlib: allow using newlib with archs other than avr32

2009-10-26libc/newlib: fix namespace in config file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 18:47:11 +0100] rev 1590
libc/newlib: fix namespace in config file

C library config options should be prefixed with 'LIBC_'.

2009-10-26libc/newlib: cleanup the build and finish steps
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Oct 2009 23:20:33 +0100] rev 1589
libc/newlib: cleanup the build and finish steps

build step:
- ./configure
- remove glibc-specific options
- pass the target CFLAGS in the correct variable
- make:
- build in //

finish step:
- print proper message in finish step

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

2009-10-21debug/dmalloc: fix handling of threading model
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 18:47:16 +0200] rev 1587
debug/dmalloc: fix handling of threading model

2009-10-21config: add help for the MMU/noMMU entry
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 23:45:55 +0200] rev 1586
config: add help for the MMU/noMMU entry

2009-10-21config/libc: move around hidden config options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 19:08:31 +0200] rev 1585
config/libc: move around hidden config options

This yields a cleaner .config file that is easier to read.

2009-10-23scripts/functions: Fix a variable name. 1.5
fr.frasc@gmail.com [Fri, 23 Oct 2009 09:48:22 -0700] rev 1584
scripts/functions: Fix a variable name.
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
(transplanted from 991a59088ff09528896ac64ed4e8a6fba31eae39)

2009-10-23scripts/functions: Fix a variable name.
fr.frasc@gmail.com [Fri, 23 Oct 2009 09:48:22 -0700] rev 1583
scripts/functions: Fix a variable name.
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>

2009-10-21config/arch/arm: default to EABI
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Oct 2009 18:08:31 +0200] rev 1582
config/arch/arm: default to EABI

2009-10-12docs: adding naming conventions for crosstool-NG
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Oct 2009 19:31:50 +0200] rev 1581
docs: adding naming conventions for crosstool-NG

2009-10-12docs: fix chapter spacing
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Oct 2009 19:25:41 +0200] rev 1580
docs: fix chapter spacing

2009-10-12version: update to 1.5.0+hg 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Oct 2009 19:19:54 +0200] rev 1579
version: update to 1.5.0+hg

2009-10-10Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 17:24:36 +0200] rev 1578
Merge.

2009-10-10scripts: replace calls to svn with calls to hg in script to renumber patches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 17:19:51 +0200] rev 1577
scripts: replace calls to svn with calls to hg in script to renumber patches

2009-10-10docs: get rid of any reference to the now long-gone svn repository
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 13:12:28 +0200] rev 1576
docs: get rid of any reference to the now long-gone svn repository

2009-10-10docs: move the "contributing" section to overview.txt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 12:55:17 +0200] rev 1575
docs: move the "contributing" section to overview.txt

2009-10-10docs: configure no longer accepts --with-contrib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 11:24:31 +0200] rev 1574
docs: configure no longer accepts --with-contrib

It's been a while that configure does not recognise --with-contrib.
Applying contibutions is to be done manually, using patch.

2009-10-10configure: force using the C locale to check messages 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:44:12 +0200] rev 1573
configure: force using the C locale to check messages
(transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e)

2009-10-10configure: fix --with-foo=/path/to/foo 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:41:12 +0200] rev 1572
configure: fix --with-foo=/path/to/foo

When a required tool is specified with --with-foo, store the variable
in the list.
(transplanted from 1d43b65599a4b869d83d4db67b9715b1298d74f7)

2009-10-10configure: force using the C locale to check messages
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:44:12 +0200] rev 1571
configure: force using the C locale to check messages

2009-10-10configure: fix --with-foo=/path/to/foo
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 10 Oct 2009 16:41:12 +0200] rev 1570
configure: fix --with-foo=/path/to/foo

When a required tool is specified with --with-foo, store the variable
in the list.

2009-10-09eglibc: add support for user provided option groups
Arnaud Vrac <avrac@freebox.fr> [Fri, 09 Oct 2009 16:22:09 +0200] rev 1569
eglibc: add support for user provided option groups

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>

2009-10-08samples: fix the avr32-unknown-none sample 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 08 Oct 2009 23:29:45 +0200] rev 1568
samples: fix the avr32-unknown-none sample

Bizarely enough, binutils-2.18 fails to build when CONFIG_SHELL is set
to /bin/bash (although it has code to recognise bash and act accordingly).

Waht is really strange is that it does build when CONFIG_SHELL is set
to /bin/sh, *although* /bin/sh is a symlink to /bin/bash. WTF?!?!
(transplanted from 56bba7d4fc8924d276b71134b7f1ef57bed57f52)

2009-10-08samples: fix the avr32-unknown-none sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 08 Oct 2009 23:29:45 +0200] rev 1567
samples: fix the avr32-unknown-none sample

Bizarely enough, binutils-2.18 fails to build when CONFIG_SHELL is set
to /bin/bash (although it has code to recognise bash and act accordingly).

Waht is really strange is that it does build when CONFIG_SHELL is set
to /bin/sh, *although* /bin/sh is a symlink to /bin/bash. WTF?!?!

2009-10-04Tagging release 1.5.0 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 13:08:43 +0200] rev 1566
Tagging release 1.5.0

2009-10-041.5: update version to 1.5.0 1.5 crosstool-ng-1.5.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 13:07:27 +0200] rev 1565
1.5: update version to 1.5.0

2009-10-041.5: create maintenance branch for the 1.5 series 1.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 13:06:50 +0200] rev 1564
1.5: create maintenance branch for the 1.5 series

2009-10-04samples: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 12:53:12 +0200] rev 1563
samples: update

2009-10-04libelf: add libelf-0.8.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 04 Oct 2009 11:25:34 +0200] rev 1562
libelf: add libelf-0.8.12

2009-10-03Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:49:51 +0200] rev 1561
Merge.

2009-10-03configure: split has_or_abort in two: one to check, one to abort
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:49:23 +0200] rev 1560
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).

2009-10-03Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:21:41 +0200] rev 1559
Merge.

2009-10-03libc/glibc: don't use legacy snapshots
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 18:19:39 +0200] rev 1558
libc/glibc: don't use legacy snapshots

glibc snapshots have not been updated for about the
past 5 months. Consider them to be deprecated, now.

2009-10-02libc/glibc: remove dead code
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Oct 2009 00:04:24 +0200] rev 1557
libc/glibc: remove dead code

The option to retrieve snapshots is already handled by
the generic 'specific date' and 'use latest' entries.
No need for a special case, as there's no code for it.

2009-10-03Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 17:34:37 +0200] rev 1556
Merge.

2009-10-03debug/gdb: cleanup (remove) the static ncurses build
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 17:09:18 +0200] rev 1555
debug/gdb: cleanup (remove) the static ncurses build

ncurses is built solely for the sake of building a native gdb.
The user should not rely on this library to build his/her userland,
but should rather build his/her own. So we remove it from the
sysroot after we successfully build the native gdb.

2009-10-03doc: update documentation, mostly eye-candy
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 17:23:17 +0200] rev 1554
doc: update documentation, mostly eye-candy

2009-10-03sample: update the i686-nptl-linux-gnu sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 03 Oct 2009 16:53:05 +0200] rev 1553
sample: update the i686-nptl-linux-gnu sample

Update this sample, now it seems to correctly build again.

2009-10-02libc/eglibc: fix building for seemingly native toolchains
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Oct 2009 22:10:17 +0200] rev 1552
libc/eglibc: fix building for seemingly native toolchains

Build eglibc with -O2 as a fix/workaround to building
seemingly-native toolchains (see docs/overview.txt).

See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-10/msg00001.html

2009-10-02libc/glibc: fix building for seemingly native toolchains
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Oct 2009 22:10:38 +0200] rev 1551
libc/glibc: fix building for seemingly native toolchains

Build glibc with -O2 as a fix/workaround to building
seemingly-native toolchains.

See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-09/msg00055.html

2009-10-01samples: upgrade some samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Oct 2009 22:14:45 +0200] rev 1550
samples: upgrade some samples

Upgrading all samples is too much a hassle.
Stick with those few for now.

2009-09-13samples: remove arm-beagle-linux-gnueabi
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 19:51:26 +0200] rev 1549
samples: remove arm-beagle-linux-gnueabi

Use the generic arm-cortex_a8-linux-gnueabi sample instead.

2009-10-01Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 01 Oct 2009 22:12:18 +0200] rev 1548
Merge.

2009-09-27scripts: update config.guess and config.sub
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Sep 2009 12:12:21 +0200] rev 1547
scripts: update config.guess and config.sub

2009-09-27readme: document patch description
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Sep 2009 12:03:48 +0200] rev 1546
readme: document patch description

2009-09-28gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compiler
nyet@mrv.com [Mon, 28 Sep 2009 19:31:19 +0200] rev 1545
gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compiler

2009-09-27gcc: forward port gcc-4.4.0 patchset to 4.4.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Sep 2009 11:35:43 +0200] rev 1544
gcc: forward port gcc-4.4.0 patchset to 4.4.1

2009-09-26kernel/linux: update versions.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 26 Sep 2009 12:46:41 +0200] rev 1543
kernel/linux: update versions.

2009-09-26Insert an empty line bwetween added new versions.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 26 Sep 2009 12:45:07 +0200] rev 1542
Insert an empty line bwetween added new versions.

2009-09-14debug/ltrace: fix build with /exotic/ linux-host OS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Sep 2009 18:58:55 +0200] rev 1541
debug/ltrace: fix build with /exotic/ linux-host OS

For ARM EABI hosts (ct-ng's target), the tupple ends in 'gnueabi'
For uClibc-based toolchains, the tuple ends in '-uclibc.*'
Make ltrace recognise those tuples as being the same as 'linux-gnu'

2009-09-13Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 18:59:36 +0200] rev 1540
Merge.

2009-09-13samples: correclty fix saving samples with a C library config file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 17:14:28 +0200] rev 1539
samples: correclty fix saving samples with a C library config file

2009-09-13samples: fix uClibc config file location
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 17:14:03 +0200] rev 1538
samples: fix uClibc config file location

2009-09-13comp-libs/cloog: fix building
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 12:25:33 +0200] rev 1537
comp-libs/cloog: fix building

For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.

2009-09-13config: fix indentation for options marked EXPERIMENTAL or OBSOLETE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 18:44:17 +0200] rev 1536
config: fix indentation for options marked EXPERIMENTAL or OBSOLETE

Change the 2-space separation into a 1-space separation, for the sake
of homogeneity.

2009-09-13scripts: add new version at top of choice
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 18:38:06 +0200] rev 1535
scripts: add new version at top of choice

Add new versions at the top of the choice menu, not at the bottom.

2009-09-13config: re-order menu entries so that latest versions are at the top
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 17:51:33 +0200] rev 1534
config: re-order menu entries so that latest versions are at the top

It makes better sense to have latest versions at the top of the choice
entries.

2009-09-13Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 12:12:05 +0200] rev 1533
Merge.

2009-09-13samples: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Sep 2009 11:49:10 +0200] rev 1532
samples: update

2009-09-12comp-libs/mpc: add latest 0.7 version.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 10:18:36 +0200] rev 1531
comp-libs/mpc: add latest 0.7 version.

2009-09-12comp-libs/cloog: new versions have the version number in the dir name
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 10:16:28 +0200] rev 1530
comp-libs/cloog: new versions have the version number in the dir name

For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.

2009-09-12samples: fix saving samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 00:10:38 +0200] rev 1529
samples: fix saving samples

Use a correct sed pattern when setting CT_PREFIX_DIR

2009-09-12libc/eglibc: fix download
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 00:11:12 +0200] rev 1528
libc/eglibc: fix download

Fix the test to check if download is forced.

2009-09-12Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 11:20:09 +0200] rev 1527
Merge.

2009-09-12kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 12 Sep 2009 11:19:30 +0200] rev 1526
kernel/linux: add latest versions

Add 2.6.27.33 as long-term stable, and 2.6.30.6 and 2.6.31.

2009-09-09gcc: add patch to fix EABI for armv4t
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 09 Sep 2009 00:02:01 +0200] rev 1525
gcc: add patch to fix EABI for armv4t

As pointed out by Martin GUY, gcc incorrectly generates armv5t
instrcutions for EABI, even for cores that are an armv4t.
The new patch (for the 4.3 series) fixes the problem by downgrading
the default CPU for EABI to being an armv4t core.

2009-09-08kconfig: allow stdin/stdout redirection
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 08 Sep 2009 22:42:48 +0200] rev 1524
kconfig: allow stdin/stdout redirection

Allow stdin/stdout redirection for the CLI conf (not mconf).
This allows to recall a sample and automatically apply the defaults
to new configuration option, with something like the following:
yes "" |ct-ng "sample_name"

2009-09-07docs: add a tutorial on how to build a toolchain on Mac OS-X
Blair Burtan <info@northernlightstactical.com> [Mon, 07 Sep 2009 23:12:25 +0200] rev 1523
docs: add a tutorial on how to build a toolchain on Mac OS-X

Add a step-bystep tutorial to build a cross-toolchain on Mac OS-X.

2009-09-07companion libs: add latest CLooG/PPL versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 22:03:06 +0200] rev 1522
companion libs: add latest CLooG/PPL versions

Add the latest 0.15.{4,5,6,7} CLoog/PPL.

2009-09-07samples: show the PPL, GLoog/ppl and MPC versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 19:03:09 +0200] rev 1521
samples: show the PPL, GLoog/ppl and MPC versions

When displaying a sample, do show the PPL, CLoog/ppl and MPC versions

2009-09-07samples: fix displaying selected tools
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 18:55:11 +0200] rev 1520
samples: fix displaying selected tools

Do display selected tools / debug facilities when displaying a sample.

2009-09-07samples: replace usage of echo with printf
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Sep 2009 18:40:30 +0200] rev 1519
samples: replace usage of echo with printf

Using printf instead of echo allows easier and better formatting.

2009-09-06tools wrapper: fix building
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 17:58:05 +0200] rev 1518
tools wrapper: fix building

Remove the build tools only after the wrapper is built.
Use the corect C compiler to build the tools wrapper.
Use the correct log level.

2009-09-06crosstool.sh.in: better mesage when creating script-overrides
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 16:49:54 +0200] rev 1517
crosstool.sh.in: better mesage when creating script-overrides

2009-09-06log functions: fix CT_DoLog and CT_DoExecLog
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 16:49:20 +0200] rev 1516
log functions: fix CT_DoLog and CT_DoExecLog

$@ and $* are different when in double quotes; use $* to print the message.

2009-09-06tools wrapper: move choice selection to a more appropriate place
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 11:47:40 +0200] rev 1515
tools wrapper: move choice selection to a more appropriate place

Move the tools wrapper choice selection down to the companion libraries
sub-menu, to avoid the user going back and forth in the menu.

2009-09-06tools wrapper: fix config dependency
Joachim Nilsson <jocke@vmlinux.org> [Sun, 06 Sep 2009 11:13:28 +0200] rev 1514
tools wrapper: fix config dependency

The tools wrapper is not needed only for canadian crosses, but also
for every other type of toolchain.

2009-09-06docs: typo in overview.txt
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 06 Sep 2009 10:45:31 +0200] rev 1513
docs: typo in overview.txt

2009-09-04TODO: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 04 Sep 2009 17:27:16 +0200] rev 1512
TODO: update

Add TODO list for m4, autoconf, automake and libtool.
Building our own versions would remove burden from the users
who have older versions on their distributions, and are not
ready/able/allowed to upgrade.

2009-09-01config.{gues,sub}: update
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Sep 2009 10:41:44 +0200] rev 1511
config.{gues,sub}: update

2009-08-31config: move the patch choice to the extract section
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 22:55:26 +0200] rev 1510
config: move the patch choice to the extract section

Choosing the origin of the patches to apply is best
done in the 'extract' section.

2009-08-31config: add fallback to patch order
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:47:58 +0200] rev 1509
config: add fallback to patch order

Add the possibility to fallback to either bundled or local patches
if local or bundled are missing.

2009-08-31config: add the local,bundled patch order
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:51:53 +0200] rev 1508
config: add the local,bundled patch order

This ordering first applies the local patches, then the bundeld ones.

2009-08-31config: make selecting the patch origin a choice rather than a bool
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:05:52 +0200] rev 1507
config: make selecting the patch origin a choice rather than a bool

2009-08-31functions: do not over-detect error when patching
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 11:57:13 +0200] rev 1506
functions: do not over-detect error when patching

2009-08-30Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 20:07:39 +0200] rev 1505
Merge.

2009-08-30tools wrapper: fix error due to unused argument
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:58:41 +0200] rev 1504
tools wrapper: fix error due to unused argument

In the C wrapper, the argc argument is not used, causing an error
(as we treat warnings as errors). Use a dummy allocation to get
rid of the warning.

2009-08-30tools wrapper: correctly install the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:54:51 +0200] rev 1503
tools wrapper: correctly install the C wrapper

When building the C wrapper, specify the source file to be compiled.

2009-08-30config: move the "build shared libraries" option to the OS menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:54:30 +0200] rev 1502
config: move the "build shared libraries" option to the OS menu

The "Build shared libraries" config option is dependant on the type of
"Target OS".

Moving this options to the "Target OS" sub-menu is also better in the user
perspective: he/she no longer needs to go back and forth to see if he/she
missed any option.

2009-08-30config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:50:30 +0200] rev 1501
config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS

Now that all kernels that support shared libraries select the correct config
option, we can change the dependency rules of SHARED_LIBS accordingly.

2009-08-30config: Linux kernel selectes shared libraries support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:47:51 +0200] rev 1500
config: Linux kernel selectes shared libraries support

The Linux kernel supports using shared libraries, so prompt the user.

2009-08-30config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:44:59 +0200] rev 1499
config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option

The target OSes will be able to select this option if they support shared
libraries, instead of having "Build shared libaries" depend on each OS.

2009-08-30config: swap the debug and tools sub-menus
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:34:08 +0200] rev 1498
config: swap the debug and tools sub-menus

ltrace, in the debug sub-menu, selects libelf, in the tools sub-menu.
Inverse the order of the two sub-menus, so that the user does not have
to go back and forth between the two sub-menus.

2009-08-30config: move down companion libraries sub-menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:33:48 +0200] rev 1497
config: move down companion libraries sub-menu

Move the companion libraries sub-menu down the main menu.
That way, the user does not need to go back and forth in the menu
to change options set by the different components that select the
companion libraries (binutils, gcc, gdb).

2009-08-30companion-libs: PPL/CLooG/MPC require GMP and MPFR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 01:00:19 +0200] rev 1496
companion-libs: PPL/CLooG/MPC require GMP and MPFR

The PPL, CLoog/ppl and MPC libraries require GMP and MPFR.
Select GMP/MPFR appropriately.

2009-08-30tools wrapper: introduce the silent WRAPPER_NEEDED config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:57:40 +0200] rev 1495
tools wrapper: introduce the silent WRAPPER_NEEDED config option

Add the WRAPPER_NEEDED silent config option, that can be selected by
components that require it (companion libs so far).
Rely on this config option when deciding to install the wrapper,
instead of checking GMP/MPFR or PPL/CLoog/MPC.

2009-08-30Merge the C wrapper.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:35:58 +0200] rev 1494
Merge the C wrapper.

2009-08-30config: choose whether to use the shell or the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:27:12 +0200] rev 1493
config: choose whether to use the shell or the C wrapper

Offer a config choice on whether to isntall the script wrapper, or
the compiled C wrapper. Update docs/overview.txt accordingly.

2009-08-29tool wrapper: add initial wrapper coded in C
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 29 Aug 2009 18:27:47 +0200] rev 1492
tool wrapper: add initial wrapper coded in C

Add an initial wrapper:
- find the realpath of the tool being called
- add the '.' in front of the tool name
- add the '/lib' dir to the base dir of the tool
- set and export LD_LIBRARY_PATH
- execve the real tool

2009-08-30overview: fix table of content, fix the hacker's way
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:30:45 +0200] rev 1491
overview: fix table of content, fix the hacker's way

table of content: add missing entry
the hacker's way: no need to "make install"

2009-08-28README: fix some space alignment
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 28 Aug 2009 12:09:04 +0200] rev 1490
README: fix some space alignment

2009-08-28duma: fix downloading by forcing extension to .tar.gz
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 28 Aug 2009 11:57:29 +0200] rev 1489
duma: fix downloading by forcing extension to .tar.gz

Downoading a non-existing file from sourceforge gives you a "200 OK"
and an index.html. As we try to retrieve a .tar.bz2 first, and duma
is bundled in a .tar.gz, we won't get appropriate content, so
just force the extension to avoid the problem.

Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.

2009-08-28x86_64: is a MMU-aware arch, so select ARCH_USE_MMU
Ingmar Schraub <is@eseco.de> [Fri, 28 Aug 2009 11:34:49 +0200] rev 1488
x86_64: is a MMU-aware arch, so select ARCH_USE_MMU

2009-08-28duma: fix version string.
Ingmar Schraub <is@eseco.de> [Fri, 28 Aug 2009 11:33:56 +0200] rev 1487
duma: fix version string.

DUMA uses '_' not '.' for major/minor/sub separation.

2009-08-24glibc: fix build error caused by incorrect variable assignment
Jim F <jimfriel@gmail.com> [Mon, 24 Aug 2009 19:20:57 +0200] rev 1486
glibc: fix build error caused by incorrect variable assignment

During the conversion to using bash arrays, the glibc build script
was improperly converted, and contains an incorrect variable
assignment to the config_options array.