2011-02-27kernel/linux: add latest 2.6.37.2 version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Feb 2011 22:14:12 +0100] rev 2325
kernel/linux: add latest 2.6.37.2 version

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

2011-02-27binutils/sstrip: build statically for static toolchains
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Feb 2011 15:34:30 +0100] rev 2324
binutils/sstrip: build statically for static toolchains

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

2011-02-27binutils/elf2flt: remove trailing spaces
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Feb 2011 16:20:47 +0100] rev 2323
binutils/elf2flt: remove trailing spaces

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

2011-02-27docs: rename chapter 9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 27 Feb 2011 15:27:54 +0100] rev 2322
docs: rename chapter 9

Rename the file so that it is the same name as the chapter.

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

2011-02-24docs: add chapter 9 to ToC
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Feb 2011 22:38:08 +0100] rev 2321
docs: add chapter 9 to ToC

Missed in the previous commit... :-/

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

2011-02-24docs: add an in-depth explanations of the build steps
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Feb 2011 22:31:15 +0100] rev 2320
docs: add an in-depth explanations of the build steps

The build process is quite complex: gcc is built three times, there are
two C library steps, there are those companion libraries...

People often wonder what all these steps do, and why they are needed.

Recently, someone proposed a tutorial on the crossgcc mailing list:
http://sourceware.org/ml/crossgcc/2011-01/msg00059.html

This meant that there was a need for such a tutorial, and explanations
on how a toolchain is built. So i decide to extend my answers:
http://sourceware.org/ml/crossgcc/2011-01/msg00060.html
http://sourceware.org/ml/crossgcc/2011-01/msg00125.html

into proper documentation in crosstool-NG.

Thanks go to Francesco for suggesting this. He has a fine tutorial
for beginners there:
http://fturco.org/wiki/doku.php?id=debian:cross-compiler

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

2011-02-23complibs/mpc: add latest version 0.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Feb 2011 00:12:16 +0100] rev 2319
complibs/mpc: add latest version 0.9

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

2011-02-23complibs/ppl: add latest version 0.11.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Feb 2011 00:10:57 +0100] rev 2318
complibs/ppl: add latest version 0.11.1

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

2011-02-22kernel/linux: fix typo in version string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Feb 2011 23:47:15 +0100] rev 2317
kernel/linux: fix typo in version string

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

2011-02-22cc/gcc: do not build plugins for static toolchains
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 22 Feb 2011 23:27:42 +0100] rev 2316
cc/gcc: do not build plugins for static toolchains

Plugins are shared objects, and when building a toolchain statically,
the gcc build system breaks havok (although there is no hard technical
reasons it should not be possible)...

And consequently, do not enable plugin supoprt in binutils.

Reported-by: Thomas Spurden <thomas@ado.is-a-geek.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-02-21libc/glibc: LinuxThreads are no longer supported in latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Feb 2011 23:42:20 +0100] rev 2315
libc/glibc: LinuxThreads are no longer supported in latest versions

In fact, it is only supported in a few legacy versions.

Keep LT available for all eglibc versions, although it might need
a similar safeguard...

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

2011-02-21libc/glibc: fix dubious construct when installing headers
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Feb 2011 19:27:28 +0100] rev 2314
libc/glibc: fix dubious construct when installing headers

This is dubious because if the copy fails, then we'll miss the error.

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

2011-02-21libc/glibc: only install start files for NPTL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Feb 2011 19:20:19 +0100] rev 2313
libc/glibc: only install start files for NPTL

Building the start files requires a shared-capable compiler, which we do
not have when the threading implementation is LinuxThreads.

So, only build the start files when the threading implementations is NPTL.

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

2011-02-21libc/glibc: add fortify option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Feb 2011 23:39:46 +0100] rev 2312
libc/glibc: add fortify option

By default, recent versions of glibc and eglibc will build some
functions that take format strings (eg. printf, syslog...) with
run-time checks against some format string attacks. This is
called a fortified build.

Unfortunately, this fails somehow while building the instrumented
version of syslog, with some kind of circular dependency...

Disable fortified builds by default, and hide the enabling option
behind EXPERIMENTAL for daring users...

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

2011-02-21internals: don't remove lib64 symlinks in sysroot
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Feb 2011 14:39:24 +0100] rev 2311
internals: don't remove lib64 symlinks in sysroot

The lib64 symlinks are needed for the linker to find the libraries.

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

2011-02-21kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Feb 2011 23:17:45 +0100] rev 2310
kernel/linux: add latest versions

... and remove old versions.

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

2010-12-18comptools: install them side-to-side with build tools
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 18 Dec 2010 22:55:56 +0100] rev 2309
comptools: install them side-to-side with build tools

As companion tools might or might not be used to build each
toolchain, they do belong to that toolchain's build tools,
not to the generic override tools.

Fix a typo in the autoconf URL.

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

2010-12-20buildtools: the buildtools dir is in fact a prefix
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 20 Dec 2010 00:07:29 +0100] rev 2308
buildtools: the buildtools dir is in fact a prefix

Consider the buildtools install directory as a prefix directory,
that is, install buildtools in prefix/bin/, not in prefix/.

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

2010-12-23buildtools: move to working directory
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 23 Dec 2010 20:43:32 +0100] rev 2307
buildtools: move to working directory

There is absolutely *no* reason for the buildtools (wrappers to gcc, g++,
as, ld... for the local machine) to be in the toolchain directory. Moreover,
they are removed after the build completes.

Move them out of the toolchain directory, and into the build directory (but
yet the part specific to the current toolchain). This means we no longer
need to explicitly remove them either, BTW, but we need to save/restore them
for the restart feature.

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

2011-02-20buildtools: store path to buildtools in a variable
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Feb 2011 22:12:43 +0100] rev 2306
buildtools: store path to buildtools in a variable

Currently, the buildtools are installed relative to ${CT_PREFIX_DIR}.
Change that by introducing ${CT_BUILDTOOLS_DIR}, which is
still set relative to ${CT_PREFIX_DIR}, but which will make it easy
to change in the future.

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

2011-01-22scripts: create the makeinfo wrapper before we set PATH
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 23:20:18 +0100] rev 2305
scripts: create the makeinfo wrapper before we set PATH

If we set PATH to the tools wrappers before we create the
makeinfo wrapper, then we may well wrap an existing wrapper
from a previous run.

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

2011-01-22kernel: move the headers install step
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:52:57 +0100] rev 2304
kernel: move the headers install step

The kernel headers are only needed just before we build
the C library headers, and need not be present before.

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

2011-02-17debug/gdb: add versions from Linaro
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 17 Feb 2011 23:05:34 +0100] rev 2303
debug/gdb: add versions from Linaro

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

2011-02-17cc/gcc: add versions from Linaro
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 17 Feb 2011 22:29:33 +0100] rev 2302
cc/gcc: add versions from Linaro

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

2011-02-17internals: fix stripping host binaries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 17 Feb 2011 21:54:07 +0100] rev 2301
internals: fix stripping host binaries

The gcc used by linaro has a version number specific to Linaro, but
identifies itself with its upstream version numbering scheme.

This breaks the strip in the finish step, because the actual gcc version
is not the same as the configured one (eg. 4.5.2 vs. linaro-4.5-2011.02-0).

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

2011-02-12libc/eglibc: Make eglibc 2.11 and 2.12 not experimental
Bryan Hundven <bryanhundven@gmail.com> [Sat, 12 Feb 2011 17:31:12 +0100] rev 2300
libc/eglibc: Make eglibc 2.11 and 2.12 not experimental

