2012-05-08scripts: fix catching failures 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 08 May 2012 18:31:10 +0200] rev 2965
scripts: fix catching failures

POSIX 1003.1-2008 does not say whether "set -e" should catch a sub-shell
that exits with !0 (it has a list of conditions to catch, but no list of
conditions not to catch, and this situation is not listed).

bash-3 does not catch such a failure, but bash-4 does. That why, on my
Squeeze system I did not see the issue, while Thomas did on is Lenny chroot.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from d48c03998dc1c25a3b29b2c0af425631baee3abe)

2012-05-08scripts: fix catching failures
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 08 May 2012 18:31:10 +0200] rev 2964
scripts: fix catching failures

POSIX 1003.1-2008 does not say whether "set -e" should catch a sub-shell
that exits with !0 (it has a list of conditions to catch, but no list of
conditions not to catch, and this situation is not listed).

bash-3 does not catch such a failure, but bash-4 does. That why, on my
Squeeze system I did not see the issue, while Thomas did on is Lenny chroot.

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

2012-05-06scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 06 May 2012 15:11:24 +0200] rev 2963
scripts: update config.{guess,sub}

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

2012-05-05configure: we do not require curl, but wget. 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 05 May 2012 23:04:21 +0200] rev 2962
configure: we do not require curl, but wget.

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

2012-05-05configure: we do not require curl, but wget.
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 05 May 2012 23:04:21 +0200] rev 2961
configure: we do not require curl, but wget.

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

2012-05-02complibs: remove experimental from versions selection 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 May 2012 21:09:29 +0200] rev 2960
complibs: remove experimental from versions selection

Since I removed EXPERIMENTAL to most of gcc versions, the configuration
is now broken, as the required companion libraries versions are not
selectable, as they are still hidden behind EXPERIMENTAL.

Reported-by: Claudio Henrique Fortes Felix (chffelix on irc://irc.freenode.net/crosstool-ng)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 3e2f2100a76daa0a6d0a97c9f71b1ceacd403fe7)

2012-05-031.14: close branch 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 03 May 2012 21:09:19 +0200] rev 2959
1.14: close branch

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

2012-05-031.13: close branch 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 03 May 2012 21:06:12 +0200] rev 2958
1.13: close branch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-05-02complibs: remove experimental from versions selection
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 May 2012 21:09:29 +0200] rev 2957
complibs: remove experimental from versions selection

Since I removed EXPERIMENTAL to most of gcc versions, the configuration
is now broken, as the required companion libraries versions are not
selectable, as they are still hidden behind EXPERIMENTAL.

Reported-by: Claudio Henrique Fortes Felix (chffelix on irc://irc.freenode.net/crosstool-ng)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-04-301.15: update version to 1.15.0+hg 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 22:54:15 +0200] rev 2956
1.15: update version to 1.15.0+hg

2012-04-30Tagging release 1.15.0 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 22:54:15 +0200] rev 2955
Tagging release 1.15.0

2012-04-301.15: create maintenance branch, update version to 1.15.0 1.15 crosstool-ng-1.15.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 22:54:15 +0200] rev 2954
1.15: create maintenance branch, update version to 1.15.0

2012-04-30samples: update to latest set of options
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 18:14:13 +0200] rev 2953
samples: update to latest set of options

No feature- of version-bump, just update the samples
so that no (NEW) option pops up in the release.

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

2012-04-30cc/gcc: add Linaro GCC 4.7
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 30 Apr 2012 17:58:46 +0200] rev 2952
cc/gcc: add Linaro GCC 4.7

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

2012-02-24libc/uClibc: add additional debug level between "minimal" and "all"
Johannes Stezenbach <js@sig21.net> [Fri, 24 Feb 2012 16:08:32 +0100] rev 2951
libc/uClibc: add additional debug level between "minimal" and "all"

During application development it is desirable to enable malloc
debugging and LD_DEBUG support, but the extensive debug spew from
SUPPORT_LD_DEBUG_EARLY is only useful when working on
uClibc's ld.so.

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

2012-04-30libc/eglibc: remove experimental for some versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 17:36:00 +0200] rev 2950
libc/eglibc: remove experimental for some versions

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

