2010-10-22scripts: add STATE logging level for state save/restore output.
Anthony Foiani <anthony.foiani@gmail.com> [Fri, 22 Oct 2010 22:02:49 +0200] rev 2155
scripts: add STATE logging level for state save/restore output.

The save/restore state output is voluminous; using this flag allows us
to quickly see or ignore when something is just being saved.

[Yann E. MORIN: this is a blind log level, and is used only to search
in the build-log afterward.]

Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>

2010-10-22scripts: add "FILE" and "CFG" debug levels.
Anthony Foiani <anthony.foiani@gmail.com> [Fri, 22 Oct 2010 22:02:57 +0200] rev 2154
scripts: add "FILE" and "CFG" debug levels.

I ran into some minor difficulties looking through the build log for a
particular file: I wasn't interested in seeing it unpacked, but only
when it is built or installed. Adding these two levels allows me to
differentiate between those cases.

[Yann E. MORIN: Those are blind log levels, and are used only to search
in the build-log afterward.]

Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>

2010-10-20cc/gcc: fix 128-bit long doubles option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 20 Oct 2010 15:25:38 +0200] rev 2153
cc/gcc: fix 128-bit long doubles option

Spotted by Arnaud LACOMBE:
http://sourceware.org/ml/crossgcc/2010-10/msg00122.html

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

2010-10-18samples: update to not use // download
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 18 Oct 2010 21:50:26 +0200] rev 2152
samples: update to not use // download

Parallel download can cause issues in some network environments
(eg. behind some firewalls/routers), so default to not //.

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

2010-10-12cc/gcc: fix 4.4.4 patchset 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 12 Oct 2010 23:47:24 +0200] rev 2151
cc/gcc: fix 4.4.4 patchset

Most patches contained two spurious first lines.

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

2010-10-08cc/gcc: fix C++ headers location 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:37:12 +0200] rev 2150
cc/gcc: fix C++ headers location

In case we build the C++ compiler, we have to tell gcc where to put the C++
headers, or else it will try to # put it in prefix/tuple/include, which we
make a symlink to sysroot/usr/include during the build, and that we delete
(the symlink!) after the build, but gcc will not look in sysroot/usr/inlcude
for C++ headers by default.

Implements a fix suggested by: Bryan Hundven <bryanhundven@gmail.com>

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from a0924619112015bdaa81a0a2313d21ef38607bc2)

2010-10-09cc/gcc: add 4.4.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Oct 2010 23:28:39 +0200] rev 2149
cc/gcc: add 4.4.5

Add 4.4.5, propagate patchset from 4.4.4.

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

2010-10-12cc/gcc: fix 4.4.4 patchset
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 12 Oct 2010 23:47:24 +0200] rev 2148
cc/gcc: fix 4.4.4 patchset

Most patches contained two spurious first lines.

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

2010-10-07scripts: update/fix patch-rework
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Oct 2010 23:45:25 +0200] rev 2147
scripts: update/fix patch-rework

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

2010-10-09cc/gcc: add an option to enable/disable build of libssp
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Oct 2010 11:38:04 +0200] rev 2146
cc/gcc: add an option to enable/disable build of libssp

libssp is the run-time Stack-Smashing Protection library.
It can be usefull to have or miss, depends...

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

2010-10-08cc/gcc: add an option to enable/disable build of libgomp
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:58:58 +0200] rev 2145
cc/gcc: add an option to enable/disable build of libgomp

libgomp is the GNU implementation of the OpenMP API.
It can be usefull to have or miss, depends...

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

2010-10-08cc/gcc: shuffle config knobs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:53:41 +0200] rev 2144
cc/gcc: shuffle config knobs

It makes sense to have all library-related config knobs in
the same place; and it makes sense to have all other misc
config knobs in the same other place.

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

2010-10-09cc/gcc: add option to enable 128-bit long doubles
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 09 Oct 2010 22:49:28 +0200] rev 2143
cc/gcc: add option to enable 128-bit long doubles

Needed by some PPC targets, at least.
Requires gcc 4.2+ (noticed by Arnaud LACOMBE).

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

2010-10-08cc/gcc: fix enabling/disabling LTO
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:51:38 +0200] rev 2142
cc/gcc: fix enabling/disabling LTO

There is a ./configure option for that.

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

2010-10-08cc/gcc: fix C++ headers location
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 08 Oct 2010 23:37:12 +0200] rev 2141
cc/gcc: fix C++ headers location

In case we build the C++ compiler, we have to tell gcc where to put the C++
headers, or else it will try to # put it in prefix/tuple/include, which we
make a symlink to sysroot/usr/include during the build, and that we delete
(the symlink!) after the build, but gcc will not look in sysroot/usr/inlcude
for C++ headers by default.