I haven't noticed the usual experimental testers complain about eglibc
2.11 or 2.12 being unstable. So stop marking them as experimental.

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

2011-02-12libc/eglibc: Add 2.13 branch
Bryan Hundven <bryanhundven@gmail.com> [Sat, 12 Feb 2011 17:30:53 +0100] rev 2299
libc/eglibc: Add 2.13 branch

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

2011-02-011.10: update version to 1.10.0+hg 1.10
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:20:35 +0100] rev 2298
1.10: update version to 1.10.0+hg

2011-02-01Tagging release 1.10.0 1.10
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:20:35 +0100] rev 2297
Tagging release 1.10.0

2011-02-011.10: create maintenance branch, update version to 1.10.0 1.10 crosstool-ng-1.10.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:20:35 +0100] rev 2296
1.10: create maintenance branch, update version to 1.10.0

2011-02-011.9: close branch 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:19:25 +0100] rev 2295
1.9: close branch

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

2011-02-011.9: update version to 1.9.3+hg 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:11:19 +0100] rev 2294
1.9: update version to 1.9.3+hg

2011-02-01Tagging release 1.9.3 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:11:19 +0100] rev 2293
Tagging release 1.9.3

2011-02-011.9: update version to 1.9.3 1.9 crosstool-ng-1.9.3
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 01 Feb 2011 00:11:19 +0100] rev 2292
1.9: update version to 1.9.3

2011-01-26libc/mingw: do not remove support symlink 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 26 Jan 2011 00:04:41 +0100] rev 2291
libc/mingw: do not remove support symlink

Under mingw, it seems that there is a mix between the traditional /usr
directory, and a similar-purposed /mingw directory (both in the sysroot).

Currently, we create /mingw as a symlink to /usr, and we removed it in
the libc-finish step.

Unfortunately, this prevents the pre-processor to find the headers.
Keeping the symlink makes it magically work...

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

2011-01-30samples: update the samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Jan 2011 19:25:56 +0100] rev 2290
samples: update the samples

Release time is coming at a fast pace. It is now time to
update the samples so they apply cleanly.

The canadian-cross sample mingw32,i686-none-linux-gnu has
been replaced with i586-mingw32msvc,i686-none-linux-gnu.

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

2011-01-31libc/glibc: add option to force unwind
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Jan 2011 19:52:18 +0100] rev 2289
libc/glibc: add option to force unwind

We make it an option, as not all combinations of architectures
vs. compiler vs. glibc/eglibc exhibit the issue. Mostly visible
on old glibc versions, it seems...

This is a missing part from the glibc/eglibc merger... :-/

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

2011-01-30scripts: update tools
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Jan 2011 19:31:51 +0100] rev 2288
scripts: update tools

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

2011-01-28cc/gcc: enable plugins if needed
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 28 Jan 2011 18:53:37 +0100] rev 2287
cc/gcc: enable plugins if needed

Enabling plugins in binutils is not enough, and gcc also
needs to be ./configured with --enable-plugins, although
this is not documented anywhere... :-/

Reported-by: karthik duraisami <kdconstant@hotmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-26scripts: squash the multi-slash in the sysroot symlink
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 26 Jan 2011 19:13:18 +0100] rev 2286
scripts: squash the multi-slash in the sysroot symlink

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

2011-01-29comptools: add make-3.81
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 29 Jan 2011 00:57:02 +0100] rev 2285
comptools: add make-3.81

Since the advent of make-3.82, some packages now break due to changes
in make-3.82, being stricter than 3.81 when interpreting the Makefiles.

This has bugged us a bit too much so far, and I believe fixing all
of them is a long road, while simply building make-3.81 is the easiest
route for now.

Of course, in the long term, packages will get fixed upstream, and we
should back-port the fixes to old versions, and get rid of building
make-3.81. In the meantime...

Reported several times on the mailing list.

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

2011-01-28config: add an option not to remove the destination directory
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 28 Jan 2011 22:06:49 +0100] rev 2284
config: add an option not to remove the destination directory

In certain circumstances, removing the destination/installation directory
is a bad idea. For example, when the build environment is already taking
care of sanitising the build tree, and pre-installs stuff in there, it is
a very bad idea to remove the destination directory.

This happens now in buildroot, as the crostool-NG backend now installs the
toolchain in the common host-tools directory, and pre-install there a few
host-utilities (eg. host-automake and host-gawk).

Provide a config knob to turn on/off the removal of the destination
directory, defaulting to 'y' (previous behavior), and forced to 'n' when
used as a backend.

Reported-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-26samples: update the mingw sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 26 Jan 2011 00:12:27 +0100] rev 2283
samples: update the mingw sample

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

2011-01-26libc/mingw: do not remove support symlink
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 26 Jan 2011 00:04:41 +0100] rev 2282
libc/mingw: do not remove support symlink

Under mingw, it seems that there is a mix between the traditional /usr
directory, and a similar-purposed /mingw directory (both in the sysroot).

Currently, we create /mingw as a symlink to /usr, and we removed it in
the libc-finish step.

Unfortunately, this prevents the pre-processor to find the headers.
Keeping the symlink makes it magically work...

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

2011-01-25config/toolchain: force use of sysroot if OBSOLETE is not set
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 25 Jan 2011 22:14:52 +0100] rev 2281
config/toolchain: force use of sysroot if OBSOLETE is not set

Use of the sysroot is highly recommended, and the non-sysroot case is
both obsolete and not widely tested.

Before the non-sysroot case can go away, deprecate it.

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

2011-01-25scripts: fix double slash in paths
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 25 Jan 2011 21:59:03 +0100] rev 2280
scripts: fix double slash in paths

Computed paths may contain double slashes.
This is not an issue but it is just ugly to look at.

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

2011-01-25config: add an option to name the sysroot directory
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 25 Jan 2011 20:31:16 +0100] rev 2279
config: add an option to name the sysroot directory

Depending on local policies, some users have expressed a need to
have the sysroot be named differently than the hard-coded name.

Add an option for that.
Default to 'sysroot' to match the existing literature.

While at it, replace 'sys-root' with 'sysroot' everywhere we
reference the sysroot.

Reported-by: Alexey Kuznetsov <Alexey.KUZNETSOV@youtransactor.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-22libc: remove now unneeded do_libc_headers
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:36:20 +0100] rev 2278
libc: remove now unneeded do_libc_headers

do_libc_headers is now a noop, and is no longer used, so remove that step.

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

2011-01-20libc/glibc-eglibc: misc janitorial cleanups.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 20 Jan 2011 00:27:36 +0100] rev 2277
libc/glibc-eglibc: misc janitorial cleanups.

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

2011-01-22libc/glibc: add glibc specifics to the shared code, and use it
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:35:58 +0100] rev 2276
libc/glibc: add glibc specifics to the shared code, and use it

Final step at sharing code between glibc and eglibc.
Fall, wall of shame, fall!... :-)

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

2011-01-22scripts: PARALLELMFLAGS is evil, rename
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:35:43 +0100] rev 2275
scripts: PARALLELMFLAGS is evil, rename

The reunification of the glibc/eglibc code paths exposed a nasty
bug in the glibc build: use of PARALLELMFLAGS breaks the build.

See the explanations in that bug report against FC6:
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=212111

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

2011-01-22libc/glibc: commonalise assembling the list of addons
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:35:18 +0100] rev 2274
libc/glibc: commonalise assembling the list of addons

glibc and eglibc each have two very similar ways of building this list.
This can, and should definitetly, be shared.

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

2011-01-22libc/glibc: commonalise setting of the minimum supported kernel version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:35:02 +0100] rev 2273
libc/glibc: commonalise setting of the minimum supported kernel version