2012-04-30libc/glibc: remove experimental for some versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 17:34:40 +0200] rev 2949
libc/glibc: remove experimental for some versions

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

2012-04-30cc/gcc: 4.7 can request the linker's hash-style
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 17:24:58 +0200] rev 2948
cc/gcc: 4.7 can request the linker's hash-style

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

2012-04-30binutils/binutils: declare versions that have --hash-style
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 17:28:50 +0200] rev 2947
binutils/binutils: declare versions that have --hash-style

2.18 and above do have this option.

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

2012-04-30cc/gcc: remove experimental for some versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 17:20:53 +0200] rev 2946
cc/gcc: remove experimental for some versions

Remove EXPERIMENTAL for the 4.5 and 4.6 series.

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

2012-04-30libc/uClibc: add 0.9.33.1
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Apr 2012 17:19:00 +0200] rev 2945
libc/uClibc: add 0.9.33.1

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

2012-03-23cc/gc: add update 4.4.7
"Bryan Hundven" <bryanhundven@gmail.com> [Fri, 23 Mar 2012 01:36:42 -0700] rev 2944
cc/gc: add update 4.4.7

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: propagate patchset from 4.4.6]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-03-23cc/gcc: add gcc-4.7.0
"Bryan Hundven" <bryanhundven@gmail.com> [Fri, 23 Mar 2012 01:36:42 -0700] rev 2943
cc/gcc: add gcc-4.7.0

Add the new release gcc-4.7.0.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: add 4.7.0 patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-04-16debug/gdb: update Linaro GDB revisions to 2012.04
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 16 Apr 2012 15:29:06 +0200] rev 2942
debug/gdb: update Linaro GDB revisions to 2012.04

Update Linaro GDB with the latest available revisions.

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

2012-04-16cc/gcc: update Linaro GCC revisions to 2012.04
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 16 Apr 2012 15:25:36 +0200] rev 2941
cc/gcc: update Linaro GCC revisions to 2012.04

Update Linaro GCC with the latest available revisions.

The 4.7 revision is also released, but the infrastructure is not yet ready for
it in CT-NG.

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

2012-04-16kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 16 Apr 2012 14:57:02 +0200] rev 2940
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: add a few other versions since released]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-04-26Allow multi-word "install" command.
Anthony Foiani <anthony.foiani@gmail.com> [Thu, 26 Apr 2012 19:55:59 -0600] rev 2939
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>

2012-04-09samples: update to latest config option set
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 09 Apr 2012 11:00:35 +0200] rev 2938
samples: update to latest config option set

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

2012-04-09samples: . accepts previous comment as-is
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 09 Apr 2012 11:19:51 +0200] rev 2937
samples: . accepts previous comment as-is

When updating a sample configuration with a comment, a dot '.'
in the new comment keeps the previous comment.

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

2012-01-03cc/gcc: build core compilers for canadian
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 03 Jan 2012 22:57:25 +0100] rev 2936
cc/gcc: build core compilers for canadian

Currently, we rely on an existing external cross-compiler targetting
the target, to build the C library.

This can pause quite a few problems if that compiler is different from
the one we are building, because it could introduce some ABI issues.

This patch removes this dependency, by building the core compilers
as we do for standard cross, and also by building the binutils and
gcc, for running on the build machine.

This means we no longer need to offer the cross-sompiler selection in
the menuconfig.

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

2012-04-02cc/gcc: add build frontend
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 02 Apr 2012 22:54:30 +0200] rev 2935
cc/gcc: add build frontend

Bizarrely enough, the core gcc are not enough to be able to build a
canadian cross, and a real, full cross compiler is required so that
the canadian cross can be properly built... WTF?!? Sigh...

Add a build-frontend, as was done for the binutils and the complibs.

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

2012-04-01cc/gcc: frontends are responsible for selecting the list of languages
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 01 Apr 2012 19:07:11 +0200] rev 2934
cc/gcc: frontends are responsible for selecting the list of languages

Do for the final step the same as for the core step: compute the list
of selected langauages from the frontend, not in the backend.

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

