2012-02-09cc/gcc: update Linaro GCC revisions to 2012.02
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 09 Feb 2012 13:09:08 +0100] rev 2880
cc/gcc: update Linaro GCC revisions to 2012.02

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2012-02-09kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 09 Feb 2012 13:00:49 +0100] rev 2879
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2012-02-091.13: re-close the branch 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 09 Feb 2012 21:42:35 +0100] rev 2878
1.13: re-close the branch

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-02-091.13: update version to 1.13.4+hg 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 09 Feb 2012 21:39:32 +0100] rev 2877
1.13: update version to 1.13.4+hg

2012-02-09Tagging release 1.13.4 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 09 Feb 2012 21:39:32 +0100] rev 2876
Tagging release 1.13.4

2012-02-091.13: update version to 1.13.4 1.13 crosstool-ng-1.13.4
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 09 Feb 2012 21:39:31 +0100] rev 2875
1.13: update version to 1.13.4

2012-02-05scripts: fix download from sourceforge 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 Feb 2012 23:26:55 +0100] rev 2874
scripts: fix download from sourceforge

It seems sourceforge changed yet again the way to download files.
This time, no longer use their 'mesh' thingy, and hard-code the
server to use in the URL... Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from ef6dad58ab1cd38946258552a3ee624a6339f54c)

2012-02-081.14: update version to 1.14.1+hg 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 08 Feb 2012 00:44:52 +0100] rev 2873
1.14: update version to 1.14.1+hg

2012-02-08Tagging release 1.14.1 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 08 Feb 2012 00:44:52 +0100] rev 2872
Tagging release 1.14.1

2012-02-081.14: update version to 1.14.1 1.14 crosstool-ng-1.14.1
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 08 Feb 2012 00:44:52 +0100] rev 2871
1.14: update version to 1.14.1

2012-02-08debug/strace: 4.6 requires xz 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 08 Feb 2012 00:28:43 +0100] rev 2870
debug/strace: 4.6 requires xz

strace 4.6 is only available as an XZ-compressed tarball.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from d878322997095e513c6311ec3713b83ca91e5d8c)

2012-02-05scripts: fix download from sourceforge 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 Feb 2012 23:26:55 +0100] rev 2869
scripts: fix download from sourceforge

It seems sourceforge changed yet again the way to download files.
This time, no longer use their 'mesh' thingy, and hard-code the
server to use in the URL... Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from ef6dad58ab1cd38946258552a3ee624a6339f54c)

2012-02-08debug/strace: 4.6 requires xz
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 08 Feb 2012 00:28:43 +0100] rev 2868
debug/strace: 4.6 requires xz

strace 4.6 is only available as an XZ-compressed tarball.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-02-05scripts: fix download from sourceforge
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 Feb 2012 23:26:55 +0100] rev 2867
scripts: fix download from sourceforge

It seems sourceforge changed yet again the way to download files.
This time, no longer use their 'mesh' thingy, and hard-code the
server to use in the URL... Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-02-02libc/uClibc: add 0.9.33
Johannes Stezenbach <js@sig21.net> [Thu, 02 Feb 2012 22:43:18 +0100] rev 2866
libc/uClibc: add 0.9.33

Signed-off-by: Johannes Stezenbach <js@sig21.net>

2012-02-011.14: update version to 1.14.0+hg 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Feb 2012 00:19:04 +0100] rev 2865
1.14: update version to 1.14.0+hg

2012-02-01Tagging release 1.14.0 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Feb 2012 00:19:04 +0100] rev 2864
Tagging release 1.14.0

2012-02-011.14: create maintenance branch, update version to 1.14.0 1.14 crosstool-ng-1.14.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Feb 2012 00:19:04 +0100] rev 2863
1.14: create maintenance branch, update version to 1.14.0

2012-02-011.13: close branch 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Feb 2012 00:18:12 +0100] rev 2862
1.13: close branch

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-02-01samples: update before release
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Feb 2012 00:10:59 +0100] rev 2861
samples: update before release

Update all samples to reflect the new set of options, plus:
- remove the arm-iphone-linux-gnueabi sample (obsolete...)
- disable hard-float in ARM bare-metal samples.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-30configure: do not use '@' in version string
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 30 Jan 2012 16:52:50 +0100] rev 2860
configure: do not use '@' in version string