It will be possible to use that also with eglibc, so this hunk belongs to
the common code.

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

2011-01-22libc/glibc: use the common start_files procedure
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:37:25 +0100] rev 2272
libc/glibc: use the common start_files procedure

Use the common procedure, shared between glibc and eglibc. This requires
that glibc-specific bits be included in the shared procedure.

But still build the full libc with the glibc-specific procedure. This will
be commonalised in a future commit.

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

2011-01-17libc/eglibc: cleanup common code for sharing with glibc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 17 Jan 2011 23:04:57 +0100] rev 2271
libc/eglibc: cleanup common code for sharing with glibc

Some stuff is eglibc-specific, so needs to be conditonal.

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

2011-01-17libc/eglibc: move generic code to a common file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 17 Jan 2011 23:04:37 +0100] rev 2270
libc/eglibc: move generic code to a common file

The build procedure for eglibc is generic enough to
be shared between glibc and eglibc. This includes:
- headers install (empty!)
- start files build
- complete libc build
- libc finish (empty!)
- add-ons list

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

2011-01-22libc/mingw: move content of do_libc_headers into do_libc_start_files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:32:44 +0100] rev 2269
libc/mingw: move content of do_libc_headers into do_libc_start_files

It is unnecessary to split C library preparation into two steps, as only
one really makes sense. So, do_libc_headers is bound to be withdrawn
short-term, in favor of do_libc_start_files.

mingw already had all its start files installation in do_libc_headers, and
do_libc_start_files was empty, just migrate the content of the former into
the latter.


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

2011-01-22libc/uClibc: move content of do_libc_headers into do_libc_start_files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 22 Jan 2011 22:32:25 +0100] rev 2268
libc/uClibc: move content of do_libc_headers into do_libc_start_files

It is unnecessary to split C library preparation into two steps, as only
one really makes sense. So, do_libc_headers is bound to be withdrawn
short-term, in favor of do_libc_start_files.

uClibc already had all its start files installation in do_libc_headers, and
do_libc_start_files was empty, just migrate the content of the former into
the latter.

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

2011-01-03libc-glibc: remove 2.3.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 03 Jan 2011 23:40:22 +0100] rev 2267
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

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

2011-01-03arch: remove ia64
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 03 Jan 2011 22:02:06 +0100] rev 2266
arch: remove ia64

ia64 is broken in every gcc/glibc combinations I tested (except for the
existing sample that used very old versions).

Nobody complained on the list about not being able to build recent versions.

So the only way forward I can see is to remove the architecture altogether.

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

2011-01-14kernel/linux: simplify the download URL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 14 Jan 2011 18:36:07 +0100] rev 2265
kernel/linux: simplify the download URL

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

2011-01-14kernel/linux: longterm kernel location changed
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 14 Jan 2011 18:32:38 +0100] rev 2264
kernel/linux: longterm kernel location changed

The location of the longterm Linux kernels on FTP has changed.
Here is a simple (but not very versatile) fix.

Signed-off-by: "Björn A. Herwig" <herwig@gdsys.de>
[yann.morin.1998@anciens.enib.fr: make it generic/versatile]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-13complibs/cloog: regenerate autostuff files 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 13 Jan 2011 23:20:39 +0100] rev 2263
complibs/cloog: regenerate autostuff files

Latest version of CLooG does not have properly generated autoconf files,
so they need to be regenerated before the call to ./configure

Signed-off-by: "Ilya A. Volynets-Evenbakh" <ilya@total-knowlege.com>
[yann.morin.1998@anciens.enib.fr: make it conditional on 0.15.10 only]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 32c7bbfa3f6514a0fbd5a7388d33e664ba62ed89)

2011-01-13complibs/cloog: regenerate autostuff files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 13 Jan 2011 23:20:39 +0100] rev 2262
complibs/cloog: regenerate autostuff files

Latest version of CLooG does not have properly generated autoconf files,
so they need to be regenerated before the call to ./configure

Signed-off-by: "Ilya A. Volynets-Evenbakh" <ilya@total-knowlege.com>
[yann.morin.1998@anciens.enib.fr: make it conditional on 0.15.10 only]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-081.9: update version to 1.9.2+hg 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 08 Jan 2011 18:49:08 +0100] rev 2261
1.9: update version to 1.9.2+hg

2011-01-08Tagging release 1.9.2 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 08 Jan 2011 18:49:08 +0100] rev 2260
Tagging release 1.9.2

2011-01-081.9: update version to 1.9.2 1.9 crosstool-ng-1.9.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 08 Jan 2011 18:49:07 +0100] rev 2259
1.9: update version to 1.9.2

2011-01-08debug/ltrace: fix building for mips 1.9
"Horst Kronstorfer" <horst.kronstorfer@aon.at> [Sat, 08 Jan 2011 18:07:02 +0100] rev 2258
debug/ltrace: fix building for mips

ltrace 0.5.3 currently fails to build for target mips because MY_TARGET
(introduced by patches/ltrace/0.5.3/150-allow-configurable-arch.patch)
is set to 'mips' via CT_ARCH, while the mips specific stuff in ltrace
(0.5.3) is stored under sysdeps/linux-gnu/mipsel:

result: *** No rule to make target `mips/arch.h', needed by `sysdep.h'.
Stop.

The following patch fixes this issue

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: reformat commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 2115901c7f07181d92ddbd7dd7ebeaa72e4fb176)

2010-12-30cc/gcc: fix building of ecjx 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 30 Dec 2010 21:09:36 +0100] rev 2257
cc/gcc: fix building of ecjx

When building ecjx, the compiler for the build system must
be used, not for the compiler for the host system.

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

2010-12-29complibs/libelf: build with -fPIC 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 02:34:18 +0100] rev 2256
complibs/libelf: build with -fPIC

libelf is used by gcc to build the lto-plugin used
by binutils' gold to perform LTO.

This requires that files in libelf be compiled with
-fPIC to generate a proper .so.

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

2011-01-03debug/gdb: fix for psim build failure due to -lz in gdb-7.2. 1.9
Horst Kronstorfer <horst.kronstorfer@aon.at> [Mon, 03 Jan 2011 19:07:34 +0100] rev 2255
debug/gdb: fix for psim build failure due to -lz in gdb-7.2.

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 78286fe70b62cee395bc603a5e44ef136c4531e3)

2010-12-29internals: properly remove all docs 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 19:41:17 +0100] rev 2254
internals: properly remove all docs

Part of the installed doc was not removed (if configured to).

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

2011-01-08debug/ltrace: fix building for mips
"Horst Kronstorfer" <horst.kronstorfer@aon.at> [Sat, 08 Jan 2011 18:07:02 +0100] rev 2253
debug/ltrace: fix building for mips

ltrace 0.5.3 currently fails to build for target mips because MY_TARGET
(introduced by patches/ltrace/0.5.3/150-allow-configurable-arch.patch)
is set to 'mips' via CT_ARCH, while the mips specific stuff in ltrace
(0.5.3) is stored under sysdeps/linux-gnu/mipsel:

result: *** No rule to make target `mips/arch.h', needed by `sysdep.h'.
Stop.

The following patch fixes this issue

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: reformat commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-08kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 08 Jan 2011 17:58:23 +0100] rev 2252
kernel/linux: add latest versions

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

2010-12-31samples: update i686-nptl-linux-gnu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 31 Dec 2010 00:16:19 +0100] rev 2251
samples: update i686-nptl-linux-gnu

Enable Java and Fortran frontends.

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

2010-12-30cc/gcc: fix building of ecjx
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 30 Dec 2010 21:09:36 +0100] rev 2250
cc/gcc: fix building of ecjx

