2014-05-05cc/gcc: only build required core passes
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 05 May 2014 23:24:05 +0200] rev 3300
cc/gcc: only build required core passes

We now know exactly what pass to build, so build only what is required.

Reported-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2014-05-05cc: add options to differentiate the need for pass-1 and pass-2
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 05 May 2014 23:29:48 +0200] rev 3299
cc: add options to differentiate the need for pass-1 and pass-2

In some cases, building the core pass-1 is unneeded, as the C library
will not try to build anything when installing headers, or sill not
install anything at all.

This is for example the case for newlib, wihch does not require a core
pass-1 since it builds nothing and installs no header.

This should also be the case for newer glibc-es with newer gcc-es,
which no longer require a core pass-1, since the circular dependency
glibc <-> gcc (about TLS?) has been resolved.

Reported-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2014-05-05configure: look for more usual g-variants of some tools
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 05 May 2014 21:54:03 +0200] rev 3298
configure: look for more usual g-variants of some tools

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

2014-05-05configure: prefer g-variants
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 05 May 2014 19:36:35 +0200] rev 3297
configure: prefer g-variants

For awk and make, we currently check the standard names as found on
a classic GNU-userland system, and then fallback to looking for the
g-named variants as found on a *BSD system.

But it happens that the usual name might also be available on a *BSD
system, so we should first check the g-variant.

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

2014-03-18configure.ac: respect 'g' variants of libtool/libtoolize
Andreas Bießmann <andreas@biessmann.de> [Tue, 18 Mar 2014 17:01:10 +0100] rev 3296
configure.ac: respect 'g' variants of libtool/libtoolize

BSD OS'es (OS X for me) provide GNU tools with prefixed 'g'. To find correct
versions of libtool/libtoolize on those systems search also for
glibtool/glibtoolize.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: search for the g-variant first]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <2f1530b54afcb6a00e1d.1395158786@andreas-mbp.er.biessmann.org>
Patchwork-Id: 331467

2014-04-18cc/gcc: fix the PR58595 patch
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 18 Apr 2014 22:46:06 +0200] rev 3295
cc/gcc: fix the PR58595 patch

It applies manually with fuzz 2, but ct-ng does not accept any fuxx at all.

So, re-diff the patch so it applies cleanly.

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

2014-04-17cc/gcc: add some bug fixes to gcc 4.7.3 and 4.8.2
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 17 Apr 2014 18:17:12 +0200] rev 3294
cc/gcc: add some bug fixes to gcc 4.7.3 and 4.8.2

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

2014-03-11comptools: do not force build of make-3.81 unless really needed
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 11 Mar 2014 22:11:43 +0100] rev 3293
comptools: do not force build of make-3.81 unless really needed

On systems with make-3.82, we forcibly force the build and the use
of make-3.81

But some newer tools break when building with make-3.81. For example,
eglibc-3.18 breaks.

Introduce a new blind options that tools may select if they require
make-3.81. If the system does not have make-3.81, and this option is
selected, then we force the build of make-3.81. Otherwise, we leave
it to the user to decide on his own.

Note that no component selects this option for now. It will come in
later patches as we find them.

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

