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)