#0a0410dd0cb0 broke #0cc4d6352c3e. This patch fixes this, which fixes the build
of gcc/glibc/gdb manuals.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2012-01-30scripts: fix typo in mk-release, remove temporary autom4 files
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Jan 2012 21:31:20 +0100] rev 2859
scripts: fix typo in mk-release, remove temporary autom4 files

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-29scripts: update mk-release to cope with the new autoconf framework
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 29 Jan 2012 22:19:27 +0100] rev 2858
scripts: update mk-release to cope with the new autoconf framework

Now that ./configure is generated by autoconf, it must be generated
before the release tarball is made. So, we can not simply use hg's
archive, we must post-process it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-29scripts/mk-release: use HGPLAIN and don't print progress
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 29 Jan 2012 22:44:09 +0100] rev 2857
scripts/mk-release: use HGPLAIN and don't print progress

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-18debug/gdb: --disable-sim for CT_GDB_CROSS.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 16:22:52 +0800] rev 2856
debug/gdb: --disable-sim for CT_GDB_CROSS.

sim was already disabled for CT_GDB_NATIVE.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@anciens.enib.fr: make it a config option]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-29configre: properly check for libtoolize
Johannes Stezenbach <js@sig21.net> [Sun, 29 Jan 2012 11:42:30 +0100] rev 2855
configre: properly check for libtoolize

Fix a copy-n-paste typo, where the libtoolize check
would re-run the libtool check.

Signed-off-by: Johannes Stezenbach <js@sig21.net>

2012-01-27complibs/cloog: fix linking with libm
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 27 Jan 2012 13:31:16 +0100] rev 2854
complibs/cloog: fix linking with libm

In Ubuntu 11.04 and 11.10, the default options for ld have changed.
--no-copy-dt-needed-entries and --as-needed are now enabled by default, which
causes errors like:

[EXTRA] Checking CLooG/ppl
[DEBUG] ==> Executing: 'make' '-j3' '-s' 'check'
[ALL ] Making check in .
[ALL ] config.status: creating include/cloog/cloog-config.h
[ALL ] config.status: include/cloog/cloog-config.h is unchanged
[ALL ] libtool: link: i686-build_pc-linux-gnu-gcc -Wall -fomit-frame-pointer
-pipe -o cloog cloog.o -L/<snip>/build/static/lib ./.libs/libcloog.a -lm
/<snip>/build/static/lib/libppl_c.a /<snip>/build/static/lib/libpwl.a
/<snip>/build/static/lib/libppl.a /<snip>/build/static/lib/libgmpxx.a
/<snip>/build/static/lib/libgmp.a -lstdc++
[ALL ] /usr/bin/ld: /<snip>/build/static/lib/libppl.a(MIP_Problem.o):
undefined reference to symbol 'sqrt@@GLIBC_2.0'
[ALL ] /usr/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so so try adding
it to the linker command line
[ALL ] /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so:
could not read symbols: Invalid operation
[ALL ] collect2: ld returned 1 exit status
[ERROR] make[2]: *** [cloog] Error 1
[ERROR] make[1]: *** [check-recursive] Error 1

See:
https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition

This patch fixes these errors by placing '-lm' at the right place on the command
line as libppl requires libm when linking cloog.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2012-01-27complibs/cloog: remove unsupported versions from config
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 27 Jan 2012 13:13:00 +0100] rev 2853
complibs/cloog: remove unsupported versions from config

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2012-01-28kernel/linux: update
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 28 Jan 2012 16:50:45 +0100] rev 2852
kernel/linux: update

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-231.13: update version to 1.13.3+hg 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 23 Jan 2012 18:41:34 +0100] rev 2851
1.13: update version to 1.13.3+hg

2012-01-23Tagging release 1.13.3 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 23 Jan 2012 18:41:34 +0100] rev 2850
Tagging release 1.13.3

2012-01-231.13: update version to 1.13.3 1.13 crosstool-ng-1.13.3
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 23 Jan 2012 18:41:34 +0100] rev 2849
1.13: update version to 1.13.3

2011-12-14libc/eglibc: fix localedef 2.14 build 1.13
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Wed, 14 Dec 2011 16:55:22 +0100] rev 2848
libc/eglibc: fix localedef 2.14 build

The localedef of eglibc 2.14 requires NOT_IN_libc to be defined in order to
compile intl/l10nflist.c.

This is because localedef is built separately from eglibc and uses some parts of
eglibc that don't compile in standalone without this preprocessor definition.

This fixes the following error:

[ALL ] gcc -g -O2 -DNO_SYSCONF -DNO_UNCOMPRESS
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -Iglibc/locale/programs -Iglibc/locale
-I/<snip>/.build/src/eglibc-localedef-2_14/include
-I/<snip>/.build/src/eglibc-localedef-2_14 -I.
-include /<snip>/.build/src/eglibc-localedef-2_14/include/always.h -Wall
-Wno-format -c -o locarchive.o glibc/locale/programs/locarchive.c
[ALL ] glibc/locale/programs/locarchive.c: In function 'enlarge_archive':
[ALL ] glibc/locale/programs/locarchive.c:303:21: warning: variable
'oldlocrectab' set but not used [-Wunused-but-set-variable]
[ALL ] In file included from glibc/locale/programs/locarchive.c:651:0:
[ALL ] glibc/locale/programs/../../intl/l10nflist.c: In function
'_nl_normalize_codeset':
[ERROR] glibc/locale/programs/../../intl/l10nflist.c:342:9: error:
'_nl_C_locobj_ptr' undeclared (first use in this function)
[ALL ] glibc/locale/programs/../../intl/l10nflist.c:342:9: note: each
undeclared identifier is reported only once for each function it appears in
[ALL ] glibc/locale/programs/locarchive.c: In function
'add_locales_to_archive':
[ALL ] glibc/locale/programs/locarchive.c:1450:7: warning: passing argument
1 of '__xpg_basename' discards 'const' qualifier from pointer target type
[enabled by default]
[ALL ] /usr/include/libgen.h:35:14: note: expected 'char *' but argument is
of type 'const char *'
[ERROR] make[1]: *** [locarchive.o] Error 1

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
(transplanted from 4cd9134739b594451794cf61a6e1b137422cdafd)

2011-12-13scripts: fix dumping execution backtrace 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Dec 2011 23:32:39 +0100] rev 2847
scripts: fix dumping execution backtrace

Dumping the backtrace has been broken since changeset #652e56d6d35a:
scripts: execute each steps in a subshell

We can spawn sub-sub-shells in some cases.

The way the fault handler works is to dump the backtrace, but to avoid
printing it once for every sub-shell (which could get quite confusing),
it simply exits when it detects that it is being run in a sub-shell,
leaving to the top-level shell the work to dump the backtrace.

Because each step is executed in its own sub-shell, the variable arrays
that contain the step name, the source file and line number, are lost
when exiting the per-step sub-shell.

Hence, the backtrace is currently limited to printing only the top-level
main procedure of the shell.

Fix this thus:
- when dumping the bckatraces for the steps & the functions, remember
it was dumped, and only dump it if it was not already dumped
- at the top-level shell, print the hints

Also, rename the top-level step label.

Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 4193d6e6a17430a177fa88c287879c2c35e319f3)

2011-12-12binutils/binutils: fix extra config array variable name 1.13
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 20:24:05 +0100] rev 2846
binutils/binutils: fix extra config array variable name

The changeset 2467 #200836977ce6 missed renaming one occurrence of
CT_BINUTILS_EXTRA_CONFIG to CT_BINUTILS_EXTRA_CONFIG_ARRAY, which is fixed by
this patch.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
(transplanted from 8946dd980d9e6c3da3b8f63fe7e35f4af94acf2f)

2011-12-12scripts: unset CONFIG_SITE 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Dec 2011 21:41:16 +0200] rev 2845
scripts: unset CONFIG_SITE

Some distributions (eg. openSUSE 12.1) systematically export
the CONFIG_SITE environment variable to point to a custom
script setting misc paths for ./configure.

This can, and does, break when cross-compiling for architectures
that are not supported by this script.

The simple workaround is to unset this variable.
NB: buildroot has a similar fix:
http://git.buildroot.org/buildroot/commit/?id=12c9f7dd6dee9c6029b4f9a12d6aac1516911ab4

Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 21f4f28e60ec0342133086c9a51e7f0e5b181fb8)

2011-12-07scripts: create CT_HEADERS_DIR 1.13
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 07 Dec 2011 16:15:50 +0800] rev 2844
scripts: create CT_HEADERS_DIR

"${CT_SYSROOT_DIR}/usr/include" is only for "${CT_USE_SYSROOT}" = "y".
We should also mkdir when "${CT_USE_SYSROOT}" != "y".
"${CT_HEADERS_DIR}" can support both cases.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from bdff4164a1227ebdd538e0ad3c9b6862b3c5a253)

2011-11-30scripts: use CT_CONFIG_SHELL instead of CT_SHELL 1.13
Titus von Boxberg <titus@v9g.de> [Wed, 30 Nov 2011 12:07:59 +0100] rev 2843
scripts: use CT_CONFIG_SHELL instead of CT_SHELL