When building ecjx, the compiler for the build system must
be used, not for the compiler for the host system.

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

2010-12-30samples: update i686-nptl-linux-gnu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 30 Dec 2010 21:06:04 +0100] rev 2249
samples: update i686-nptl-linux-gnu

Notable changes:
- uses binutils 2.21, builds gold, but defaults to ld
- uses gcc 4.5.2, with GRAPHITE and LTO, builds lto-plugin

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

2010-12-29cc/gcc: build lto-plugin if binutils' gold is built
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 17:58:35 +0100] rev 2248
cc/gcc: build lto-plugin if binutils' gold is built

To properly enable LTO with gold, gcc has to install a plugin that gold
uses to handle the LTO information.

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

2010-12-29binutils/binutils: add wrapper to gold and ld
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 18:19:40 +0100] rev 2247
binutils/binutils: add wrapper to gold and ld

When both gold and ld are installed, add a wrapper that calls
to either gold or ld.

In case the wrapper is installed, we also need to symlink ld.bfd
and ld.gold for the core_cc steps.

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

2011-01-02binutils/binutils: add support for threaded gold
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Jan 2011 13:52:16 +0100] rev 2246
binutils/binutils: add support for threaded gold

When configured with support for threads, gold can link in
parallel, possibly cooperating with a make jobserver.

Add an option enabling threads.

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

2011-01-02binutils/binutils: add support for plugins
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Jan 2011 13:56:05 +0100] rev 2245
binutils/binutils: add support for plugins

Add an option to enable plugins support in binutils.

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

2010-12-28binutils/binutils: add option to enable gold
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 28 Dec 2010 00:11:33 +0100] rev 2244
binutils/binutils: add option to enable gold

gold is a new, optimised, multi-threaded linker with support
for plugins.

Add support for gold starting with binutils 2.21. Although 2.20
also had gold, the configure flags have changed, and supporting
2.20 would be a mess in the code.

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

2010-12-28binutils/binutils: add BINUTILS_2_21_or_later blind option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 28 Dec 2010 19:07:21 +0100] rev 2243
binutils/binutils: add BINUTILS_2_21_or_later blind option

Add BINUTILS_2_21_or_later blind option. It will be used to add
conditional support for building 'gold' on versions that have it.

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

2010-12-29complibs/libelf: build with -fPIC
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 02:34:18 +0100] rev 2242
complibs/libelf: build with -fPIC

libelf is used by gcc to build the lto-plugin used
by binutils' gold to perform LTO.

This requires that files in libelf be compiled with
-fPIC to generate a proper .so.

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

2011-01-03debug/gdb: fix for psim build failure due to -lz in gdb-7.2.
Horst Kronstorfer <horst.kronstorfer@aon.at> [Mon, 03 Jan 2011 19:07:34 +0100] rev 2241
debug/gdb: fix for psim build failure due to -lz in gdb-7.2.

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-02samples: update after libc versions renaming
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Jan 2011 22:32:04 +0100] rev 2240
samples: update after libc versions renaming

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

2011-01-02libc/eglibc: normalize eglibc hidden version names
Bryan Hundven <bryanhundven@gmail.com> [Sun, 02 Jan 2011 22:33:04 +0100] rev 2239
libc/eglibc: normalize eglibc hidden version names

In the previous patches to glibc and uclibc, we standardized on hidden
version names:

LIBC_<LIBC NAME>_V_<VERSION>

This patch updates EGLIBC to be the same for consistency to:

LIBC_EGLIBC_V_<VERSION>

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

2011-01-03libc/uClibc: normalize uclibc hidden version names
Bryan Hundven <bryanhundven@gmail.com> [Mon, 03 Jan 2011 01:15:30 +0100] rev 2238
libc/uClibc: normalize uclibc hidden version names

Hidden version names for uClibc conflicted:

LIBC_UCLIBC_V_0_9_30_2
LIBC_V_0_9_30_1

name them constantly as:
LIBC_UCLIBC_V_<version>

Also update the build script where we use snapshots by version or snapshots by date.

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

2011-01-02libc/glibc: normalize glibc hidden version names
Bryan Hundven <bryanhundven@gmail.com> [Sun, 02 Jan 2011 22:32:48 +0100] rev 2237
libc/glibc: normalize glibc hidden version names

Hidden version names for glibc conflicted:

LIBC_GLIBC_V_2.10.1
LIBC_V_2.10

name them constantly as:
LIBC_GLIBC_V_<version>

Reported-by: Esben Haabendal <eha@doredevelopment.dk>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

2010-12-29internals: properly remove all docs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 19:41:17 +0100] rev 2236
internals: properly remove all docs

Part of the installed doc was not removed (if configured to).

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

2010-12-29libc/glibc: add 2.12.1 and 2.12.2
Heiko Zuerker <heiko@zuerker.org> [Wed, 29 Dec 2010 19:34:53 +0100] rev 2235
libc/glibc: add 2.12.1 and 2.12.2

Signed-off-by: Heiko Zuerker <heiko@zuerker.org>

2010-12-29libc/eglibc: remove obsolete patch
Chih-Min Chao <cmchao@gmail.com> [Wed, 29 Dec 2010 12:40:36 +0100] rev 2234
libc/eglibc: remove obsolete patch

That patch has been applied upstream as r8690.

Signed-off-by: Chih-Min Chao <cmchao@gmail.com>

2010-12-29cc/gcc: Add gcc 4.5.2
Bryan Hundven <bryanhundven@gmail.com> [Wed, 29 Dec 2010 02:00:21 +0100] rev 2233
cc/gcc: Add gcc 4.5.2

Add gcc 4.5.2.

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

2010-12-22libc/eglibc: fix installed scripts 1.9
Bryan Hundven <bryanhundven@gmail.com> [Wed, 22 Dec 2010 22:42:11 +0100] rev 2232
libc/eglibc: fix installed scripts

Like rev 2002, eglibc installs some bash scripts, but use the path to the
buildtool bash as the interpreter (on the shebang line). This is only a
symlink to the real bash, and thus is not available at runtime.

Fix that by assuming that shell on the target *will* be /bin/bash.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
(transplanted from 6884dcb80121ebc8ce17deee62716ed75fc29393)

2010-12-18config: fix the patch fallbacks methods 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 18 Dec 2010 23:08:12 +0100] rev 2231
config: fix the patch fallbacks methods

Reported-by: Heiko Zuerker <heiko@zuerker.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from e48654bf7e49d2ee40fec5fbbdaf00440329ee5f)

2010-12-22patches/eglibc: remove 100-powerpc-private_futex.patch from trunk
Bryan Hundven <bryanhundven@gmail.com> [Wed, 22 Dec 2010 22:42:28 +0100] rev 2230
patches/eglibc: remove 100-powerpc-private_futex.patch from trunk

100-powerpc-private_futex.patch no longer applies to eglibc trunk.
This patch was submitted upstream in trunk.

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

2010-12-22libc/eglibc: fix installed scripts
Bryan Hundven <bryanhundven@gmail.com> [Wed, 22 Dec 2010 22:42:11 +0100] rev 2229
libc/eglibc: fix installed scripts

Like rev 2002, eglibc installs some bash scripts, but use the path to the
buildtool bash as the interpreter (on the shebang line). This is only a
symlink to the real bash, and thus is not available at runtime.

Fix that by assuming that shell on the target *will* be /bin/bash.

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

2010-12-22kernel/linux: Cleanup unneeded files from 'headers_check' and 'headers_install'
Bryan Hundven <bryanhundven@gmail.com> [Wed, 22 Dec 2010 22:41:51 +0100] rev 2228
kernel/linux: Cleanup unneeded files from 'headers_check' and 'headers_install'