2014-02-20If GNU make 3.81 is not found then build it as a companion tool.
Ray Donnelly <mingw.android@gmail.com> [Thu, 20 Feb 2014 18:23:08 +0000] rev 3292
If GNU make 3.81 is not found then build it as a companion tool.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
[yann.morin.1998@free.fr: add message "checking for make 3.81"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <8b8bf6998f3d239f6c74.1392920971@advancedsearch.virginmedia.com>
Patchwork-Id: 322302

2014-02-20Companion tools are no longer experimental
Ray Donnelly <mingw.android@gmail.com> [Thu, 20 Feb 2014 18:22:50 +0000] rev 3291
Companion tools are no longer experimental

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <3e204a5cf9648db53a6a.1392920970@advancedsearch.virginmedia.com>
Patchwork-Id: 322301

2014-02-04binutils: Added ranlib to tools list
Ray Donnelly <mingw.android@gmail.com> [Tue, 04 Feb 2014 07:40:45 +0000] rev 3290
binutils: Added ranlib to tools list

so that it is available to available to
the core C compiler build because static
libraries are built and ranlib is used
on them.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dt=+DdnKAHNShfs6a+=7sS+DLQYkyxnQMAwmw7E7zqvgA@mail.gmail.com>
Patchwork-Id: 316477

2014-02-19debug/ltrace: pump ltrace to version 0.7.3
Daniel Zimmermann <netzimme@gmail.com> [Wed, 19 Feb 2014 22:36:03 +0100] rev 3289
debug/ltrace: pump ltrace to version 0.7.3

pump ltrace to version 0.7.3
backport a patch from Peter Wu to silence warnings/errors in ltrace

Signed-off-by: '"Peter Wu" <lekensteyn@gmail.com>'
Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>'
[yann.morin.1998@free.fr: remove superfluous empty lines]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <8349c35b506aa79c4e69.1392845765@haus-VirtualBox>
Patchwork-Id: 322017

2014-02-17kernel/linux: pump ISL to version 0.12.2
Daniel Zimmermann <netzimme@gmail.com> [Mon, 17 Feb 2014 07:11:45 +0100] rev 3288
kernel/linux: pump ISL to version 0.12.2

kernel/linux: pump ISL to version 0.12.2

pump ISL to version 0.12.2

Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>'
[yann.morin.1998@free.fr: remove superfluous empty lines]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <93ee409eb70170262d84.1392617512@haus-VirtualBox>
Patchwork-Id: 320849

2014-02-16kernel/linux: pump glibc to version 2.19
Daniel Zimmermann <netzimme@gmail.com> [Sun, 16 Feb 2014 23:53:29 +0100] rev 3287
kernel/linux: pump glibc to version 2.19

pump glibc to version 2.19

Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>'
Message-Id: <b9df94ed76365f8bfd0b.1392591214@haus-VirtualBox>
Patchwork-Id: 320827

2014-02-15debug/gdb: pump gdb to version 7.7
Daniel Zimmermann <netzimme@gmail.com> [Sat, 15 Feb 2014 15:49:57 +0100] rev 3286
debug/gdb: pump gdb to version 7.7

pump gdb to version 7.7

Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>'
[yann.morin.1998@free.fr: remove superfluous empty lines]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <a1bcc8a58a4613f0b8bf.1392475799@haus-VirtualBox>
Patchwork-Id: 320657

2014-02-11complibs/cloog: bump version
danielrubiob@gmail.com [Tue, 11 Feb 2014 21:34:48 +0100] rev 3285
complibs/cloog: bump version

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
[yann.morin.1998@free.fr: re-order versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
Message-Id: <c2de3964cd6d5e4173cc.1391984023@uemo>
Patchwork-Id: 318637

2014-02-09complibs/mpc: bump version
danielrubiob@gmail.com [Sun, 09 Feb 2014 22:24:56 +0100] rev 3284
complibs/mpc: bump version

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <d78f3a4ba2df1e076851.1391984022@uemo>
Patchwork-Id: 318636

2014-02-09complibs/gmp: bump version
danielrubiob@gmail.com [Sun, 09 Feb 2014 22:23:59 +0100] rev 3283
complibs/gmp: bump version

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <e0361ed37146d025171f.1391984021@uemo>
Patchwork-Id: 318635

2014-02-09cc/gcc: update linaro GCC 4.7 & 4.8 to version 2014.01
danielrubiob@gmail.com [Sun, 09 Feb 2014 22:21:15 +0100] rev 3282
cc/gcc: update linaro GCC 4.7 & 4.8 to version 2014.01

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <08addb73e684d5e36f22.1391984020@uemo>
Patchwork-Id: 318634

2014-01-16libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and later
Daniel Schultze <kinglag@gmail.com> [Thu, 16 Jan 2014 14:55:23 -0800] rev 3281
libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and later

Make 3.82 broke makefiles that used implicit and explicit rules on the
same line.

This was a undocumented feature that broke many makefiles.

This patch removes the offending rule and replaces it with two separate rules.

Signed-off-by: Daniel Schultze <kinglag@gmail.com>
[yann.morin.1998@free.fr: make it a crosstool-ng patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAEsx0Y-PDK7g6XanR=GRWT-8efMX=qAuB4Ub7wakF5sH=tQGxA@mail.gmail.com>
Patchwork-Id: 311876

2014-01-16configure: s/don't/do not/
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 16 Jan 2014 23:22:19 +0100] rev 3280
configure: s/don't/do not/

The autoconf manual suggests not to use ' in messages.

I don't why they do, but it breaks syntax-highlighting.

Just remove the lone quote we have.

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

2014-01-04cc/gcc: add option to enable/disable decimal floats
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Jan 2014 16:17:40 +0100] rev 3279
cc/gcc: add option to enable/disable decimal floats

Decimal floats need support form the C library, namely support
for fenv, which is missing in uClibc for any architecture but
x86/32.

Add an option (a choice) to enable or disable decimal floats.

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

2014-01-15libc/eglibc: does no longer support LinuxThreads
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 15 Jan 2014 23:24:27 +0100] rev 3278
libc/eglibc: does no longer support LinuxThreads

LinuxThreads are dead. Buried 6 feet under. Long forgotten.
Time for mourning has to come to an end.

But fear not, younster, for we have a great successor as NPTL!
Times for rejoicing have come, now!

LinuxThreads are dead. Long live NPTL!

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

2014-01-05cc/gcc: bump Linaro versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 Jan 2014 19:44:45 +0100] rev 3277
cc/gcc: bump Linaro versions

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

2014-01-04libc/uClibc: add option to enable fenv
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Jan 2014 16:19:18 +0100] rev 3276
libc/uClibc: add option to enable fenv

Support for fenv.h is a little bit more tricky that enabling it only
for x86-32 is not right.

Add an option for the user to choose whther to install fenv.h or not.

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

2014-01-06libc/glibc: fix downloading addons
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 06 Jan 2014 20:05:14 +0100] rev 3275
libc/glibc: fix downloading addons

Do to glibc what we did to eglibc in #dff359adf15c.

Only (very) old versions of glibc have other external addons,
and they are no longer meaningful.

But for consistency, do the change nonetheless.

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

2014-01-05libc/glibc: print name of skipped addon
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 Jan 2014 19:25:54 +0100] rev 3274
libc/glibc: print name of skipped addon

When trying to extract an already present (aka bundled) addon,
print the name of that addon, for clarity, and to help analyse
the build.log post-mortem.

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

2014-01-04cc/gcc: set CXXFLAGS at configure gcc
Daniel Dittmann <ddittmann@gmx.net> [Sat, 04 Jan 2014 20:16:18 +0100] rev 3273
cc/gcc: set CXXFLAGS at configure gcc

Since gcc 4.8 C++ is also used as implementation language (see gcc
release notes).

Signed-off-by: "Daniel Dittmann" <ddittmann@gmx.net>
Message-Id: <acc7d11bc77b30f21c5b.1388863298@bernalk.machteam>
Patchwork-Id: 306883