CT_SHELL is undefined.
Thus, the generated wrapper scripts are not executable by the kernel
because they do not contain a valid interpreter.
Use CT_CONFIG_SHELL instead.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from cf509170838f4e289fe25617e3f3db1d6d6ffc41)

2011-11-22scripts/functions: extract: portable call for old and defective tars 1.13
Titus von Boxberg <titus@v9g.de> [Tue, 22 Nov 2011 10:08:10 +0100] rev 2842
scripts/functions: extract: portable call for old and defective tars

Instead of using -J, --lzma, --use-compress-program or the like
use <compressor> -dc <file> | tar -f -

Signed-off-by: Titus von Boxberg <titus@v9g.de>
(transplanted from 49af7802dcd538ec3cb64337030b03ac2c6344d2)

2011-11-18cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core. 1.13
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 11:32:50 +0800] rev 2841
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)

2012-01-16configure: fix kconfig option names
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Jan 2012 23:45:16 +0100] rev 2840
configure: fix kconfig option names

In the process of converting to autoconf, the kconfig option
were not properly translated.

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-17configure: also detect plain grep
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Jan 2012 00:37:59 +0100] rev 2839
configure: also detect plain grep

We need just 'grep', and we need to be able to call it with 'grep -E'.
Check for 'grep', and bailout if egrep != grep -E

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-16scripts: fix tools override
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Jan 2012 23:36:42 +0100] rev 2838
scripts: fix tools override

The tools found by the new autostuff configure can contain arguments,
for example: grep -E

This needs separating the paths set for the Makfile from the paths
set for the scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-13cc/gcc: update Linaro GCC revisions to 2012.01
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 13 Jan 2012 12:24:55 +0100] rev 2837
cc/gcc: update Linaro GCC revisions to 2012.01

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2012-01-15kconfig: add missing files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 15 Jan 2012 01:04:26 +0100] rev 2836
kconfig: add missing files

The real sources for a few files are the lex/yacc/gperf
files, and the C files are only generated...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-14kconfig: install compiled frontends
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 14 Jan 2012 18:22:06 +0100] rev 2835
kconfig: install compiled frontends

The kconfig frontends are currently instaleld as source files. This is
a remnant of the early times, when I wanted a single installation of
crosstool-NG to be shared across multiple machines, potentially of
different architectures.

This does not really make sense, and it's been a long time since it
was las tpossible in practice.

So, just build the kconfig frontends at make-time, and install them
as we do for all other crosstool-NG dependent files.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-07configure: use autoconf to generate configure
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Nov 2011 22:28:40 +0100] rev 2834
configure: use autoconf to generate configure

Create configure.ac, an autoconf script to generate ./configure
This will be needed by a subsequent patch to properly handle
--build and --host, and more tests, when the kconfig stuff will
be installed pre-built.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-12kernel/linux: update versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 12 Jan 2012 22:41:47 +0100] rev 2833
kernel/linux: update versions

A few newer versions, second shot in a row...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-08kernel/linux: update versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 08 Jan 2012 12:02:14 +0100] rev 2832
kernel/linux: update versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-03scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 03 Jan 2012 23:02:04 +0100] rev 2831
scripts: update config.{guess,sub}

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2012-01-01cc/gcc: copy file with 'cp -v', it rotates the progress bar
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Jan 2012 22:54:37 +0100] rev 2830
cc/gcc: copy file with 'cp -v', it rotates the progress bar

Installing the gcc test-suite can take a bit of time, so the
progress bar is currently not rotating because there is no
output during the copy. For an unsuspecting user, it could
mean the process hung.

With 'cp -v', the progress bar now rotates.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-31docs: credit Konrad EISELE for the initial multilib support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 31 Dec 2011 18:47:37 +0100] rev 2829
docs: credit Konrad EISELE for the initial multilib support

Konrad submitted an initial patch adding multlib support:
http://sourceware.org/ml/crossgcc/2011-11/msg00040.html

The patch was full of good ideas, but had a few issues, so
I (Yann E. MORIN) started it all from scatch, re-using part
of the original patch. This got implemented in this series:
hg log -r 446a17b5dd1e:e47d17391ae3

As I forgot to credit Konrad in these changelogs, update the
docs so that the work by Konrad gets credited. Without his
initial effort, we would probably not have had multlib support
so soon. Thank you Konrad!

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-28libc/glibc: cleanup CFLAGS handling
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Dec 2011 17:05:46 +0100] rev 2828
libc/glibc: cleanup CFLAGS handling

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-27libc/glibc: remove multi-dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Dec 2011 16:11:34 +0100] rev 2827
libc/glibc: remove multi-dir

