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