2011-08-15cc/gcc: pass the language list to the core backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 15 Aug 2011 22:52:51 +0200] rev 2933
cc/gcc: pass the language list to the core backend

As the core backend can be used to also build the bare-metal compiler,
we have to tel it what languages to build.

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

2011-08-15cc/gcc: add language helper function
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 15 Aug 2011 21:42:28 +0200] rev 2932
cc/gcc: add language helper function

Add a function that prepares the language configure option.
It is needed in at least two places, some commonalisation is needed. ;-)

Unfortunately, it is no longer possible to print warnings about experimental
languages any more. Anyway, the experimental status is clearly indicated
in the menuconfig. so it should not be a surprise if the build breaks. :-/

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

2011-07-25complibs: fixup the host complibs install dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 25 Jul 2011 19:04:17 +0200] rev 2931
complibs: fixup the host complibs install dir

It's easier to have as much as possible stuff in the same place to
ease backup/restore, and make things easier to follow.

Move the host companion libraries install dir as a sub-dir of the
build-tools install dir (but not directly in it, it would break
for canadian or cross-native).

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

2011-07-25cc/gcc: cleanup the frontends
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 25 Jul 2011 19:04:00 +0200] rev 2930
cc/gcc: cleanup the frontends

A few noop fix-ups:
- fix the comments in core pass-1
- commonalise settings that can be

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

2011-07-24complibs: add frontends for building to run on the build machine
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jul 2011 23:53:14 +0200] rev 2929
complibs: add frontends for building to run on the build machine

In canadian-cross, we need the companion libraries running on the
build machine, to be able to build the two core gcc.

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

2011-07-24binutils: add frontends for building to run on the build machine
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jul 2011 23:52:28 +0200] rev 2928
binutils: add frontends for building to run on the build machine

In canadian-cross, we need binutils running on the build machine to be
able to build the target C library.

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

2011-07-17complibs: split companion libraries to backend/frontend, a-la cc_core
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 18:56:30 +0200] rev 2927
complibs: split companion libraries to backend/frontend, a-la cc_core

Move the actual complibs codes to backend functions that builds the
required combo of build/host/target as requested by a frontend.

This split is currently a no-op, but is required for the upcoming
canadian-cross rework, where we'll be needing to build the complibs
twice, one for build/build, and one for build/host.

This applies to the six companion libraries:
- GMP
- MPFR
- PPL
- Cloog/PPL
- MPC
- libelf

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

2011-07-17binutils: split binutils to backend/frontend, a-la cc_core
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 18:29:35 +0200] rev 2926
binutils: split binutils to backend/frontend, a-la cc_core

Move the actual binutils code to a backend function that builds the
required combo of build/host/target as requested by a frontend.

This split is currently a no-op, but is required for the upcoming
canadian-cross rework, where we'll be needing to build two binutils,
one for build/build/target, and one for build/host/target.

This applies to the three binutils:
- GNU binutils
- elf2flt
- sstrip

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

2011-07-17cc/gcc: always build core compilers to run on the build machine
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 18:28:19 +0200] rev 2925
cc/gcc: always build core compilers to run on the build machine

The core compilers are used to build the C library, so they
should always run on the build machine, not on the host.

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

2012-01-01cc/gcc: install the core compilers in the build-tools dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Jan 2012 17:49:44 +0100] rev 2924
cc/gcc: install the core compilers in the build-tools dir

There really is no good reason to install the core compilers in their
own places, one for each pass. We can install them with the other
build tools.

Also, this implies that:
- there are fewer directories to save/restore
- there are fewer symlinks to create for binutils
- the PATH is shorter

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

2012-01-02binutils/binutils: don't install symlinks when in canadian
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 02 Jan 2012 21:38:12 +0100] rev 2923
binutils/binutils: don't install symlinks when in canadian

When building a canadian-cross, the binutils are not executable on
the build machine, so there is no point in installing the symlinks
in the gcc static/shared install dirs.

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

2012-04-02kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 02 Apr 2012 19:50:22 +0200] rev 2922
kernel/linux: add latest versions

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

2012-03-20kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 20 Mar 2012 18:44:44 +0100] rev 2921
kernel/linux: add latest versions

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