Remove the sysroot/${multi_dir} directory after the libc install.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-27libc/glibc: allow to selectively install headers and/or start-files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 27 Dec 2011 14:45:03 +0100] rev 2826
libc/glibc: allow to selectively install headers and/or start-files

When doing multilib, we only need the headers from the default variant,
but we need the startfiles for each variants.

Allow the frontend to specify either one, or both.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-23libc/glibc: add multilib-cacpable backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 00:11:36 +0100] rev 2825
libc/glibc: add multilib-cacpable backend

For mutlilib, the C library must be built once for each variants.
Special care must be taken to put the resulting libraries in
the proper places.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22libc/glibc: fix code formatting
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Nov 2011 00:51:37 +0100] rev 2824
libc/glibc: fix code formatting

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22libc/glib: pass installation subdir to backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Nov 2011 00:16:37 +0100] rev 2823
libc/glib: pass installation subdir to backend

When building a multilib variant, install in a separate directory, to
avoid clutering the default or any other variant.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22libc/glibc: set the endian option according to extra CFLAGS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Nov 2011 00:11:51 +0100] rev 2822
libc/glibc: set the endian option according to extra CFLAGS

When building a multilib, some extra CFLAGS can override the
default config option. This is the case for the endianness
selection.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-21libc/glibc: set the float option according to extra CFLAGS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:56:53 +0100] rev 2821
libc/glibc: set the float option according to extra CFLAGS

When building a multilib, some extra CFLAGS can override the
default config option. This is the case for the floating point
selection.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-21libc/glibc: add extra CFLAGS when building the C library
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:33:08 +0100] rev 2820
libc/glibc: add extra CFLAGS when building the C library

When building multilib, we need extra CFLAGS that tell the compiler
to use non-default settings (eg. big/little endian, hard/soft float,
-march/cpu/tune flags, and so on...).

We have to pass these flags to the build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-13libc/glibc: no default mode for backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Dec 2011 11:51:07 +0100] rev 2819
libc/glibc: no default mode for backend

The caller SHALL explicitly ask for a nmode, and not rely on a default mode.
That's what actually happens, so we can get rid of the default.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-30cc/gcc: print supported multilibs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 21:43:10 +0100] rev 2818
cc/gcc: print supported multilibs

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-23cc/gcc: build multilib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 23:51:07 +0100] rev 2817
cc/gcc: build multilib

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-23binutils/binutils: build multilib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 23:27:12 +0100] rev 2816
binutils/binutils: build multilib

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-23config: add option to build multilib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 23:25:43 +0100] rev 2815
config: add option to build multilib

Add a toolchain-wide option to enable multilib.

This is currently a noop, and will be implemented
in subsequent patches for each impacted components.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-31cc/gcc: add option to use system zlib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 31 Dec 2011 16:23:27 +0100] rev 2814
cc/gcc: add option to use system zlib

In some cases, it might be desirable to use the system zlib

Eg. because latest gcc seem to be totally borked when it comes
to multilib, and tries to build a multilib host zlib, when it
is *absolutely* *not* needed: we want mulitlib on the target,
not on the host! Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-30libc/uClibc: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 22:04:24 +0100] rev 2813
libc/uClibc: add latest version

Add 0.9.32.1

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-30kernel/linux: update to latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 14:16:49 +0100] rev 2812
kernel/linux: update to latest versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-30scripts: update config.guess and config.sub
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 14:15:43 +0100] rev 2811
scripts: update config.guess and config.sub

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-14binutils/binutils: add the patches used by BuildRoot for 2.22
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Wed, 14 Dec 2011 19:57:47 +0100] rev 2810
binutils/binutils: add the patches used by BuildRoot for 2.22

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-14libc/eglibc: fix localedef 2.14 build
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Wed, 14 Dec 2011 16:55:22 +0100] rev 2809
libc/eglibc: fix localedef 2.14 build

The localedef of eglibc 2.14 requires NOT_IN_libc to be defined in order to
compile intl/l10nflist.c.

This is because localedef is built separately from eglibc and uses some parts of
eglibc that don't compile in standalone without this preprocessor definition.

This fixes the following error:

[ALL ] gcc -g -O2 -DNO_SYSCONF -DNO_UNCOMPRESS
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -Iglibc/locale/programs -Iglibc/locale
-I/<snip>/.build/src/eglibc-localedef-2_14/include
-I/<snip>/.build/src/eglibc-localedef-2_14 -I.
-include /<snip>/.build/src/eglibc-localedef-2_14/include/always.h -Wall
-Wno-format -c -o locarchive.o glibc/locale/programs/locarchive.c
[ALL ] glibc/locale/programs/locarchive.c: In function 'enlarge_archive':
[ALL ] glibc/locale/programs/locarchive.c:303:21: warning: variable
'oldlocrectab' set but not used [-Wunused-but-set-variable]
[ALL ] In file included from glibc/locale/programs/locarchive.c:651:0:
[ALL ] glibc/locale/programs/../../intl/l10nflist.c: In function
'_nl_normalize_codeset':
[ERROR] glibc/locale/programs/../../intl/l10nflist.c:342:9: error:
'_nl_C_locobj_ptr' undeclared (first use in this function)
[ALL ] glibc/locale/programs/../../intl/l10nflist.c:342:9: note: each
undeclared identifier is reported only once for each function it appears in
[ALL ] glibc/locale/programs/locarchive.c: In function
'add_locales_to_archive':
[ALL ] glibc/locale/programs/locarchive.c:1450:7: warning: passing argument
1 of '__xpg_basename' discards 'const' qualifier from pointer target type
[enabled by default]
[ALL ] /usr/include/libgen.h:35:14: note: expected 'char *' but argument is
of type 'const char *'
[ERROR] make[1]: *** [locarchive.o] Error 1

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-15libc/newlib: build manual for newlib
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 15 Dec 2011 15:20:33 +0800] rev 2808
libc/newlib: build manual for newlib

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@anciens.enib.fr: copy with a single call to 'cp']
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-13scripts: fix dumping execution backtrace
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Dec 2011 23:32:39 +0100] rev 2807
scripts: fix dumping execution backtrace

Dumping the backtrace has been broken since changeset #652e56d6d35a:
scripts: execute each steps in a subshell

We can spawn sub-sub-shells in some cases.

The way the fault handler works is to dump the backtrace, but to avoid
printing it once for every sub-shell (which could get quite confusing),
it simply exits when it detects that it is being run in a sub-shell,
leaving to the top-level shell the work to dump the backtrace.

Because each step is executed in its own sub-shell, the variable arrays
that contain the step name, the source file and line number, are lost
when exiting the per-step sub-shell.

Hence, the backtrace is currently limited to printing only the top-level
main procedure of the shell.

Fix this thus:
- when dumping the bckatraces for the steps & the functions, remember
it was dumped, and only dump it if it was not already dumped
- at the top-level shell, print the hints

Also, rename the top-level step label.

Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-21libc/glibc: document the glibc backend arguments
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:35:21 +0100] rev 2806
libc/glibc: document the glibc backend arguments

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-21libc/glibc: create build dir using libc_mode
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:26:18 +0100] rev 2805
libc/glibc: create build dir using libc_mode

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-12binutils/binutils: fix extra config array variable name
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 20:24:05 +0100] rev 2804
binutils/binutils: fix extra config array variable name

The changeset 2467 #200836977ce6 missed renaming one occurrence of
CT_BINUTILS_EXTRA_CONFIG to CT_BINUTILS_EXTRA_CONFIG_ARRAY, which is fixed by
this patch.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-12debug/gdb: update Linaro GDB revisions to 2011.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 13:27:59 +0100] rev 2803
debug/gdb: update Linaro GDB revisions to 2011.12

Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-12cc/gcc: update Linaro GCC revisions to 2011.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 13:25:11 +0100] rev 2802
cc/gcc: update Linaro GCC revisions to 2011.12

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-12scripts: unset CONFIG_SITE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Dec 2011 21:41:16 +0200] rev 2801
scripts: unset CONFIG_SITE

Some distributions (eg. openSUSE 12.1) systematically export
the CONFIG_SITE environment variable to point to a custom
script setting misc paths for ./configure.

This can, and does, break when cross-compiling for architectures
that are not supported by this script.

The simple workaround is to unset this variable.
NB: buildroot has a similar fix:
http://git.buildroot.org/buildroot/commit/?id=12c9f7dd6dee9c6029b4f9a12d6aac1516911ab4

Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-12kernel/linux: fix missing quote
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 21:47:08 +0100] rev 2800
kernel/linux: fix missing quote

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-11kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Dec 2011 23:14:57 +0100] rev 2799
kernel/linux: add latest versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-12kernel/linux: add alternate download locations
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Dec 2011 00:01:54 +0100] rev 2798
kernel/linux: add alternate download locations

Some longterm versions are not in the usual directory.
Account for these new locations.