Implements a fix suggested by: Bryan Hundven <bryanhundven@gmail.com>

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-07samples: update all samples to use the new build dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Oct 2010 23:53:16 +0200] rev 2140
samples: update all samples to use the new build dir

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

2010-10-07samples: update powerpc-e500v2-linux-gnuspe
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 07 Oct 2010 23:51:23 +0200] rev 2139
samples: update powerpc-e500v2-linux-gnuspe

Update the configuration and the comment.

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-07scripts: always create lib32 and lib64 symlinks
Anthony Foiani <anthony.foiani@gmail.com> [Thu, 07 Oct 2010 22:37:06 +0200] rev 2138
scripts: always create lib32 and lib64 symlinks

Unconditionally create the lib32 -> lib/ and lib64 -> lib/ symlinks.

This is reportedly a fix to build a toolchain for a 32-bit target on
a 'pure' 64-bit host (eg. on Fedora FC12, host libs are in lib64/,
and there is no lib -> lib64 symlink, as we can see on other distors,
as Debian). As gcc only puts static host lib in lib64/ (along with
target files in subdirs), we can safely create the symlinks.

Also note that the symlinks are summarily removed at the end
of the build.

Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
[Yann E. MORIN: fix a comment, rephrase the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-06scripts: fix distclean
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Oct 2010 22:54:48 +0200] rev 2137
scripts: fix distclean

Do not fail in case either one or both of target/ and
.build/ directories are missing.

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

2010-10-06kernel/linux: the new long-term stable is 2.6.32
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Oct 2010 11:27:38 +0200] rev 2136
kernel/linux: the new long-term stable is 2.6.32

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

2010-10-06kernel/linux: update to latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 06 Oct 2010 11:19:56 +0200] rev 2135
kernel/linux: update to latest versions

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

2010-10-05scripts: update distclean
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 05 Oct 2010 23:59:16 +0200] rev 2134
scripts: update distclean

The toolchains are now built in .build/ rather than in targets/
so distclean has to get rid of that.

We also clean up the old dir, as users may have old samples that
still refer to the old location.

Do not hide messages during distclean, and do not ignore errors.

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

2010-10-05misc: update ignored files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 05 Oct 2010 23:25:32 +0200] rev 2133
misc: update ignored files

The place where toolchains were built has moved
from targets/ to .build/

We still ignore the old target/ dir, as users may have
samples that still use that location.

Also, reorder the ignore paterns.

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

2010-09-29Make sure that the PTRACE_... symbols are available for ppc/plt.c.
Anthony Foiani <anthony.foiani@gmail.com> [Wed, 29 Sep 2010 08:31:17 -0600] rev 2132
Make sure that the PTRACE_... symbols are available for ppc/plt.c.

On a Fedora 12 x86_64 build/host box, this file was complaining about
PTRACE_PEEKTEXT being undefined. Adding in the "ptrace.h" include
fixed it.

Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>

2010-10-03complibs: introduce a two-stage select
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Oct 2010 23:11:27 +0200] rev 2131
complibs: introduce a two-stage select

Directly select-ing the required companion libraries means we can not
disable them. That's OK for now, as we systematically build them when
they are required.

But with distros coming up-to-speed, we will need to disable the build
later-on.

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

2010-10-03complibs: better deduce whether to backup complibs or not
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 03 Oct 2010 23:10:46 +0200] rev 2130
complibs: better deduce whether to backup complibs or not

To decide whether we need to backup the companion libraries,
do not rely on the !shared case. In the future other cases
may require not to save the companion libraries (eg. if using
the ones provided by the host distro).

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

2010-10-041.8: update version to 1.8.2+hg 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 04 Oct 2010 00:26:27 +0200] rev 2129
1.8: update version to 1.8.2+hg

2010-10-04Tagging release 1.8.2 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 04 Oct 2010 00:26:27 +0200] rev 2128
Tagging release 1.8.2

2010-10-041.8: update version to 1.8.2 1.8 crosstool-ng-1.8.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 04 Oct 2010 00:26:27 +0200] rev 2127
1.8: update version to 1.8.2

2010-10-04kconfig: resync curses check with Linux kernel 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 04 Oct 2010 00:16:56 +0200] rev 2126
kconfig: resync curses check with Linux kernel

check-lxdialog.sh breaks on 64-bit distributions which are lacking
the lib -> lib64 symlinks (eg. some Fedora).

The script from the 2.6.35 Linux kernel is reportedly functional
on the systems that were requiring the current hack. See:
http://sourceware.org/ml/crossgcc/2010-09/msg00113.html

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