2014-01-04libc-uclibc: enable fenv for x86 32-bit
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Jan 2014 01:10:13 +0100] rev 3272
libc-uclibc: enable fenv for x86 32-bit

Without it, gcc-4.8 fails to build.

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

2014-01-04cc/gcc: diable libsanitizer without NPTL
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Jan 2014 01:02:57 +0100] rev 3271
cc/gcc: diable libsanitizer without NPTL

gcc-4.8 comes with a new library to sanitise memory access:
- heap-, stack-, and global-buffer overflow, use-after-free
- data-races between threads

This library requires some _np parts of the API, which are not
implemented in the (old) LinuxThreads, which is still available
in uClibc.

Since NPTL requires a i486 or above, i386 are stuck with using LT,
which precludes building the libsanitizer.

Disable libsanitizer, a bit like libatomic is.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Niels Penneman <niels@penneman.org>

2014-01-03libc/eglibc: fix downloading of localedef addon
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 Jan 2014 17:10:09 +0100] rev 3270
libc/eglibc: fix downloading of localedef addon

For the versions of eglibc where the ports addon is not external (ie,
all versions after, and including 2.17), we would fail to download the
localedef addon, since the test did not care about the addon we were
about to download, only whether the ports addon was external or not.

Fix that by skipping the ports addon only if that's the addon we're
trying to download.

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

2014-01-03cc/gcc: fix gcc 4.8 build for C library without threads support
Niels Penneman <niels@penneman.org> [Fri, 03 Jan 2014 10:57:48 +0100] rev 3269
cc/gcc: fix gcc 4.8 build for C library without threads support

Signed-off-by: Niels Penneman <niels@penneman.org>
Message-Id: <309df93f4354c80e05c9.1388743085@i7sb.local>
Patchwork-Id: 306521

2014-01-03binutils/binutils: 2.24 is 2_24_or_later and experimental
Niels Penneman <niels@penneman.org> [Fri, 03 Jan 2014 10:49:02 +0100] rev 3268
binutils/binutils: 2.24 is 2_24_or_later and experimental

Signed-off-by: Niels Penneman <niels@penneman.org>
Message-Id: <8cc1deb25227cd5c33c8.1388742700@i7sb.local>
Patchwork-Id: 306519

2014-01-03scripts: do not allow commas in directories, it breaks things
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 Jan 2014 00:13:15 +0100] rev 3267
scripts: do not allow commas in directories, it breaks things

The comma is used by the autotools as separator in many sed expressions,
which break if a directory contains commas.

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

2014-01-02libc/newlib: fix typo in "bump version to 2.1.0"
Daniel Zimmermann <netzimme@gmail.com> [Thu, 02 Jan 2014 10:35:44 +0100] rev 3266
libc/newlib: fix typo in "bump version to 2.1.0"

Fix a typo in the commit http://crosstool-ng.org/hg/crosstool-ng/rev/b966620c7b1e

Signed-off-by: "Daniel Zimmermann" netzimme@gmail.com
Message-Id: <f2dbd80da6affb11089a.1388669655@haus-VirtualBox>
Patchwork-Id: 306129

2014-01-01kernel/linux: fix fall-out due to arm64 special case
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Jan 2014 19:14:20 +0100] rev 3265
kernel/linux: fix fall-out due to arm64 special case

Cset 3b61be3d7aa6 (prepare for arch whose kenel name is not the standard name)
failed to name a variable consistently, so all archs but arm64 were broken.

Fix that by renaming the variable in a consistent way.

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-12-31binutils/binutils: drop redundant 'select'
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Dec 2013 18:03:33 +0100] rev 3264
binutils/binutils: drop redundant 'select'

No need to 'select' gold and plugins in versions later
than 2.21, since we inherit them with 2_21_or_later.

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

2013-12-31binutils/binutils: add 2.24
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Dec 2013 17:58:54 +0100] rev 3263
binutils/binutils: add 2.24

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

2013-12-30arch/arm: add support for AArch64
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Dec 2013 23:28:18 +0100] rev 3262
arch/arm: add support for AArch64

AArch64 id the 64-bit variant for ARM.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Cc: Michael Hope <michael.hope@linaro.org>

2013-12-30kernel/linux: prepare for arch whose kenel name is not the standard name
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Mon, 30 Dec 2013 23:15:02 +0100] rev 3261
kernel/linux: prepare for arch whose kenel name is not the standard name

For some architectures, the kernel architecture name is not the common
name of the architecture for other tools.

For example: ARM 64-bit is commonly referenced as aarch64, but the kernel
calls it arm64.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@free.fr: split out of the aarch64 patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-12-31scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Dec 2013 13:02:57 +0100] rev 3260
scripts: update config.{guess,sub}

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

2013-12-31libc/newlib: fix variables for avr32 headers
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Dec 2013 12:55:21 +0100] rev 3259
libc/newlib: fix variables for avr32 headers

Some of the avr32headers related variables are used in different
functions, so have to be declared globally, not locally.

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

2013-12-31libc/newlib: bump version to 2.1.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Dec 2013 12:25:27 +0100] rev 3258
libc/newlib: bump version to 2.1.0

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

2013-12-30binutils/binutils: 2.23.2 is a 2_23_or_later (ie. has gold)
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Dec 2013 19:08:37 +0100] rev 3257
binutils/binutils: 2.23.2 is a 2_23_or_later (ie. has gold)

Thus spake Niels:
This commit adds support for binutils 2.23.2

http://crosstool-ng.org/hg/crosstool-ng/rev/bc4b36e3df0c