Get rid of the mirror location, now that the main kernel site is
(almost) back to normal operations.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-28binutils/binutils: add binutils 2.22
Titus von Boxberg <titus@v9g.de> [Mon, 28 Nov 2011 21:27:08 +0100] rev 2797
binutils/binutils: add binutils 2.22

Enable (EXPERIMENTAL) selection of binutils 2.22

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

2011-12-07scripts: create CT_HEADERS_DIR
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 07 Dec 2011 16:15:50 +0800] rev 2796
scripts: create CT_HEADERS_DIR

"${CT_SYSROOT_DIR}/usr/include" is only for "${CT_USE_SYSROOT}" = "y".
We should also mkdir when "${CT_USE_SYSROOT}" != "y".
"${CT_HEADERS_DIR}" can support both cases.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-30scripts: use CT_CONFIG_SHELL instead of CT_SHELL
Titus von Boxberg <titus@v9g.de> [Wed, 30 Nov 2011 12:07:59 +0100] rev 2795
scripts: use CT_CONFIG_SHELL instead of CT_SHELL

CT_SHELL is undefined.
Thus, the generated wrapper scripts are not executable by the kernel
because they do not contain a valid interpreter.
Use CT_CONFIG_SHELL instead.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

2011-11-25config/target: enforce floating point support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 25 Nov 2011 23:59:29 +0100] rev 2794
config/target: enforce floating point support

Do not prompt for the type of floating-point support, if the
architecture did not explicitly stated that it did support it.

Reported-by: Morten Thunberg Svendsen <mts@doredevelopment.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-24arch/sparc: Sparc supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:48:35 +0100] rev 2793
arch/sparc: Sparc supports setting the floating point type

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-24arch/powerpc: PowerPC supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:44:17 +0100] rev 2792
arch/powerpc: PowerPC supports setting the floating point type

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-24arch/mips: MIPS supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:42:02 +0100] rev 2791
arch/mips: MIPS supports setting the floating point type

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-24arch/arm: ARM supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:38:37 +0100] rev 2790
arch/arm: ARM supports setting the floating point type

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-25config/target: add float support selection
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 25 Nov 2011 23:57:55 +0100] rev 2789
config/target: add float support selection

Changeset #149c33923f47 broke the architectures that do not
support the --with-float=X ./configure flag (in gcc). For example,
x86_64 does not support it.

Add a new blind config option that architectures can set to tell
they support floating point selection.

Reported-by: Morten Thunberg Svendsen <mts@doredevelopment.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-30arch: rename the SUPPORT_XXX options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Nov 2011 00:25:22 +0100] rev 2788
arch: rename the SUPPORT_XXX options

First, 'SUPPORT' should be spelled 'SUPPORTS'.

Second, 'SUPPORT_XXX' really means 'supports --with-xxx', so rename the
affected options accordingly. Update the affected archs to match the new
namings.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-28libc/newlib: remove hard-coded "-O"
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Mon, 28 Nov 2011 16:05:23 +0800] rev 2787
libc/newlib: remove hard-coded "-O"

With hard-coded "-O", users can not customize CFLAGS_FOR_TARGET
by CT_TARGET_CFLAGS. If "-O" is needed, users can input it in
CT_TARGET_CFLAGS. By default, "-Os" is enabled.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-28config: fix NLS typo
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 28 Nov 2011 18:35:17 +0100] rev 2786
config: fix NLS typo

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22scripts/functions: extract: portable call for old and defective tars
Titus von Boxberg <titus@v9g.de> [Tue, 22 Nov 2011 10:08:10 +0100] rev 2785
scripts/functions: extract: portable call for old and defective tars

Instead of using -J, --lzma, --use-compress-program or the like
use <compressor> -dc <file> | tar -f -

Signed-off-by: Titus von Boxberg <titus@v9g.de>

2011-11-23debug/gdb: add extra config for gdb cross.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 23 Nov 2011 13:15:27 +0800] rev 2784
debug/gdb: add extra config for gdb cross.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@anciens.enib.fr: prompt rewording, as suggested by M. Hope]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22libc/newlib: add option to optimise for size
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Tue, 22 Nov 2011 14:18:14 +0800] rev 2783
libc/newlib: add option to optimise for size

Add an option to build with -Os instead of the default -O.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-18cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 11:32:50 +0800] rev 2782
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-18libc/newlib: Add extra config for newlib.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 11:47:30 +0800] rev 2781
libc/newlib: Add extra config for newlib.

