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>