Commit Graph

2839 Commits

Author SHA1 Message Date
Yann E. MORIN"
18913a24a7 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-31 18:03:33 +01:00
Yann E. MORIN"
746ea1647a binutils/binutils: add 2.24
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-12-31 17:58:54 +01:00
Yann E. MORIN"
1bf982dd68 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-30 23:28:18 +01:00
Yann E. MORIN"
9bda4536fe 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-30 23:15:02 +01:00
Yann E. MORIN"
def5ffe83a scripts: update config.{guess,sub}
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-12-31 13:02:57 +01:00
Yann E. MORIN"
2c2717a019 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-31 12:55:21 +01:00
Yann E. MORIN"
d1ff75f4dc libc/newlib: bump version to 2.1.0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-12-31 12:25:27 +01:00
Yann E. MORIN"
3c208c6684 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-12-30 19:08:37 +01:00
Daniel Zimmermann
a584ff5dee 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-22 00:34:49 +01:00
Daniel Zimmermann
a128e6fb54 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.
   0b4060f61f/

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <67b082cf1cdc8276eb4a.1385366288@haus-VirtualBox>
Patchwork-Id: 293842
2013-11-25 08:56:55 +01:00
Zhenqiang Chen
2f94f99dd8 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-11-19 14:44:02 +08:00
Bernhard Walle
b9adbff8e1 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-12-08 12:53:14 +01:00
Yann E. MORIN"
b0be7c94df kernel/linux: bump versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-16 18:14:45 +01:00
Yann E. MORIN"
f63e4f0604 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-16 16:16:51 +01:00
Yann E. MORIN"
1327d9d678 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-16 11:33:31 +01:00
Yann E. MORIN"
78c5cab850 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-15 21:35:27 +01:00
Yann E. MORIN"
edd01b7729 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-15 21:21:12 +01:00
Yann E. MORIN"
0226e35db7 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-15 21:16:52 +01:00
Yann E. MORIN"
a5b6b0d129 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-15 18:58:42 +01:00
Yann E. MORIN"
24953be31a 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-08 15:24:20 +01:00
Yann E. MORIN"
cf36828878 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-11-08 15:18:09 +01:00
Yann E. MORIN"
bb151f2762 libc/eglibc: add latest version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-07 00:16:38 +02:00
Yann E. MORIN"
27847b8e14 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-07 00:16:20 +02:00
Yann E. MORIN"
342ade2ac8 kernel/linux: add latest versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-07 00:03:19 +02:00
Yann E. MORIN"
afa67897c9 binutils/binutils: add new versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-07 00:00:34 +02:00
Yann E. MORIN"
2f59557376 samples: add a Sparc sample
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-04 23:14:36 +02:00
Yann E. MORIN"
244d525522 samples: further fix before release
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-02 19:11:34 +02:00
Yann E. MORIN"
d8488d3b3a samples: update for the release
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-02 00:02:44 +02:00
Yann E. MORIN"
41f0906518 complibs/ppl: add patch from upstream to fix data dir
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-09-30 20:06:16 +02:00
Yann E. MORIN"
cc42262a26 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-30 00:21:36 +02:00
Ray Donnelly
d2bc2be8db 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-09-14 02:45:23 +01:00
Michael Hope
c0c6db07fe 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-01 20:24:35 +00:00
Michael Hope
8d21f730a6 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-08-01 20:24:35 +00:00
Yann E. MORIN"
5b5a1ade7f cc/gcc: add 4.8.1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-07-29 00:06:35 +02:00
Yann E. MORIN"
5c1b8f84d6 kernel/linux: bump versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-07-24 23:03:48 +02:00
Yann E. MORIN"
c36dfeaacd 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-24 19:11:18 +02:00
Thomas De Schampheleire
2aa92300fd 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-17 08:25:43 +02:00
Thomas De Schampheleire
6c2c252dc8 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-17 08:25:42 +02:00
Ray Donnelly
4e45eb1093 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-07-10 12:40:21 +01:00
Michael Hope
3835e6b6ee 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-28 22:35:06 +02:00
Michael Hope
eebffdfa9a 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-06-28 22:23:54 +02:00
Daniel Rubio Bonilla
85fd96e351 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-23 17:51:15 +02:00
Yann E. MORIN"
bef9074cf0 cc/gcc: add 4.8.0 and linaro-4.8
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:01:47 +02:00
Yann E. MORIN"
e1675bac64 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-05 00:01:05 +02:00
Yann E. MORIN"
1dc3dd9167 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-05 17:59:00 +02:00
Yann E. MORIN"
e4828c01d3 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-04 00:08:34 +02:00
Zhenqiang Chen
501204e8d4 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-13 15:00:56 +08:00
Yann E. MORIN"
71e10954b7 scripts: handle gcc 4.7 and 4.8 in addToolsVersion.sh
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-03 17:12:15 +00:00
Yann E. MORIN"
14a96ce5a1 cc/gcc: reorder version strings
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:00:16 +02:00
Yann E. MORIN"
3e297d35e8 scripts: help debugging missing directories
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:34:20 +02:00