2012-03-17kernel/linux: update long-term versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 17 Mar 2012 23:43:59 +0100] rev 2920
kernel/linux: update long-term versions

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

2012-03-15debug/gdb: update Linaro GDB revisions to 2012.02
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Mar 2012 13:20:34 +0100] rev 2919
debug/gdb: update Linaro GDB revisions to 2012.02

Update Linaro GDB with the latest available revisions.

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

2012-03-15cc/gcc: update Linaro GCC revisions to 2012.03
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Mar 2012 13:13:31 +0100] rev 2918
cc/gcc: update Linaro GCC revisions to 2012.03

Update Linaro GCC with the latest available revisions.

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

2012-03-15kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Mar 2012 13:05:31 +0100] rev 2917
kernel/linux: update revisions

Update Linux with the latest available revisions.

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

2012-03-06docs: update my e-mail 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 06 Mar 2012 21:36:10 +0100] rev 2916
docs: update my e-mail

Since anciens.enib.fr has been dead for two months now, without any
hope of recovery, update my e-mail to point to @free.fr instead.

Reported-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from dcdb309b796797d2b4b8ab52a306b91889481db8)

2012-03-12debug/strace: fix download URL 1.14
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 12 Mar 2012 21:19:26 +0100] rev 2915
debug/strace: fix download URL

strace upstream location has slightly changed.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from cc170c96362c5e12d407558042f6fc17ead43f75)

2012-02-13docs/known-issues: add note about build issue on x86_64 with 32bit userspace 1.14
Johannes Stezenbach <js@sig21.net> [Mon, 13 Feb 2012 21:10:06 +0100] rev 2914
docs/known-issues: add note about build issue on x86_64 with 32bit userspace

Signed-off-by: Johannes Stezenbach <js@sig21.net>
(transplanted from da77b5e7cb9f921d0e2a22818b7945906100e704)

2012-03-12debug/strace: fix download URL 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 12 Mar 2012 21:19:26 +0100] rev 2913
debug/strace: fix download URL

strace upstream location has slightly changed.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from cc170c96362c5e12d407558042f6fc17ead43f75)

2012-03-06docs: update my e-mail 1.13
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 06 Mar 2012 21:36:10 +0100] rev 2912
docs: update my e-mail

Since anciens.enib.fr has been dead for two months now, without any
hope of recovery, update my e-mail to point to @free.fr instead.

Reported-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from dcdb309b796797d2b4b8ab52a306b91889481db8)

2012-02-13docs/known-issues: add note about build issue on x86_64 with 32bit userspace 1.13
Johannes Stezenbach <js@sig21.net> [Mon, 13 Feb 2012 21:10:06 +0100] rev 2911
docs/known-issues: add note about build issue on x86_64 with 32bit userspace

Signed-off-by: Johannes Stezenbach <js@sig21.net>
(transplanted from da77b5e7cb9f921d0e2a22818b7945906100e704)

2012-03-12debug/strace: fix download URL
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 12 Mar 2012 21:19:26 +0100] rev 2910
debug/strace: fix download URL

strace upstream location has slightly changed.

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

2012-03-01libg/eglibc: add updated eglibc 2.15
"Bryan Hundven" <bryanhundven@gmail.com> [Thu, 01 Mar 2012 15:23:49 -0800] rev 2909
libg/eglibc: add updated eglibc 2.15

Includes a patch to remove __builtin_expect test:

In eglibc-2.15, the build breaks in configure while testing
for the existance of __builtin_expect. It fails with newer
versions of gcc.

This patch is a modification of an upstream change in glibc
mainline (to be 2.16) to fix the following error:

[CFG ] checking for __builtin_expect... no
[ERROR] configure: error: support for __builtin_expect needed

http://sourceware.org/git/?p=glibc.git;a=commit;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: coalesce both patches into a single changeset]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-03-06docs: update my e-mail
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 06 Mar 2012 21:36:10 +0100] rev 2908
docs: update my e-mail

Since anciens.enib.fr has been dead for two months now, without any
hope of recovery, update my e-mail to point to @free.fr instead.

Reported-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-03-04kernel/linux: update 3.0 and long term 2.6.32
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 04 Mar 2012 23:17:58 +0100] rev 2907
kernel/linux: update 3.0 and long term 2.6.32

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