So users can input config like --enable-newlib-register-fini.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-17cc/gcc: handle NLS option
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 17 Nov 2011 18:00:28 +0800] rev 2780
cc/gcc: handle NLS option

Add --disable-nls config when option "Enable nls" is not selected.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-17binutils/binutils: handle NLS option
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 17 Nov 2011 17:59:44 +0800] rev 2779
binutils/binutils: handle NLS option

Add --disable-nls config when option "Enable nls" is not selected.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-18config/toolchain: Add "Enable nls" in "Toolchain options".
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 15:29:18 +0800] rev 2778
config/toolchain: Add "Enable nls" in "Toolchain options".

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-20libc/uClibc: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:08:27 +0100] rev 2777
libc/uClibc: use endian string in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-20libc/eglibc: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:06:36 +0100] rev 2776
libc/eglibc: use endian string in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-20arch/sh: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:05:36 +0100] rev 2775
arch/sh: use endian string in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-20arch/mips: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:04:31 +0100] rev 2774
arch/mips: use endian string in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-20scripts/functions: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:01:34 +0100] rev 2773
scripts/functions: use endian string in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-14config: introduce endianness as a string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 19:13:00 +0100] rev 2772
config: introduce endianness as a string

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-201.13: update version to 1.13.2+hg 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 20:57:06 +0100] rev 2771
1.13: update version to 1.13.2+hg

2011-11-20Tagging release 1.13.2 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 20:57:06 +0100] rev 2770
Tagging release 1.13.2

2011-11-201.13: update version to 1.13.2 1.13 crosstool-ng-1.13.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 20:57:06 +0100] rev 2769
1.13: update version to 1.13.2

2011-11-17arch/x86: prescott is an i686 1.13
Titus von Boxberg <titus@v9g.de> [Thu, 17 Nov 2011 14:18:44 +0100] rev 2768
arch/x86: prescott is an i686

let CT_ARCH_ARCH=prescott result in a i686 tuple prefix

Signed-off-by: Titus von Boxberg <titus@v9g.de>
(transplanted from d063b1ae8c1b30c7006b110d0f9045e6d7c34f13)

2011-10-16complibs/cloog: auto-reconf for 0.15.10 and later 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 15:10:29 +0200] rev 2767
complibs/cloog: auto-reconf for 0.15.10 and later

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 47199f966983bab6a68b2b5da2e1542adbd9388a)

2011-10-16complibs/cloog: fix extraction 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 14:58:29 +0200] rev 2766
complibs/cloog: fix extraction

In the early days, cloog-ppl was bizarrely packaged: the first tarball
did not contain the version in the name of the extracted directory, so
we had to play tricks.

Nowadays, however, the first component of the path are stripped when
extracting a tarball, which means that the created directory will
always be properly named. So, our old tricks do no longer work, and
worse, they break the build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from f070d922facf42b0395b7db909e1867d45b245dd)

2011-11-16scripts: add support for building manuals
Michael Hope <michael.hope@linaro.org> [Wed, 16 Nov 2011 10:06:21 +1300] rev 2765
scripts: add support for building manuals

Add support for building the HTML and PDF manuals for the major
components. Implement for binutils, GCC, GDB, and GLIBC.

Always build all manuals and install a subset. Be explicit about the
subset to reduce the clutter and to avoid getting copies of common
manuals like bfd from all of the sourceware based components. Downside of
being explicit is that you need to update it when a new component
comes along.

Build the manuals as part of the last GCC build, namely 'cc' for glibc
based ones and cc_core_pass_2 for baremetal.

An example of the output is at:
http://people.linaro.org/~michaelh/incoming/crosstool-NG/

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: depends on ! remove docs; gold manual install]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-16docs: Add strategies for assembling root filesystems.
Trevor Woerner <twoerner@gmail.com> [Wed, 16 Nov 2011 17:36:17 -0500] rev 2764
docs: Add strategies for assembling root filesystems.

Expand the documentation for using a crosstool-NG-generated toolchain for
building a root filesystem for a target device.

Signed-off-by: "Trevor Woerner" <twoerner@gmail.com>
yann.morin.1998@anciens.enib.fr: some eye-candy]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-07scripts: use wget, not curl
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Nov 2011 21:40:28 +0100] rev 2763
scripts: use wget, not curl

It seems wget is more popular than curl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-14scripts: use the floating-point string option in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 18:53:14 +0100] rev 2762
scripts: use the floating-point string option in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-14libc/uClibc: use the floating-point string option in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 18:54:37 +0100] rev 2761
libc/uClibc: use the floating-point string option in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>