headers_install makes .install and ..install.cmd files.
headers_check makes .check and ..check.cmd files.
Remove these files uncoditionaly after installing (and checking) header files
into the sys-root.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[Yann E. MORIN: reformat the patch, move hunk out of headers_check conditional]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-22docs: overview.txt is gone, point to the new documentation
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 22 Dec 2010 00:34:56 +0100] rev 2227
docs: overview.txt is gone, point to the new documentation

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

2010-12-14config/binutils: Add binutils 2.21
Bryan Hundven <bryanhundven@gmail.com> [Tue, 14 Dec 2010 11:49:18 -0800] rev 2226
config/binutils: Add binutils 2.21

Currently depends on EXPERIMENTAL, as it is not well tested and I'm
not sure if/which patches need to be ported forward from 2.20.1.

2010-12-18config: fix the patch fallbacks methods
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 18 Dec 2010 23:08:12 +0100] rev 2225
config: fix the patch fallbacks methods

Reported-by: Heiko Zuerker <heiko@zuerker.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-19scripts: add doc for patch-rework
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 19 Dec 2010 11:57:08 +0100] rev 2224
scripts: add doc for patch-rework

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

2010-12-18scripts: update config.{sub,guess}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 18 Dec 2010 23:29:46 +0100] rev 2223
scripts: update config.{sub,guess}

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

2010-12-18kernel/linux: fix help for 2.6.35.10
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 18 Dec 2010 21:35:09 +0100] rev 2222
kernel/linux: fix help for 2.6.35.10

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

2010-12-17kernel/linux: bump to latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 17 Dec 2010 23:48:15 +0100] rev 2221
kernel/linux: bump to latest versions

- add 2.6.36.2.
- bump to 2.6.35.10, which is a new longterm.
- bump to 2.6.32.27 and 2.6.27.57, the two old longterms.
- update longterm descriptions.

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

2010-12-131.9: update version to 1.9.1+hg 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 13 Dec 2010 23:25:43 +0100] rev 2220
1.9: update version to 1.9.1+hg

2010-12-13Tagging release 1.9.1 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 13 Dec 2010 23:25:43 +0100] rev 2219
Tagging release 1.9.1

2010-12-131.9: update version to 1.9.1 1.9 crosstool-ng-1.9.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 13 Dec 2010 23:25:43 +0100] rev 2218
1.9: update version to 1.9.1

2010-12-03complibs/libelf: use host compiler 1.9
Kalle Kankare <kalle.kankare@vincit.fi> [Fri, 03 Dec 2010 12:36:44 +0100] rev 2217
complibs/libelf: use host compiler

It appears, that the configure scripts of libelf versions 0.8.13 and
0.8.12 do not honour the --host option. The compiler must be given as an
environment variable or the process will use the command "gcc" as the
compiler.

It seems that this is already done in the function do_libelf_target in
scripts/build/companion_libs/libelf.sh, but not in function do_libelf.
(transplanted from 81b4c0efa46f757b89c150f66e09615ee7c0f5a4)

2010-12-03complibs/libelf: use host compiler
Kalle Kankare <kalle.kankare@vincit.fi> [Fri, 03 Dec 2010 12:36:44 +0100] rev 2216
complibs/libelf: use host compiler

It appears, that the configure scripts of libelf versions 0.8.13 and
0.8.12 do not honour the --host option. The compiler must be given as an
environment variable or the process will use the command "gcc" as the
compiler.

It seems that this is already done in the function do_libelf_target in
scripts/build/companion_libs/libelf.sh, but not in function do_libelf.

2010-12-12libc: hide no-thread for those C libraries that do not support it
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Dec 2010 22:18:52 +0100] rev 2215
libc: hide no-thread for those C libraries that do not support it

Building non-threaded glibc has been unsupported for a long time, now:
http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html

As eglibc is a spin-off of glibc: ditto.

So do not offer that possibility in the menuconfig.
Thanks to Thomas Petazzoni for spotting, and helping to solve, the issue!

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

2010-12-12internals: fix stripping
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Dec 2010 20:47:40 +0100] rev 2214
internals: fix stripping

Do not try to strip any script.

Previously, only shell scripts were ignored, but when the Java frontend
is installed, it also installs a Python script. So we have to ignore
any "script text executable", and not restrict it to "shell script text
executable".

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

2010-12-05scripts/internals: strip all executables
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 05 Dec 2010 16:27:06 +0100] rev 2213
scripts/internals: strip all executables

Using a list of files to strip misses a few of them.
Now, scan appropriate directories, and strip all ELF
executables and shared objects.

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

2010-12-09cc/gcc: build bare-metal gcc statically
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:55:59 +0100] rev 2212
cc/gcc: build bare-metal gcc statically

- add a new parameter to do_cc_core: build_statically=[yes|no]
- pass build_statically=yes in core_pass_2 when doing bare_metal
- fix handling the static / static libstdc++ / static complibs stuff
- add a commment to keep both blocks (in core and final) in sync

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

2010-12-09cc/gcc: build final gcc statically
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:55:42 +0100] rev 2211
cc/gcc: build final gcc statically

If the global static option is set, then build the final gcc statically.

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

2010-12-09binutils/binutils: build statically
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:55:33 +0100] rev 2210
binutils/binutils: build statically

If the global static option is set, then build binutils statically.

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

2010-12-09debug/gdb: global static forces static cross-gdb
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 09 Dec 2010 18:55:15 +0100] rev 2209
debug/gdb: global static forces static cross-gdb

If the global static option is set, then build host binutils statically.

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

2010-12-09complibs: do not prompt for shared libs if static selected
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:54:46 +0100] rev 2208
complibs: do not prompt for shared libs if static selected

If the global static toolchain option is selected, then do not
prompt the user whether to build shared companion libraries.

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

2010-12-09config: add option to build statically linked toolchain
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:54:37 +0100] rev 2207
config: add option to build statically linked toolchain

Add a config option to statically build the host tools.
Impacted tools can use that option to decide wether to build
statically or shared.

For now, no tool uses it, but they'll be added one at a time
in the next commits.

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

2010-11-29complibs/cloog: fix linking with libstdc++
Bill Pringlemeir <bpringle@sympatico.ca> [Mon, 29 Nov 2010 00:50:21 +0100] rev 2206
complibs/cloog: fix linking with libstdc++

This rules out 0.15.5 and previous versions, that did not
have this option, so remove them from the list. Anyway,
they were marked 'OBSOLETE', so it's not a big loss...

[Yann E. MORIN: remove obsolete versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-11-29scripts: recover on partially downloaded files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 29 Nov 2010 00:26:39 +0100] rev 2205
scripts: recover on partially downloaded files

Download to an intermediate temp file, and rename it to its final
name only of download succeeds.

This catches both a failed download, and also the case where the user
interrupts the download. Thus, the a partial download gets discarded,
and we no longer try to extract a partial tarball, which we would
previously have done.

Suggested by Thomas PETAZZONI.

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

2010-11-16scripts: call curl and wget in sequence
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 16 Nov 2010 17:49:15 +0100] rev 2204
scripts: call curl and wget in sequence

It can happen, in some circumpstances, than one can succeed where
the other would fail. Those cases involves convoluted enterprise
networks with proxies playing tricks.

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

2010-11-16scripts: remove aria2c as downloader, retain only curl and wget
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 16 Nov 2010 10:00:27 +0100] rev 2203
scripts: remove aria2c as downloader, retain only curl and wget

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