2012-03-04binutils/binutils: rename function that build target libraries
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 04 Mar 2012 17:31:23 +0100] rev 2906
binutils/binutils: rename function that build target libraries

Prepare for the incoming build/host/target frontends.

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

2012-01-03complibs/libelf: rename libelf for target function
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 03 Jan 2012 18:39:11 +0100] rev 2905
complibs/libelf: rename libelf for target function

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

2012-03-03cc/gcc: forward-port patch to new versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 03 Mar 2012 23:38:33 +0100] rev 2904
cc/gcc: forward-port patch to new versions

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

2012-03-01Add updated gcc 4.6.3
"Bryan Hundven" <bryanhundven@gmail.com> [Thu, 01 Mar 2012 15:20:09 -0800] rev 2903
Add updated gcc 4.6.3

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

2012-03-01kernel/linux: update kernel versions 3.2.7..3.2.9
"Bryan Hundven" <bryanhundven@gmail.com> [Thu, 01 Mar 2012 15:23:49 -0800] rev 2902
kernel/linux: update kernel versions 3.2.7..3.2.9

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: add 3.2.9 too]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-02-27cc/gcc: Update core_prefix_dir to prefix.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Mon, 27 Feb 2012 15:24:18 +0800] rev 2901
cc/gcc: Update core_prefix_dir to prefix.

core_prefix_dir is not defined. It should be prefix.

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

2011-07-24cc-gcc: the frontends are responsible for mkdir/chdir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jul 2011 19:35:24 +0200] rev 2900
cc-gcc: the frontends are responsible for mkdir/chdir

The build dir are created depending on the host (host for that specific
backend, not host for the toolchain). Only the frontends know what host
this is, so only the frontends can create non-ambiguous dirs.

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

2012-01-01libc/glibc: use CT_mkdir_pushd helper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 01 Jan 2012 17:35:10 +0100] rev 2899
libc/glibc: use CT_mkdir_pushd helper

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

2011-07-24functions: add new helpers that create a dir and cd/pushd into it
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jul 2011 20:08:13 +0200] rev 2898
functions: add new helpers that create a dir and cd/pushd into it

A lot of places are currently doing:
mkdir -p foo/bar
cd foo/bar

Or even:
mkdir -p foo/bar
pushd foo/bar
[...]
popd

Provide both wrapper to ease doing this.

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

2011-07-24cc/gcc: fix core backend's API doc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jul 2011 19:24:02 +0200] rev 2897
cc/gcc: fix core backend's API doc

Make it more in line with the final backend's doc,
and make it simpler as well.

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

2011-07-24cc/gcc: no need to build a static core pass-1 gcc for baremetal
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Jul 2011 19:33:04 +0200] rev 2896
cc/gcc: no need to build a static core pass-1 gcc for baremetal

The only user of the static core compiler in pass-1 was the newlib
C library. Now that it is build in a later step, we do no longer
need to build a static core compiler in pass-1.

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

2011-07-17libc/newlib: build newlib in the proper step
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 18:01:28 +0200] rev 2895
libc/newlib: build newlib in the proper step

Currently, newlib is built in the start_file step, which is wrong, but was
needed when the baremetal integration was... well, 'unfinished'.

Now that we build the baremetal compiler from the final cc step, and a
proper core gcc in pass-1 and pass-2, we can move the newlib build to the
step do_libc, where it belongs.

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

2012-02-13cc/gcc: comonalise the manuals build decision
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 13 Feb 2012 22:18:02 +0100] rev 2894
cc/gcc: comonalise the manuals build decision

Let the final frontend decide whether or not to build the manuals.

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

2011-07-17cc/gcc: do not use the core pass-2 to build the baremetal compiler
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 22:43:07 +0200] rev 2893
cc/gcc: do not use the core pass-2 to build the baremetal compiler

In case we build a baremetal compiler, use the standard passes:
- core_cc is used to build the C library;
- as such, it is meant to run on build, not host;
- the final compiler is meant to run on host;

As the current final compiler step can not build a baremetal compiler,
call the core backend from the final step.