However, in 'config/binutils/binutils.in <http://binutils.in>' the
Kconfig option to select this version of binutils does not automatically
select the symbol 'BINUTILS_2_23_or_later'. This makes gold unavailable
for the latest version of binutils. I'm not sure whether this is on
purpose or not, my impression is that you forgot to add the line "select
BINUTILS_2_23_or_later".

The problem still persists in the latest version in the repository
(032ebcc89c96).

Reported-by: Niels Penneman <niels@penneman.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-11-22cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2
Daniel Zimmermann <netzimme@gmail.com> [Fri, 22 Nov 2013 00:34:49 +0100] rev 3256
cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2

Fix the problem with parallel build on gcc 4.8.0, 4.8.1 and 4.8.2
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683

and

http://gcc.gnu.org/viewcvs?rev=205189&root=gcc&view=rev
Log:
2013-11-21 Zhenqiang Chen <zhenqiang.chen@linaro.org>

PR bootstrap/57683
Backport from mainline: r197467 and r198999.
2013-04-03 Jeff Law <law@redhat.com>

* Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
(lra-eliminations.o): Likewise.

2013-05-16 Jeff Law <law@redhat.com>

* Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H).

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <66398633eea949023e0d.1385290839@haus-VirtualBox>
Patchwork-Id: 293742

2013-11-25debug/strace: pump version to 4.7 and 4.8
Daniel Zimmermann <netzimme@gmail.com> [Mon, 25 Nov 2013 08:56:55 +0100] rev 3255
debug/strace: pump version to 4.7 and 4.8

Pump version for strace to 4.7 and 4.8.
Add patch from strace mainline.


Work around conflict between <sys/ptrace.h> and <linux/ptrace.h>

Since glibc-2.18~39 <sys/ptrace.h> defines ptrace_peeksiginfo_args
which collides with <linux/ptrace.h>.