2010-11-13cc/gcc: fix pr42289: incorrect alignment on OABI
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 13 Nov 2010 23:26:21 +0100] rev 2202
cc/gcc: fix pr42289: incorrect alignment on OABI

Fix building libffi on OABI.
Although it has been marked as 4.3-only, it is stil not fixed,
and also applies to 4.4.x

See:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289

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

2010-11-13cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildroot
Bryan Hundven <bryanhundven@gmail.com> [Sat, 13 Nov 2010 14:23:36 +0100] rev 2201
cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildroot

Reported-by: M P <buserror@gmail.com>
[Yann E. MORIN: add the patch to other 4.4.x]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-11-24kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Nov 2010 23:10:55 +0100] rev 2200
kernel/linux: add latest versions

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

2010-10-18complibs/CLooG: only install the libraries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 18 Oct 2010 16:51:01 +0200] rev 2199
complibs/CLooG: only install the libraries

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

2010-11-23scripts/xldd: better find sysroot with old gcc 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:28 +0100] rev 2198
scripts/xldd: better find sysroot with old gcc

Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result

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

2010-11-23scripts/xldd: stop at first match 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:10 +0100] rev 2197
scripts/xldd: stop at first match

Break the library search loop as soon as a match is found.
Previously, if a library was present in different places,
then the last occurence would be returned, when the first
one would have been used at runtime.

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

2010-11-23scripts/xldd: fix version string 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:34:56 +0100] rev 2196
scripts/xldd: fix version string

The version string was hard-coded.
Now, the version string follows the crosstool-NG version.

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

2010-11-23scripts/xldd: fix typoes 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:34:50 +0100] rev 2195
scripts/xldd: fix typoes

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

2010-11-23scripts/xldd: install only when shared libs enabled 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:24 +0100] rev 2194
scripts/xldd: install only when shared libs enabled

When the toolchain has no support for shared libraries, there is no
point in installing the cross-ldd helper.

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

2010-11-24scripts/xldd: try to handle RPATH tags
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Nov 2010 21:04:55 +0100] rev 2193
scripts/xldd: try to handle RPATH tags

The RPATH tags allow a binary to tell the dynamic linker what
directories to search for libraries. The so-added paths are
searched into before any other paths.

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

2010-11-23scripts/xldd: better handle the origin of the library
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:36:01 +0100] rev 2192
scripts/xldd: better handle the origin of the library

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

2010-11-24scripts/xldd: avoid reporting duplicates
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Nov 2010 21:01:46 +0100] rev 2191
scripts/xldd: avoid reporting duplicates

Once a NEEDED dependency has been solved, do not report it
if other dependencies depend on it.

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

2010-11-23script/xldd: add debug traces
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:45 +0100] rev 2190
script/xldd: add debug traces

Add debug traces to help understand how xldd finds the
libraries, what directories it scans, in which order...

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

2010-11-23scripts/xldd: parse /etc/ld.so.conf
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:41 +0100] rev 2189
scripts/xldd: parse /etc/ld.so.conf

Scan /etc/ld.so.conf for paths to search for libraries.
Also follow include directives in there.

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

2010-11-23scripts/xldd: better find sysroot with old gcc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:28 +0100] rev 2188
scripts/xldd: better find sysroot with old gcc

Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result

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

2010-11-23scripts/xldd: report appropriate load address for 32- or 64-bit
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:15 +0100] rev 2187
scripts/xldd: report appropriate load address for 32- or 64-bit

For 32-bit target systems, report 4-byte (8-xdigit) wide adresses,
and for 64-bit, report 8-byte (16-xdigit) wide adresses.

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

2010-11-23scripts/xldd: stop at first match
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:10 +0100] rev 2186
scripts/xldd: stop at first match

Break the library search loop as soon as a match is found.
Previously, if a library was present in different places,
then the last occurence would be returned, when the first
one would have been used at runtime.

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

2010-11-23scripts/xldd: fix space-damage
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:01 +0100] rev 2185
scripts/xldd: fix space-damage

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

2010-11-23scripts/xldd: fix version string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:34:56 +0100] rev 2184
scripts/xldd: fix version string

The version string was hard-coded.
Now, the version string follows the crosstool-NG version.

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

2010-11-23scripts/xldd: fix typoes
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:34:50 +0100] rev 2183
scripts/xldd: fix typoes

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

2010-11-23scripts/xldd: install only when shared libs enabled
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:24 +0100] rev 2182
scripts/xldd: install only when shared libs enabled

When the toolchain has no support for shared libraries, there is no
point in installing the cross-ldd helper.

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