NB: Currently, newlib is built during the start_files pass, so we have
to have a core compiler by then... Once we can build the baremetal
compiler from the final cc step, then we can move the newlib build to
the proper step, and then get rid of the core pass-1 static compiler...

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

2011-07-17cc/gcc: add the backend/frontend infra for final gcc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 22:46:47 +0200] rev 2892
cc/gcc: add the backend/frontend infra for final gcc

Currently, we issue the bare-metal compiler from the pass_1 & pass_2
core compilers, because the final gcc breaks while doing so.

This implies we have to build some libces during the start_files step,
instead of the standard libc step. This is the case for newlib.

By adding a backend/frontend infra to the final gcc, we can abstract
what backend to call: the standard backend for non-bare-metal gcc,
and the core backend for bare-metal.

This patch is just an no-op, it just adds the final backend and
frontend without changing the way bare-metal is built, to come in a
subsequent patch.

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

2011-08-23cc/gcc: add 'cflags' paramater to the core backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Aug 2011 21:11:26 +0200] rev 2891
cc/gcc: add 'cflags' paramater to the core backend

As the core backend is used to generate the bare-metal compiler,
we need to pass it the host CFLAGS.

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

2011-07-17cc/gcc: add host parameter to core compiler build process
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 18:10:53 +0200] rev 2890
cc/gcc: add host parameter to core compiler build process

Tell the core compiler what host it should run on (instead of
hard-coding runing on CT_HOST).

No functional change so far, switching between CT_HOST and CT_BUILD
will come in a following patch.

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

2011-07-17cc/gcc: pass the install prefix to the core passes
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 17:56:22 +0200] rev 2889
cc/gcc: pass the install prefix to the core passes

Currently, the discrimination on the core compilers prefixes depends on
the type of core compiler to build.

This is not correct, and the caller of the core backend should specify
the prefix.

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

2011-07-17cc/gcc: pass the companion libs prefix to cc_core
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 17:54:21 +0200] rev 2888
cc/gcc: pass the companion libs prefix to cc_core

In case of canadian-cross, the companion libraries are not the same for
the core cc (they run on 'build') as they are for the final cc (they run
on 'host').

Prepare for this differentiation (coming later), while retaining the
current behavior (to use the same compblibs).

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

2011-11-20cc/gcc: rename the core backend function
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 18:08:00 +0100] rev 2887
cc/gcc: rename the core backend function

Rename the core backend function to do_cc_core_backend, to
make it explicit it is a backend.

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

2011-07-17cc/gcc: simplify calls to core backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 17 Jul 2011 15:48:27 +0200] rev 2886
cc/gcc: simplify calls to core backend

The core backend is going to have more parameters in the upcoming
patches, so it will be a bit complex to handle.

Introduce an array-variable that is filled by the different code-paths
with the required values.

This makes the code easier to read and maintain.

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

2012-02-13kernel/linux: update to latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 13 Feb 2012 22:56:45 +0100] rev 2885
kernel/linux: update to latest versions

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

2012-02-13cc/gcc: do not consume parameters when parsing them
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 13 Feb 2012 21:51:48 +0100] rev 2884
cc/gcc: do not consume parameters when parsing them

The current construct consumes the parameters while we parse them.
Change this to a construct that does not consume the parameters.

This has no impact on gcc, but is done for homogeneity with other
components (eg. glibc).

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

2012-02-13libc/glibc: do not consume parameters when parsing them
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 13 Feb 2012 21:47:25 +0100] rev 2883
libc/glibc: do not consume parameters when parsing them

Currently, there are two constructs used to parse arguments in
glibc backends, one that consumes args as they are parsed, and
one that does not.

Always use the construct that does not eat args as they are parsed.

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

2012-02-13docs/known-issues: add note about build issue on x86_64 with 32bit userspace
Johannes Stezenbach <js@sig21.net> [Mon, 13 Feb 2012 21:10:06 +0100] rev 2882
docs/known-issues: add note about build issue on x86_64 with 32bit userspace

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

2012-02-13help: fix typo
Johannes Stezenbach <js@sig21.net> [Mon, 13 Feb 2012 21:07:55 +0100] rev 2881
help: fix typo

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

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)