* configure.ac: Check for `struct ptrace_peeksiginfo_args' in
<sys/ptrace.h>.
* process.c: Work around potential conflict between <sys/ptrace.h>
and <linux/ptrace.h> by redefining ptrace_peeksiginfo_args.
* signal.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.
http://sourceforge.net/p/strace/code/ci/0b4060f61f1bb101b5d8d084714b7d2feacdb199/

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <67b082cf1cdc8276eb4a.1385366288@haus-VirtualBox>
Patchwork-Id: 293842

2013-11-19cc/gcc: Add Fortran support for Baremetal build
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Tue, 19 Nov 2013 14:44:02 +0800] rev 3254
cc/gcc: Add Fortran support for Baremetal build

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@free.fr: fix damage due to mailer]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CACgzC7D5HCVS-qX=ydcQphNFH=VGgJzTdZWQWaLKAv-CdE8crA@mail.gmail.com>
Patchwork-Id: 292703

2013-12-08complibs/ppl: Fix build of ppl 0.11.2 with gmp 5.1 and later
Bernhard Walle <bernhard@bwalle.de> [Sun, 08 Dec 2013 12:53:14 +0100] rev 3253
complibs/ppl: Fix build of ppl 0.11.2 with gmp 5.1 and later

The fix is backported from
http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=9f843aecc23981aec6ed1eaa8be06e6786a47f0d.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Message-Id: <9a012bed87b494cfe0d4.1386503894@euler.fritz.box>
Patchwork-Id: 298789

2013-11-16kernel/linux: bump versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 16 Nov 2013 18:14:45 +0100] rev 3252
kernel/linux: bump versions

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

2013-11-16libc/{glibc,eglibc}: Don't download glibc-ports when not available
Daniel Zimmermann <netzimme@gmail.com> [Sat, 16 Nov 2013 16:16:51 +0100] rev 3251
libc/{glibc,eglibc}: Don't download glibc-ports when not available

Don't download glibc-ports when glibc or eglibc version greater than 2.16,
because the "ports" source is mainline in the glibc or eglibc since version 2.17.

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <9c045ca3cf1b9dc89da3.1384602843@haus-VirtualBox>
Patchwork-Id: 291766
[yann.morin.1998@free.fr: slightly tweak subject, change variable name]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-11-16debug/gdb: add gdb 7.5.1 and gdb 7.6.1
Daniel Zimmermann <netzimme@gmail.com> [Sat, 16 Nov 2013 11:33:31 +0100] rev 3250
debug/gdb: add gdb 7.5.1 and gdb 7.6.1

debug/gdb: add gdb 7.5.1 and gdb 7.6.1

add gdb version 7.5.1 and gdb version 7.6.1

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <2fc4afda19bca864dd9c.1384600083@haus-VirtualBox>
Patchwork-Id: 291762
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-11-15debug/gdb: fix canadian-cross in case of static cross gdb
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 15 Nov 2013 21:35:27 +0100] rev 3249
debug/gdb: fix canadian-cross in case of static cross gdb

Building the cross-gdb shoud be done using the host compiler,
not the native compiler.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-11-15libc/(e)glibc: fix extra configparms
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 15 Nov 2013 21:21:12 +0100] rev 3248
libc/(e)glibc: fix extra configparms

In case ${CT_LIBC_GLIBC_CONFIGPARMS} starts with a dash, printf will try
to interpret it as an option for itself, and will invariably flail in
panic as it does not recognise any of it.

Use a more robust solution, as suggested by Cody.

Reported-by: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <devel-lists@codyps.com>

2013-11-15scripts/functions: use portable 'gzip -dc'
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 15 Nov 2013 21:16:52 +0100] rev 3247
scripts/functions: use portable 'gzip -dc'

'zcat' on MacOS-X is broken (it is not gzip's zcat, but compres' zcat).

Use 'gzip -dc' for portability, as suggested by Anthony.

Reported-by: Fernando Ortiz <fortiz2k@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anthony Foiani <anthony.foiani@gmail.com>

2013-11-15scripts: remove duplicate '/' in prefix, it breaks relocation
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 15 Nov 2013 18:58:42 +0100] rev 3246
scripts: remove duplicate '/' in prefix, it breaks relocation

Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-11-08cc/gcc: add 4.8.2
Richard Weinberger <richard@nod.at> [Fri, 08 Nov 2013 15:24:20 +0100] rev 3245
cc/gcc: add 4.8.2

Signed-off-by: Richard Weinberger <richard@nod.at>
Message-Id: <4620980ca8475c89a71f.1383921709@azrael>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-11-08cc/gcc: Add support for golang
Richard Weinberger <richard@nod.at> [Fri, 08 Nov 2013 15:18:09 +0100] rev 3244
cc/gcc: Add support for golang

Signed-off-by: Richard Weinberger <richard@nod.at>
Message-Id: <ca374aef944e28a6ec3c.1383921708@azrael>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-10-07libc/eglibc: add latest version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 07 Oct 2013 00:16:38 +0200] rev 3243
libc/eglibc: add latest version

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

2013-10-07libc/glibc: add latest version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 07 Oct 2013 00:16:20 +0200] rev 3242
libc/glibc: add latest version

Take two patches from upstream at the same time.

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

2013-10-07kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 07 Oct 2013 00:03:19 +0200] rev 3241
kernel/linux: add latest versions

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

2013-10-07binutils/binutils: add new versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 07 Oct 2013 00:00:34 +0200] rev 3240
binutils/binutils: add new versions

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

2013-10-04samples: add a Sparc sample
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 04 Oct 2013 23:14:36 +0200] rev 3239
samples: add a Sparc sample

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

2013-10-021.19: update version to 1.19.0+hg 1.19
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 Oct 2013 20:06:18 +0200] rev 3238
1.19: update version to 1.19.0+hg

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

2013-10-02Tagging release 1.19.0 1.19
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 Oct 2013 20:06:18 +0200] rev 3237
Tagging release 1.19.0

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

2013-10-021.19: create maintenance branch, update version to 1.19.0 1.19 crosstool-ng-1.19.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 Oct 2013 20:06:18 +0200] rev 3236
1.19: create maintenance branch, update version to 1.19.0

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

2013-10-02samples: further fix before release
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 Oct 2013 19:11:34 +0200] rev 3235
samples: further fix before release

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

2013-10-02samples: update for the release
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 02 Oct 2013 00:02:44 +0200] rev 3234
samples: update for the release

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

2013-09-30complibs/ppl: add patch from upstream to fix data dir
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Sep 2013 20:06:16 +0200] rev 3233
complibs/ppl: add patch from upstream to fix data dir

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

2013-09-30cc/gcc: fix companion libs selection
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 30 Sep 2013 00:21:36 +0200] rev 3232
cc/gcc: fix companion libs selection

Cset #15eedf548d33 (cc/gcc: add preliminray support for 4.8) left a
lingering 'select CLOOG_NEEDED', which should have been removed.

Fix that.

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

2013-09-14configure: Add --with-gperf option
Ray Donnelly <mingw.android@gmail.com> [Sat, 14 Sep 2013 02:45:23 +0100] rev 3231
configure: Add --with-gperf option

On OS X, Apple supply an old gperf (3.0.3) with xcode and
xcode commandline tools which causes build failures:

./zconf.hash.c:183:17: error: expected expression
{offsetof(struct kconf_id_strings_t, kconf_id_strings_str2),

.. upgrading to gperf 3.0.4 was sufficient to fix this,
so this option allows the user to specify the gperf
program that they wish to use.

To install gperf 3.0.4 from homebrew, I did:

brew tap homebrew/dupes
brew install homebrew/dupes/gperf

.. then passed --with-gperf=$BREWFIX/Cellar/gperf/3.0.4/bin/gperf
to configure

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dtCmcJ9WiqmQ81MmZeRPcV-tDOqe9=kRDW4uQGuZNd2Ng@mail.gmail.com>
Patchwork-Id: 274892

2013-08-01complibs/isl: add HTTP mirror
Michael Hope <michaelh@juju.net.nz> [Thu, 01 Aug 2013 20:24:35 +0000] rev 3230
complibs/isl: add HTTP mirror

Add well-known HTTP mirror as a fallback. This lets crosstool-ng
work when behind a HTTP/HTTPS only proxy.

Signed-off-by: Michael Hope <michaelh@juju.net.nz>
[me: split original patch in two]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <aeb4a850d0786ee62dc2.1375559989@wanda>
Patchwork-Id: 264436

2013-08-01libc/newlib: add HTTP mirror
Michael Hope <michaelh@juju.net.nz> [Thu, 01 Aug 2013 20:24:35 +0000] rev 3229
libc/newlib: add HTTP mirror

Add well-known HTTP mirror as a fallback. This lets crosstool-ng
work when behind a HTTP/HTTPS only proxy.

Signed-off-by: Michael Hope <michaelh@juju.net.nz>
[yann.morin.1998@free.fr: split patch in two]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <aeb4a850d0786ee62dc2.1375559989@wanda>
Patchwork-Id: 264436

2013-07-29cc/gcc: add 4.8.1
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 29 Jul 2013 00:06:35 +0200] rev 3228
cc/gcc: add 4.8.1

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

2013-07-24kernel/linux: bump versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 24 Jul 2013 23:03:48 +0200] rev 3227
kernel/linux: bump versions

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

2013-07-24complibs/ppl: fix build when local system has libgmp already installed
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 24 Jul 2013 19:11:18 +0200] rev 3226
complibs/ppl: fix build when local system has libgmp already installed

Basically, the ppl configure script wasn't properly setting
CFLAGS/CXXFLAGS/LDFLAGS to point at the ctng-built gmp, so ppl tried to
use the system gmp headers instead.

This patch fixes that for all PPL versions supported by crosstools-ng.

Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
[yann.morin.1998@free.fr: slightly touch the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20130715230656.GB23382@shaftnet.org>
Patchwork-Id: 259300

2013-07-17docs/help: rename defconfig/olddefconfig into
Thomas De Schampheleire <patrickdepinguin@gmail.com> [Wed, 17 Jul 2013 08:25:43 +0200] rev 3225
docs/help: rename defconfig/olddefconfig into

After commit 15f57d843296e244487ac0845a73247f9d6749b8, the defconfig target
has been renamed into savedefconfig, and olddefconfig into defconfig. However,
the help text and man page was not updated.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[yann.morin.1998@free.fr: rename CONFIG -> DEFCONFIG]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <0c1dff89c9ee1672693f.1374042343@BEANTN0L019720>
Patchwork-Id: 259601

2013-07-17docs: fix typos in manpage
Thomas De Schampheleire <patrickdepinguin@gmail.com> [Wed, 17 Jul 2013 08:25:42 +0200] rev 3224
docs: fix typos in manpage

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <62dedb0618a46bf0743f.1374042342@BEANTN0L019720>
Patchwork-Id: 259600

2013-07-10Allow reordered MAKEFLAGS
Ray Donnelly <mingw.android@gmail.com> [Wed, 10 Jul 2013 12:40:21 +0100] rev 3223
Allow reordered MAKEFLAGS

-R and -r (-Rr) can be reordered to -r and -R (-rR).
This happens with MSYS1/2 gnu-make and mingw32-make,
and triggers "Recursion detected, bailing out..."

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dsdsg-XaDOwwEWJeUUSo2Vu_UD5GtkSgNTu59ai7yx0cQ@mail.gmail.com>
Patchwork-Id: 258027

2013-06-28debug/gdb: update Linaro GDB revision for 2013.05
"Michael Hope <michaelh@juju.net.nz>" [Fri, 28 Jun 2013 22:35:06 +0200] rev 3222
debug/gdb: update Linaro GDB revision for 2013.05

Update Linaro GDB with the latest available revision.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <bea34f42853a9d87a628.1372452016@localhost>
Patchwork-Id: 255667

2013-06-28cc/gcc: update Linaro GCC revisions for 2013.06
"Michael Hope <michaelh@juju.net.nz>" [Fri, 28 Jun 2013 22:23:54 +0200] rev 3221
cc/gcc: update Linaro GCC revisions for 2013.06

Update Linaro GCC with the latest available revisions.

Also updates Linaro GCC 4.6 to the final version.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <83e33862f7641c2ad326.1372451435@localhost>
Patchwork-Id: 255666

2013-05-23complibs/mpc: add versions 1.0 and 1.0.1
Daniel Rubio Bonilla <danielrubiob@gmail.com> [Thu, 23 May 2013 17:51:15 +0200] rev 3220
complibs/mpc: add versions 1.0 and 1.0.1

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <CAOfWMGAc7XMXYNZ2Tz-a4PgRrCsAz5hN5NkH9KRe9+pm+go7UQ@mail.gmail.com>
Patchwork-Id: 245977

2013-05-05cc/gcc: add 4.8.0 and linaro-4.8
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 18:01:47 +0200] rev 3219
cc/gcc: add 4.8.0 and linaro-4.8

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

2013-05-05complibs/cloog: add support for the ISL backend
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 00:01:05 +0200] rev 3218
complibs/cloog: add support for the ISL backend

CLooG 0.18+ will use ISL instead of PPL, so we have to configure
adequately depending of which backend is in use.

The Kconfig entries will decide for us which is selected, so we
can rely on either PPL xor ISL to be selected, not both.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL support,
which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-05-05cc/gcc: add preliminray support for 4.8
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 17:59:00 +0200] rev 3217
cc/gcc: add preliminray support for 4.8

This means:
- introduce the new symbols for 4.8
- do not always select PPL if graphite is selected

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add gcc-4.8 support,
which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-05-04complibs: add ISL
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 May 2013 00:08:34 +0200] rev 3216
complibs: add ISL

ISL is used by gcc-4.8 onward for GRAPHITE, so is also used as
backend for CLooG 0.18.0 onward.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL, which this one is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-05-13cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Mon, 13 May 2013 15:00:56 +0800] rev 3215
cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.

>From 4.8, g++ is used as the default compiler to build the toolchain.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Message-Id: <CACgzC7B-LQvAw3hOYhBA7b7g0H1WtH20gqXM=Y=YFO4FrnZKWQ@mail.gmail.com>
Patchwork-Id: 243590

2013-05-03scripts: handle gcc 4.7 and 4.8 in addToolsVersion.sh
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 May 2013 17:12:15 +0000] rev 3214
scripts: handle gcc 4.7 and 4.8 in addToolsVersion.sh

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

2013-05-05cc/gcc: reorder version strings
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 18:00:16 +0200] rev 3213
cc/gcc: reorder version strings

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

2013-05-05scripts: help debugging missing directories
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 18:34:20 +0200] rev 3212
scripts: help debugging missing directories

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

2013-05-06kernel/linux: bump versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 06 May 2013 11:44:28 +0200] rev 3211
kernel/linux: bump versions

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

2013-05-03cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releases
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 May 2013 15:36:11 +0000] rev 3210
cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releases

Bring the appropriate patches along, too.

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

2013-05-02cc/gcc: modify to build gcc-4.8-based cross-tools
Jongsung Kim <neidhard.kim@lge.com> [Thu, 02 May 2013 23:31:33 +0000] rev 3209
cc/gcc: modify to build gcc-4.8-based cross-tools

Building cross-tool based on gcc-4.8 fails while "Installing
pass-2 core C compiler", because building libgcc.mvars needs
libbacktrace.a that gcc.sh doesn't build. This patch inserts
a few lines configuring, and making libbacktrace into gcc.sh
to build gcc-4.8-based cross-tools successfully.

Reported-by: Plotnikov Dmitry <leitz@ispras.ru>
Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Message-Id: <201305031831.33395.neidhard.kim@lge.com>
Patchwork-Id: 241258

2013-04-26complibs/mpfr: bump version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 26 Apr 2013 14:30:34 +0200] rev 3208
complibs/mpfr: bump version

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

2013-04-26complibs/gmp: bump version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 26 Apr 2013 14:30:05 +0200] rev 3207
complibs/gmp: bump version

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

2013-04-13complibs/ppl: only add -fpermissive flag to CXXFLAGS
Samuel Martin <smartin@aldebaran-robotics.com> [Sat, 13 Apr 2013 19:41:36 +0200] rev 3206
complibs/ppl: only add -fpermissive flag to CXXFLAGS

-fpermissive is not a valid option to gcc.

Adding it to the CFLAGS make the ppl checks fail with the following
error:

[ALL ] Making check in tests
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ERROR] make[7]: *** [formatted_output.o] Error 1

Signed-off-by: "Samuel Martin" <smartin@aldebaran-robotics.com>
Message-Id: <bba2482a06a11415207e.1365876457@smartin-de-2.aldebaran.lan>
Patchwork-Id: 236383

2013-03-21scripts/functions: add xz-ed linux tarballs
"Jerzy Grzegorek" <jerzy.grzegorek@trzebnica.net> [Thu, 21 Mar 2013 11:01:09 +0100] rev 3205
scripts/functions: add xz-ed linux tarballs

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Message-Id: <d0ec17a687dc80754e0f.1363860872@NX5000>
Patchwork-Id: 229619

2013-03-21kernel/linux: add xz-ed linux tarballs
"Jerzy Grzegorek" <jerzy.grzegorek@trzebnica.net> [Thu, 21 Mar 2013 10:57:31 +0100] rev 3204
kernel/linux: add xz-ed linux tarballs

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Message-Id: <f249828223fc75313bee.1363860871@NX5000>
Patchwork-Id: 229618

2013-03-31arch/avr32: Fix download of header files
Martin Guy <martinwguy@gmail.com> [Sun, 31 Mar 2013 04:07:38 +0000] rev 3203
arch/avr32: Fix download of header files

This patch fixes the download of the avr32 headers in crosstool-ng by
fetching them directly from Atmel's web site instead of the now-broken URL
given by the original author of the avr32-header-fetching modification,
who fetched them from a copy on his own, now-defunct server.

It also adds the necessary logic to extract from a zip file, as that is
how the headers are packaged.

To configure it for avr32 after launching ct-ng menuconfig in an empty
directory:

Paths and misc options ->
Shell to use as CONFIG_SHELL = sh
Target options ->
Target Architecture = avr32
Toolchain options ->
Tuple's alias = avr32
Binary utilities ->
binutils version = 2.18a
C compiler
gcc version = 4.2.2
C-library
newlib version = 1.17.0
Enable IOs on long long = yes
Enable IOs on floats and doubles = yes
Disable the syscalls supplied with newlib = yes

CONFIG_SHELL is necessary to get round the "fragment: command not
found" bug when binutils-2.18 is configured using bash.

Prepared against crosstool-ng mercurial trunk on 31 March 2012.

Signed-off-by: Martin Guy <martinwguy@gmail.com>
[yann.morin.1998@free.fr: update bundles sample accordingly]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAL4-wQrg_NQ7jm-NCADqeyQr9twyhtx42OUGNThP6gWeqZc=kw@mail.gmail.com>
Patchwork-Id: 232612

2013-04-11kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 11 Apr 2013 15:24:46 +0200] rev 3202
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: added newer versions released since]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <435dcc4cade342ab9ee0.1365686746@advdt005-ubuntu>
Patchwork-Id: 235741

2013-04-11cc/gcc: update Linaro GCC revisions to 2013.04
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 11 Apr 2013 15:12:10 +0200] rev 3201
cc/gcc: update Linaro GCC revisions to 2013.04

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <ac1b52916838e470ff4d.1365686289@advdt005-ubuntu>
Patchwork-Id: 235740

2013-03-16debug/dmalloc: enforce cross-compilation
"Samuel Martin" <s.martin49@gmail.com> [Sat, 16 Mar 2013 15:33:44 +0100] rev 3200
debug/dmalloc: enforce cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <69772732f551aa342a2c.1363446264@laptop>
Patchwork-Id: 228221

2013-03-16debug/strace: enforce cross-compilation
"Samuel Martin" <s.martin49@gmail.com> [Sat, 16 Mar 2013 15:47:56 +0100] rev 3199
debug/strace: enforce cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <24b6540a08cbca7ee1fa.1363446263@laptop>
Patchwork-Id: 228220

2013-03-16debug/gdb: enforce gdbserver cross-compilation
"Samuel Martin" <s.martin49@gmail.com> [Sat, 16 Mar 2013 15:46:45 +0100] rev 3198
debug/gdb: enforce gdbserver cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <ca85cad85c4dd20e74f1.1363446262@laptop>
Patchwork-Id: 228219

2013-03-14kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 14 Mar 2013 22:03:33 +0100] rev 3197
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <14c04210a1dc18f3c678.1363295061@advdt005-ubuntu>
Patchwork-Id: 227803

2013-03-14cc/gcc: update Linaro GCC revisions to 2013.03
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 14 Mar 2013 21:52:31 +0100] rev 3196
cc/gcc: update Linaro GCC revisions to 2013.03

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <702c72b9ddddd4ff1120.1363294492@advdt005-ubuntu>
Patchwork-Id: 227794

2013-03-03libc/glibc: do not overwrite existing bits/syscall.h
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 22:24:40 +0100] rev 3195
libc/glibc: do not overwrite existing bits/syscall.h

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Rafael C <groups.r2@gmail.com>
Cc: Jérôme BARDON <bardon.pro@gmail.com>
Cc: Daniel Price <daniel.price@gmail.com>

2013-03-03libc/glibc: fix installing syscall.h when installing start-files.
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 22:18:35 +0100] rev 3194
libc/glibc: fix installing syscall.h when installing start-files.

Reported-by: Rafael C <groups.r2@gmail.com>
Reported-by: Jérôme BARDON <bardon.pro@gmail.com>
Reported-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: use a conditional approach, also suggested by Daniel]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-03-03debug/gdb: a litle bit of trivial code-reordering
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 17:17:55 +0100] rev 3193
debug/gdb: a litle bit of trivial code-reordering

Move all options-setting code at the same place.

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

2013-03-03debug/gdb: fix possibly broken code
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 17:15:56 +0100] rev 3192
debug/gdb: fix possibly broken code

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

2013-03-03debug/gdb: move the ncurses build to a backend
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 16:21:51 +0100] rev 3191
debug/gdb: move the ncurses build to a backend

This cleans up the code a bit.

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

2013-03-03debug/gdb: always enable expat for the cross-gdb
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 16:19:32 +0100] rev 3190
debug/gdb: always enable expat for the cross-gdb

There's no point in not supporting XML in the cross-gdb.
I mean, come on... ;-)

It's still the responsibility of the user to have the necessary
devel expat packages installed for his/her distro.

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

2013-03-03debug/gdb: fix $need_expat_src usage for native-gdb
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 15:30:02 +0100] rev 3189
debug/gdb: fix $need_expat_src usage for native-gdb

For the native-gdb (ie on the target), we unconditionally
need to build expat.

Make it a backend, it makes a litle bit cleaner code.

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

2013-03-03debug/gdb: fix $need_ncurses_src usage
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 15:25:52 +0100] rev 3188
debug/gdb: fix $need_ncurses_src usage

It should be used only to decide whether we need to download/extract
ncurses, not wheter we should build it or not.

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

2013-03-03debug/gdb: fix the mess do_{gdb,expat,ncurses} have become
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 15:02:32 +0100] rev 3187
debug/gdb: fix the mess do_{gdb,expat,ncurses} have become

Rename those three variables to properly reflect their purpose: decide
whether we need to download/extract gdb/libexpat/libncurses, not whether
we need to build them or not.

This is only a rename for now, subsequent changes will further
fix this mess.

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

2013-03-03libc/newlib: update fetch location
Trevor Woerner <twoerner@gmail.com> [Sun, 03 Mar 2013 13:10:51 -0500] rev 3186
libc/newlib: update fetch location

The menu system provides an option to allow a user to request newlib
version 2.0.0. newlib-2.0.0, however, is not available at the download
location currently being used. It is, however, available (as are other
supported versions of newlib) at an alternate location.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Message-Id: <75ab5151c7f5dc9086e3.1362334313@suse64>
Patchwork-Id: 224561

2013-02-25Makefile: fix parrallel (-j) installs
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 25 Feb 2013 21:19:31 +0100] rev 3185
Makefile: fix parrallel (-j) installs

Currently, we would remove previously installed patches before
installing the new ones. Unfortunately, that does not play well
with heavily parallel installs.

Now, we consider it is the responsibility of the user to first
uninstall any previous version before installing a new one.

Reported-by: Markos Chandras <markos.chandras@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-02-19kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 19 Feb 2013 13:07:09 +0100] rev 3184
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: add latest versions since released]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <125b3612bbefcb57166b.1361275815@advdt005-ubuntu>
Patchwork-Id: 221686

2013-02-05samples: add arm-cortexa9_neon-linux-gnueabihf
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 05 Feb 2013 12:29:52 +0100] rev 3183
samples: add arm-cortexa9_neon-linux-gnueabihf

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: make it a defconfig with pinned versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <bdf1fde968aee8d0cd95.1360063830@advdt005-ubuntu>
Patchwork-Id: 218239

2013-02-06libc/glibc: add patch to fix build for PowerPC64.
"Frederic Roussel" <fr.frasc@gmail.com> [Wed, 06 Feb 2013 13:11:46 -0800] rev 3182
libc/glibc: add patch to fix build for PowerPC64.

For a PowerPC64 build, avoid erroneous inline optimization of initfini.s

Signed-off-by: "Frederic R. ROUSSEL" <fr.frasc@gmail.com>
Message-Id: <7585f649ad60b23c4a31.1360185227@x58>
Patchwork-Id: 218755

2013-02-15cc/gcc: update Linaro GCC revisions to 2013.02
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 15 Feb 2013 15:56:25 +0100] rev 3181
cc/gcc: update Linaro GCC revisions to 2013.02

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b738c9546f6752842e2d.1360940239@advdt005-ubuntu>
Patchwork-Id: 220755