2010-11-11libc/*glibc: enable selection of the oldest supported ABI
Bryan Hundven <bryanhundven@gmail.com> [Thu, 11 Nov 2010 01:11:17 +0100] rev 2181
libc/*glibc: enable selection of the oldest supported ABI

[Yann E. MORIN: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-11-11libc/*glibc: add option to disable symbols versioning
Bryan Hundven <bryanhundven@gmail.com> [Thu, 11 Nov 2010 00:29:53 +0100] rev 2180
libc/*glibc: add option to disable symbols versioning

[Yann E. MORIN: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-11-09libc/eglibc: fix downloading 1.9
Bob Dunlop <bob.dunlop@xyzzy.org.uk> [Tue, 09 Nov 2010 10:44:29 +0100] rev 2179
libc/eglibc: fix downloading

Since Subversion 1.6.13 was released, it is no longer possible
to checkout/export to the current working directory using '.'
(eg. "svn co bla://blabla/foo/bar ." no longer extracts the content
of bar into ./ but into ./bar).

Fix this by luring Subversion to extract into "$(pwd)", which has
the advantage of working both with all known versions so far.

At the same time, remove the useless redirection.
(transplanted from 42cc9bd0db7ea6d690efab40742881414f7c1277)

2010-11-09libc/eglibc: fix downloading
Bob Dunlop <bob.dunlop@xyzzy.org.uk> [Tue, 09 Nov 2010 10:44:29 +0100] rev 2178
libc/eglibc: fix downloading

Since Subversion 1.6.13 was released, it is no longer possible
to checkout/export to the current working directory using '.'
(eg. "svn co bla://blabla/foo/bar ." no longer extracts the content
of bar into ./ but into ./bar).

Fix this by luring Subversion to extract into "$(pwd)", which has
the advantage of working both with all known versions so far.

At the same time, remove the useless redirection.

2010-11-031.9: update version to 1.9.0+hg 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 03 Nov 2010 19:11:25 +0100] rev 2177
1.9: update version to 1.9.0+hg

2010-11-03Tagging release 1.9.0 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 03 Nov 2010 19:11:24 +0100] rev 2176
Tagging release 1.9.0

2010-11-031.9: create maintenance branch, update version to 1.9.0 1.9 crosstool-ng-1.9.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 03 Nov 2010 19:11:24 +0100] rev 2175
1.9: create maintenance branch, update version to 1.9.0

2010-11-031.8: close branch 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 03 Nov 2010 19:10:23 +0100] rev 2174
1.8: close branch

2010-11-03samples: update all samples to latest config knobs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 03 Nov 2010 18:30:30 +0100] rev 2173
samples: update all samples to latest config knobs

No new feature, no newer version, only updates so that
samples can be recalled without anything to set.

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

2010-11-03testsuite: fix gcc test-suite
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 03 Nov 2010 18:36:51 +0100] rev 2172
testsuite: fix gcc test-suite

DG_TARGET does not exist as a variable, it is expanded only once
at installation time.

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

2010-11-01scripts: also overide LANG
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 01 Nov 2010 16:59:39 +0100] rev 2171
scripts: also overide LANG

On some systems, we also need to overide LANG as well as LC_ALL.

Reported-by: Geoffrey Lee <geoffl@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-11-01contrib: fix gcc test suite on system without echo -e
Andy Gibbs <andyg1001@hotmail.co.uk> [Mon, 01 Nov 2010 01:12:39 +0100] rev 2170
contrib: fix gcc test suite on system without echo -e

Fix the use of quotes in contrib/gcc-test-suite/Makefile to solve the
problem where board.exp is incorrectly generated on some build systems
where 'echo -e' is not handled correctly.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
[Yann E. MORIN: fix space damage, pretty-up the stuff]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-10-31libc/glibc: fix glibc-2.10.1 patchset
"Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com> [Sun, 31 Oct 2010 20:17:30 +0100] rev 2169
libc/glibc: fix glibc-2.10.1 patchset

There was a missing '#" to a '#define' line.

2010-10-29debug/gdb: Update version to 7.2
Jon Ringle <jon@ringle.org> [Fri, 29 Oct 2010 14:42:17 -0400] rev 2168
debug/gdb: Update version to 7.2

Signed-off-by: Jon Ringle <jon@ringle.org>

2010-10-23libc/newlib: add option to compile support for IOs on C99 formats
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Oct 2010 01:21:20 +0200] rev 2167
libc/newlib: add option to compile support for IOs on C99 formats

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

2010-10-23libc/newlib: add option to compile support for long long IOs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Oct 2010 00:53:41 +0200] rev 2166
libc/newlib: add option to compile support for long long IOs

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

2010-10-23libc/newlib: add option to compile support for float IOs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Oct 2010 00:54:46 +0200] rev 2165
libc/newlib: add option to compile support for float IOs

Adds support to enable/disable IOs of floating point values
(float, double, and long double).

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

2010-10-31Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Oct 2010 17:59:45 +0100] rev 2164
Merge.

2010-10-31scripts: do not provide to-sysroot include symlink
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Oct 2010 16:50:07 +0100] rev 2163
scripts: do not provide to-sysroot include symlink

Do not provide the PREFIX/TUPLE/include -> SYSROOT/usr/include symlink,
and let gcc install its dependable C++ headers were it sees fit to
install them.

See the test by Anthony (by the end of the messages):
http://sourceware.org/ml/crossgcc/2010-10/msg00129.html
http://sourceware.org/ml/crossgcc/2010-10/msg00134.html

See also the comment by Arnaud:
http://sourceware.org/ml/crossgcc/2010-10/msg00157.html

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

2010-10-24Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Oct 2010 22:03:53 +0200] rev 2162
Merge.

2010-10-24Revert #a09246191120: cc/gcc: fix C++ headers location
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 24 Oct 2010 22:03:47 +0200] rev 2161
Revert #a09246191120: cc/gcc: fix C++ headers location

This was intended as a fix for g++ not finding its headers,
but it breaks in othe horrible ways. So just revert it.

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

2010-10-31kernel/linux: update versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 31 Oct 2010 12:44:36 +0100] rev 2160
kernel/linux: update versions

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

2010-10-23kernel/linux: nuke oldish versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Oct 2010 23:29:46 +0200] rev 2159
kernel/linux: nuke oldish versions

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

2010-10-23kernel/linux: add 2.6.36
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Oct 2010 23:28:48 +0200] rev 2158
kernel/linux: add 2.6.36

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

2010-10-23complibs/cloog: add latest version 0.15.10
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 23 Oct 2010 23:21:36 +0200] rev 2157
complibs/cloog: add latest version 0.15.10

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

2010-10-18libc/eglibc: add 2.11 and 2.12 branches.
Bryan Hundven <bryanhundven@gmail.com> [Mon, 18 Oct 2010 23:32:02 -0700] rev 2156
libc/eglibc: add 2.11 and 2.12 branches.

Also fix typo s/LIBC_V_2_10/EGLIBC_V_2_10/

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)

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

2010-09-19cc/gcc: add 4.3.5
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 19 Sep 2010 18:37:18 +0200] rev 2124
cc/gcc: add 4.3.5

4.3.5 is the latest 4.3 version, and probably the last one.

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

2010-09-12cc/gcc: disable complibs if not selected
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 23:51:25 +0200] rev 2123
cc/gcc: disable complibs if not selected

Force gcc to not link with some companion libraries when
there are not needed (because selected-out).

There is no option to tell gcc *not* to build the Graphite and/or
LTO stuff. They *will* be built if gcc finds the suitable companion
libraries. If we do not provide them, but the host has them, then
gcc *will* find them, and link with them.

Consider the following:
- host has suitable PPL and CLooG (eg. Debian Squeeze)
- user wants to build gcc>=4.4
- user de-selects GRAPHITE
- gcc will find the hosts PPL and CLooG, and will use them
- the user moves the toolchain to an older host that does
not have them (eg. Debian Lenny)
- the toolchain fails, when it was properly setup not to

So, explicitly tell gcc *not* to use unneeded companion libs.

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

2010-09-12cc/gcc: do not force use of non-vital companion libraries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 20:54:54 +0200] rev 2122
cc/gcc: do not force use of non-vital companion libraries

While GMP and MPFR are required by gcc>=4.3 (to build the frontends),
and MPC is required by gcc>=4.5, the other libs are not. If they are
present then gcc will enable advanced features; if they are missing,
then gcc will (should) simply disable those features.

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

2010-09-10complibs: fix dependencies
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 10 Sep 2010 01:16:26 +0200] rev 2121
complibs: fix dependencies

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

2010-09-12arch/mips: add experimental mips64 samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 23:38:18 +0200] rev 2120
arch/mips: add experimental mips64 samples

Both toolchains were tested to successfully:
- _build_ busybox, giving respectively an n32 and an n64 binary
although it has not been run-tested.
- build linux-2.6.36-rc3 for Loongson, giving an n64 vmlinux
(which is expected, due to the way the kernel is built),
and the kernel properly boots!

Credits are due to Julien MOUTHINO (julm on freenode#uClibc) for
testing that the kernel boots on his hardware! Cheers! ;-)

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

2010-09-12libc/uClibc: use the MIPS ABI selection
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 22:15:12 +0200] rev 2119
libc/uClibc: use the MIPS ABI selection

Use the MIPS ABI selection to properly munge the uClibc config file.

This has the side effect to force the ISA:
- n32 ABI -> MIPS-III ISA
- n64 ABI -> MIPS64 ISA

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

2010-09-12arch/mips: add option for MIPS ABIs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 22:14:04 +0200] rev 2118
arch/mips: add option for MIPS ABIs

This adds selection for one of the o32, n32 and n64 ABIs.
Later, we can easily use those boolean options, rather than
relying on a user-supplied string option.

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

2010-09-11scripts/internal: cleanup build symlinks
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 11 Sep 2010 17:55:54 +0200] rev 2117
scripts/internal: cleanup build symlinks

The symlinks are needed only during the build process.
The final gcc will still search those dirs, but will also search
the standard lib/ dirs, so we can get rid of the symlinks.

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

2010-09-10scripts: hack-in lib32->lib symlinks
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 10 Sep 2010 12:14:24 +0200] rev 2116
scripts: hack-in lib32->lib symlinks

Some archs (eg. ppc64 with n32 ABI) will install their
variants in lib32/ instead of lib/, so do for lib32 as
we do for lib64->lib symlinks.

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

2010-09-10libc/uClibc: change munging code based on target arch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 10 Sep 2010 13:23:58 +0200] rev 2115
libc/uClibc: change munging code based on target arch

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

2010-09-12arch/sh: move config-options to second-part
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 00:07:41 +0200] rev 2114
arch/sh: move config-options to second-part

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

2010-09-12arch/alpha: move config-options to second-part
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 00:05:46 +0200] rev 2113
arch/alpha: move config-options to second-part

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

2010-09-11arch/ppc: move config-options to second-part
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 11 Sep 2010 23:41:25 +0200] rev 2112
arch/ppc: move config-options to second-part

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

2010-09-11arch/arm: move config-options to second-part
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 11 Sep 2010 12:42:22 +0200] rev 2111
arch/arm: move config-options to second-part

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

2010-09-11config/arch: re-organise architecture-specific options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 11 Sep 2010 12:38:12 +0200] rev 2110
config/arch: re-organise architecture-specific options

Move the arch-specific options to the second-part of
the generated files, so they appear after the generic
options, but before the optimisations.

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

2010-09-12config: change name of default build dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Sep 2010 21:38:12 +0200] rev 2109
config: change name of default build dir

'targets' is not really meaningfull.
'build' means what it means.
'.build' just hides it as well! :-)

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

2010-08-31binutils/binutils: remove faulty patch 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 31 Aug 2010 23:24:40 +0200] rev 2108
binutils/binutils: remove faulty patch

The added code should be conditinal to the target system
being !MIPS, but is based on the host system being !MIPS.

This is plain wrong, and had not been noticed until now
as I never used those binutils versions on MIPS.

See:
http://sourceware.org/ml/crossgcc/2010-08/msg00192.html

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

2010-08-31binutils/binutils: remove faulty patch
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 31 Aug 2010 23:24:40 +0200] rev 2107
binutils/binutils: remove faulty patch

The added code should be conditinal to the target system
being !MIPS, but is based on the host system being !MIPS.

This is plain wrong, and had not been noticed until now
as I never used those binutils versions on MIPS.

See:
http://sourceware.org/ml/crossgcc/2010-08/msg00192.html

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

2010-08-31kernel/mingw32: show only for x86, 32-bit targets
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 31 Aug 2010 18:52:07 +0200] rev 2106
kernel/mingw32: show only for x86, 32-bit targets

Mingw32 on non-x86, non-32-bit target makes no sense

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

2010-08-31kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 31 Aug 2010 18:57:56 +0200] rev 2105
kernel/linux: add latest versions

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

2010-08-31kernel/linux: remove old versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 31 Aug 2010 19:02:45 +0200] rev 2104
kernel/linux: remove old versions

Remove those versions whose series does no longer appear on the
front page of kernel.org

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

2010-08-26scripts/log: do not interpret log string as printf format 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 Aug 2010 23:36:54 +0200] rev 2103
scripts/log: do not interpret log string as printf format

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

2010-08-30complibs: remove help entries, as they're not used
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 30 Aug 2010 22:51:22 +0200] rev 2102
complibs: remove help entries, as they're not used

The help entries for each of the companion libraries are now
wrong, and anyway are not displayed. Nuke, nuke, nuke...

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

2010-08-23debug/gdb: use libexpat
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 10:47:00 +0200] rev 2101
debug/gdb: use libexpat

gdb can use libexpat to parse target memory descriptions,
among other things. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00168.html

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

2010-08-23debug/gdb: install dependable libs in a generic target static libs dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 14:32:16 +0200] rev 2100
debug/gdb: install dependable libs in a generic target static libs dir

For now, ncurses is the only dependable target library built for gdb.
But expat is coming, and there's no reason to install each library in
its own place.

So, install ncurses in a generic directory, where other dependable
libraries can be installed as well.

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

2010-08-23complibs: noone is using companion libs on the target; nuke them
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 23:18:49 +0200] rev 2099
complibs: noone is using companion libs on the target; nuke them

As there's no longer any user of the companion libraries on the
target, nuke the build for the target.

Well, at least, there's libelf that's still needed by ltrace, so
we keep it.

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

2010-08-23debug/gdb: companion libs are not used
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 10:38:15 +0200] rev 2098
debug/gdb: companion libs are not used

Although the gdb ./configure advertises for GMP and MPFR, those libraries
are not used by gdb (the ./configure is used across different packages,
hence the check for GMP/MPFR). See:
http://sourceware.org/ml/crossgcc/2010-08/msg00168.html

The same applies to MPC.

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

2010-08-23binutils/binutils: companion libraries are not used
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 20:21:43 +0200] rev 2097
binutils/binutils: companion libraries are not used

GNU binutils does not use the companion libraries, although
./configure advertises switches for them. This is because the
configure file is shared between different packages, and is
a bit 'lax' about what it checks. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00160.html
http://sourceware.org/ml/crossgcc/2010-08/msg00161.html

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

2010-08-26scripts/log: do not interpret log string as printf format
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 Aug 2010 23:36:54 +0200] rev 2096
scripts/log: do not interpret log string as printf format

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

2010-08-241.8: update version to 1.8.1+hg 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 24 Aug 2010 00:15:36 +0200] rev 2095
1.8: update version to 1.8.1+hg

2010-08-24Tagging release 1.8.1 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 24 Aug 2010 00:15:36 +0200] rev 2094
Tagging release 1.8.1

2010-08-241.8: update version to 1.8.1 1.8 crosstool-ng-1.8.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 24 Aug 2010 00:15:36 +0200] rev 2093
1.8: update version to 1.8.1

2010-08-11scripts: in case of failed download, remove partial files 1.8
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 11 Aug 2010 20:07:18 +0200] rev 2092
scripts: in case of failed download, remove partial files

It happens from time to time that the server mis-behaves, and breaks the
connection right in the middle of nowhere, for no good reason, leaving us
with a partial file, on which the extract pass would choke.

Remove partial downloads, to fail early.

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

2010-08-23docs: review REaDME
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 23 Aug 2010 23:24:16 +0200] rev 2091
docs: review REaDME

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

2010-08-21libc/glibc: repair debugging with gdb (glibc 2.9)
Titus von Boxberg <titus@v9g.de> [Sat, 21 Aug 2010 16:46:24 +0200] rev 2090
libc/glibc: repair debugging with gdb (glibc 2.9)

Without this patch, crosstool-ng-built glibc-2.9 prevents
debugging any exeutable with gdb.
gdb says:
[Thread debugging using libthread_db enabled]
find_new_threads_callback: cannot get thread info: generic error
See also https://bugzilla.redhat.com/show_bug.cgi?id=487212
for a discussion of the bug and the solution.

2010-08-21internals: call strip in a portable way
Titus von Boxberg <titus@v9g.de> [Sat, 21 Aug 2010 16:45:50 +0200] rev 2089
internals: call strip in a portable way

strip on CT_HOST darwin does not want --strip-all or -v

2010-08-17binutils/binutils: forward-port the patchset from 2.20 to 2.20.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Aug 2010 19:48:49 +0200] rev 2088
binutils/binutils: forward-port the patchset from 2.20 to 2.20.1

Among other things, this should fix the issue reported by Thomas at:
http://sourceware.org/ml/crossgcc/2010-08/msg00115.html

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

2010-08-17libc/mingw: fix space-damage
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Aug 2010 23:50:03 +0200] rev 2087
libc/mingw: fix space-damage

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

2010-08-15mingw32: enable sysrooted toolchains
Esben Haabendal <eha@doredevelopment.dk> [Sun, 15 Aug 2010 00:00:51 +0200] rev 2086
mingw32: enable sysrooted toolchains

When targeting mingw32, gcc expects to find its include files
in "mingw/include" instead of the traditional "usr/include".

[Yann E. MORIN: split the original patch]