Commit Graph

1290 Commits

Author SHA1 Message Date
Jasmin Jessich
931248f1aa Added additional environment variables for gcc build (make) with new option
GCC_EXTRA_ENV_ARRAY.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-22 00:21:36 +02:00
Bryan Hundven
c2f3ec1def Merge pull request #170 from jasmin-j/newlib_target_cflags
Newlib specific target cflags
2015-09-15 08:05:49 -07:00
Jasmin Jessich
9e905afb56 Added additional newlib specific target flags with new option
LIBC_NEWLIB_TARGET_CFLAGS.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-14 23:32:07 +02:00
Jasmin Jessich
ed647a79b0 Fixed issue 173 and 174.
gcc 5.x   -> isl 0.12.2, 0.14 0.15
gcc < 5.x -> cloog < 0.18.4  -> isl 0.12.2, 0.11.1
          -> cloog >= 0.18.4 -> isl 0.14

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-13 23:10:00 +02:00
Philipp Kirchhofer
1cc9f32271 Fix tristate Kconfig options
After the Kconfig update the "option modules" setting must be set
on the MODULES config option to enable tristates again.

Signed-off-by: Philipp Kirchhofer <philipp@familie-kirchhofer.de>
2015-09-07 13:30:18 +02:00
Bryan Hundven
d803bcb819 Merge pull request #153 from jasmin-j/mpfr_3_1_3
Support mpfr V 3.1.3
2015-09-05 16:30:26 -07:00
Bryan Hundven
d2532bc76e Merge pull request #152 from jasmin-j/mpc_1_0_3
Support mpc V 1.0.3
2015-09-05 16:29:55 -07:00
Bryan Hundven
bb9fe9037c Merge pull request #166 from jasmin-j/binutils_custom_version
Remove BINUTILS_CUSTOM from the version choice
2015-09-05 16:28:33 -07:00
Bryan Hundven
ede5174045 Merge pull request #164 from jasmin-j/newlib_custom_version
Remove LIBC_NEWLIB_CUSTOM from the version choice
2015-09-05 16:28:10 -07:00
Bryan Hundven
8b576034da Merge pull request #163 from jasmin-j/gcc_custom_version
Remove CC_GCC_CUSTOM from the version choice
2015-09-05 16:24:39 -07:00
Bryan Hundven
c01a5f08bc Merge pull request #148 from jasmin-j/fix_147
Use __cxa_atexit for bare-metal systems, if the used libc provides such a function.
2015-09-05 16:20:53 -07:00
Bryan Hundven
f4bfca0f64 Merge pull request #151 from jasmin-j/binutils_2_25_1
Support binutils V 2.25.1
2015-09-05 16:18:41 -07:00
Bryan Hundven
7fa8e7ba8a Merge pull request #168 from jasmin-j/cloog_isl_constraint2
Adding CLooG/isl constraint
2015-09-05 16:17:32 -07:00
Jasmin Jessich
218bea6f24 Adding CLooG 0.18.4.
Adding isl 0.15.
Added following constrains:
   isl 0.14 and 0.15 require  CLooG 0.18.4 or later.
   isl 0.11.1 and 0.12.2 require CLoog older than 0.18.4.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-05 21:31:55 +02:00
Jasmin Jessich
b75d90452e BINUTILS_CUSTOM is no longer part of the binutils version choice, but an
independend configuration to enable BINUTILS_CUSTOM.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-05 21:18:59 +02:00
Bryan Hundven
0cffa79d9f kconfig: Update kconfig. Sync with Linux-4.2
This change updates the kconfig utility to what is shipped with 4.2.0.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-03 19:00:28 -07:00
Jasmin Jessich
2a67a2d564 LIBC_NEWLIB_CUSTOM is no longer part of the newlib version choice, but an
independend configuration to enable LIBC_NEWLIB_CUSTOM.
All newlib versions >=2.0.0 does provide __cxa_atexit. To enable this function
in GCC, all versions >=2.0.0 does now select LIBC_PROVIDES_CXA_ATEXIT.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-03 23:57:30 +02:00
Jasmin Jessich
dd5bc63afa CC_GCC_CUSTOM is no longer part of the gcc version choice, but an independend
configuration to enable CC_GCC_CUSTOM_LOCATION.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-03 23:13:18 +02:00
Bryan Hundven
f189762245 glibc: Fix applying addons to glibc => 2.17
glibc-2.17 and above no longer have external addons or ports.
So if we are => 2.17, don't even think about trying to mess with ports
or addons.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 20:14:00 -07:00
Bryan Hundven
0c79cfafda musl: Update mainline to 1.1.11
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 19:26:38 -07:00
Bryan Hundven
d4d596b31b gdb: Add gdb-7.10
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 18:51:25 -07:00
Bryan Hundven
f9a257572e glibc: Add 2.22, and add a constraint on glibc >= 2.21
* Add glibc 2.22
* Add a constraint on glibc-2.21 that depends on gcc-4.6 or greater.
  See: https://sourceware.org/ml/libc-alpha/2015-02/msg00119.html
======================================================================
* The minimum GCC version that can be used to build this version of
  the GNU C Library is GCC 4.6.  Older GCC versions, and non-GNU
  compilers, can still be used to compile programs using the GNU C
  Library.
======================================================================

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 18:46:52 -07:00
Bryan Hundven
deacaa6d42 config/linux: Add 4.2 and update stable versions
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 18:30:39 -07:00
Jasmin Jessich
c7f061774a Support mpfr 3.1.3 in configuration.
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-01 21:32:45 +02:00
Jasmin Jessich
fcd8bb8ac6 Support mpc 1.0.3 in configuration.
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-01 21:24:35 +02:00
Jasmin Jessich
ba4cef6651 Adding patches for binutils version 2.25.1 as copy of 2.25.
Support binutils 2.25.1 in configuration.
Note: The patches do apply, but I didn't check the resulting tools.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-01 21:11:34 +02:00
Jasmin Jessich
521d232154 Fix for issue #147:
Enable definition of "Use __cxa_atexit" for bare-metal systems, if the used
libc does provide such a function. The libc configuration have to select
LIBC_PROVIDES_CXA_ATEXIT.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-01 04:08:17 +02:00
Jasmin Jessich
25dc2d4470 Added new config ISL_V_0_14_or_later and ISL_V_0_12_or_later to select
proper configure options for isl 0.14.x and 0.12.x in 121-isl.sh.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-01 02:18:35 +02:00
Bryan Hundven
9237010e8e linux: Update kernel versions
These kernel version updated:
* 4.1.2	-> 4.1.4
* 4.0.8	-> 4.0.9 (EOL)
* 3.18.18 -> 3.18.19
* 3.14.48 -> 3.14.49
* 3.12.44 -> 3.12.46
* 3.10.84 -> 3.10.85
* 3.2.69 -> 3.2.70

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-08-07 11:24:42 -07:00
Bryan Hundven
44a974c399 Merge pull request #130 from Christopher83/master
Update to Linaro GCC 4.9-2015.06 and GCC 4.8-2015.06 and update kernel versions
2015-07-20 15:24:16 -07:00
Bryan Hundven
fee04e4075 Merge pull request #131 from netzimme/master
cc/gcc: add gcc 5.2
2015-07-20 15:23:42 -07:00
Bryan Hundven
f9bb20c330 Merge pull request #124 from enunes/avr
avr: add support for AVR avr-libc toolchains
2015-07-20 15:22:50 -07:00
Daniel Zimmermann
56cb93c5c5 cc/gcc: add gcc 5.2
add gcc 5.2

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
2015-07-19 22:38:00 +02:00
Cristoforo Cataldo
646cb0140d config/linux: Update kernel versions
This commit updates to the latest longterm and stable kernel versions as
of July 12, 2015.

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-07-19 15:20:49 +02:00
Cristoforo Cataldo
36a4deba9f config/gcc: Update to Linaro GCC 4.9-2015.06 and GCC 4.8-2015.06
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-07-12 15:16:14 +02:00
Bryan Hundven
6c254bde8b config: Add new gcc stable versions
This commit adds gcc 4.8.5 and 4.9.3.
Release notes can be found in these urls:
https://gcc.gnu.org/gcc-4.8/
https://gcc.gnu.org/gcc-4.9/

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-07-10 07:49:37 -07:00
Bryan Hundven
3a4a19451a config/kernel: Update linux kernel versions
Add linux-4.1
Remove linux-3.19.8 (EOL'd)

Updates:
* 4.0.5 -> 4.0.6
* 3.14.44 -> 3.14.45
* 3.10.80 -> 3.10.81
* 3.4.107 -> 3.4.108

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-24 09:02:57 -07:00
Erico Nunes
b8e64a0c08 avr-libc: add support for avr-libc C library
This commit adds support for the avr-libc C library.
According to the project page at http://www.nongnu.org/avr-libc , the
avr-libc package provides a subset of the standard C library for Atmel
AVR 8-bit RISC microcontrollers. In addition, the library provides the
basic startup code needed by most applications.

Support for this library in crosstool-ng is only enabled for the AVR
8-bit target.

The avr-libc manual and most distributions build the AVR 8-bit gcc
toolchain with the "avr" (non-canonical) target.
Some experimentation also led to the conclusion that other (canonical)
targets are not very well supported, so we force the "avr" target for
crosstool-ng as well.

The manual also recommends building avr-libc after the final gcc build.
To accomplish this with crosstool-ng, a new do_libc_post_cc step is
added, in which currently only avr-libc performs its build, and is a
no-op for the other libc options.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-21 20:53:06 -03:00
Erico Nunes
230dc12285 avr: add support for AVR 8-bit architecture
This commit adds support for the Atmel AVR 8-bit RISC architecture.
This is the first 8-bit architecture to be added to crosstool-ng so the
configuration options for 8-bit architectures are added here as well.

gcc has had support for AVR for quite a while, at least since the 4.3
series for the currently popular ATmega microcontroler series.
The AVR architecture only supports bare-metal toolchains.

gcc for the AVR 8-bit architecture, usually referred to as avr-gcc, is
commonly used in conjunction with the avr-libc library which provides
additional resources for the Atmel AVR 8-bit microcontrollers.

avr-gcc can also be found as a supported package in some recent Linux
distributions.

This commit also closes #66

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-21 20:49:10 -03:00
Bryan Hundven
8561caa8d6 kernel: Stable kernel updates
4.0.4     -> 4.0.5
3.18.14   -> 3.18.16
3.14.43   -> 3.14.44
3.12.43   -> 3.12.44
3.10.79   -> 3.10.80
2.6.32.66 -> 3.6.32.67

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-15 10:16:18 -07:00
Yann E. MORIN
11acb6da21 arch: do not allow specifying both --with-cpu and --with-tune
Similarly to what we've just done to prevent both --with-arch and
--with-cpu, we do the same to prevent using both --with-cpu and
--with-tune at the same time, since --with-cpu should fully imply
the CPU to tune for (and gcc now errors out when both are specified.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bryan Hundven <bryanhundven@gmail.com>
2015-06-10 20:56:12 +02:00
Yann E. MORIN
8a2eb07cf1 arch: do not allow specifying both --with-arch and --with-cpu
Normally, a specific CPU fully implies the architecture level. For
example, a cortec-a8 is forcibly an armv7, so spwecifying both is
redundant, and even dangerous (as incompatible values may be passed).

So far, gcc was pretty happy when both were specified at the same time,
and some time ago, it started being a warning, and only recently was it
turned into a hard error.

So, hide the architecture level prompt when a CPU has been specified.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-06-08 22:42:38 +02:00
Bryan Hundven
67e6896c2b Remove support for experimental patches and musl patches
This functionality was provided so that crosstool-ng could have a
further set of patches considered experimental and unsupported.
Now that musl-libc support is making it's way upstream in gcc, I'm
removing this support and the experimental musl patches.

In later commits, backports from gcc upstream will be added to the
supported patch sets to support musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 10:47:58 -07:00
Bryan Hundven
98a33a63b7 config/gcc: Fix gcc 5.1.0 version knob
This change makes the 5.1.0 version knob consistant with previous gcc
versions.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 10:00:18 -07:00
Bryan Hundven
671c918820 musl: Update versions
This commit updates the version knobs so that oldconfig does the right
thing when we bump versions.

Also, we update stable to 1.0.5 and experimental to 1.1.9.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 09:55:29 -07:00
Bryan Hundven
51f1829803 config/gcc: Fix missing update to gcc.in
In the patch series for multi_cc, some version knobs were missed.

This patch fixes this.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 09:51:34 -07:00
Ray Donnelly
541199de3a config: Add config support for multiple compilers
This change updates the config to support multiple compilers by moving
CC_.* to CC_GCC_.* to make room for other compilers.

We also update gen_in_frags.sh to check for a default cc.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-29 21:49:33 +01:00
Bryan Hundven
e5d837eb67 kernel: Update versions. Remove older kernels
In this update the following kernels updated:
 * 4.0.3 -> 4.0.4
 * 3.18.13 -> 3.18.14
 * 3.14.42 -> 3.14.43
 * 3.12.42 -> 3.12.43
 * 3.10.78 -> 3.10.79
 * 3.2.68 -> 3.2.69
 * 2.6.32.65 -> 3.6.32.66

Also, let's remove the older EOL'd kernels.
This makes updating kernel versions easier.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-25 12:28:22 -07:00
Bryan Hundven
17d443e0fb Merge pull request #93 from bhundven/update_gdb
gdb: add gdb 7.9.1
2015-05-24 17:40:52 -07:00
Bryan Hundven
b7e94cbd70 gdb: add gdb 7.9.1
As per: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT

========================================================================
GDB 7.9.1 brings the following fixes and enhancements over GDB 7.9:

   * PR build/18033 (C++ style comment used in gdb/iq2000-tdep.c and
     gdb/compile/compile-*.c)
   * PR build/18298 ("compile" command cannot find compiler if tools
     configured with triplet instead of quadruplet)
   * PR tui/18311 (Random SEGV when displaying registers in TUI mode)
   * PR python/18299 (exception when registering a global pretty-printer
     in verbose mode)
   * PR python/18066 (argument "word" seems broken in Command.complete
     (text, word))
   * PR pascal/17815 (Fix pascal behavior for class fields with
   * testcase)
   * PR python/18285 (ptype expr-with-xmethod causes SEGV)
========================================================================

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 11:29:52 -07:00
Bryan Hundven
ba0b6d71da strace: add versions 4.9 and 4.10
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 10:44:40 -07:00
Bryan Hundven
c263efb7ed linux: update kernel versions
Update versions:
 * 4.0.2 to 4.0.3
 * 3.19.7 to 3.19.8
 * 3.14.41 to 3.14.42
 * 3.10.77 to 3.10.78
 * 3.2.68 to 3.2.69

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 10:16:21 -07:00
Bryan Hundven
46d79a58d3 mingw: WINAPI_V_DEVEL should depend on EXPERIMENTAL
While we do want users to be able to use the mingw from git, being under
the experimental umbrella makes it more obvious that this should not be
used as a production toolchain.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 10:04:18 -07:00
Ray Donnelly
b39fb4b1b4 mingw-w64: Add 'devel' version to use git 'master' branch
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-05-12 23:48:53 +01:00
Ray Donnelly
d3b19674fc mingw-w64: Add updated versions
Specifically:
2.0.8
3.0.0, 3.1.0
4.0.0, 4.0.1, 4.0.2

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-05-12 23:48:17 +01:00
Bryan Hundven
d37cb87b0e config/kernel: Update kernel versions
This updates the stable kernel series.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-07 11:14:43 -07:00
Bryan Hundven
ccb7cee9b1 Merge pull request #80 from bhundven/add_linaro_config_knobs
config: Add binutils, newlib, and glibc linaro configuration
2015-05-02 16:58:42 -07:00
Bryan Hundven
51b342345d config: Add binutils, newlib, and glibc linaro configuration
This commit introduces a "show linaro versions" for newlib, binutils,
and glibc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-02 16:56:25 -07:00
Bryan Hundven
7c41f73b7f complibs: Update requirements for gcc-5.1
"The Graphite framework for loop optimizations no longer requires the
CLooG library, only ISL version 0.14 (recommended) or 0.12.2. The
installation manual contains more information about requirements to
build GCC."

This change helps to avoid version badness.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-02 16:44:39 -07:00
Bryan Hundven
4fc0273c19 config: Add gcc-5.1.0
This change needs another change from pull request #81, but it's kind of
a chicken/egg scenario. The 'select's in CC_GCC_5_1 need to be
refactored a bit, and would be easier to test if gcc-5.1.0 was commited.

Most of the refactoring will happen with CC_GCC_HAS_GRAPHITE.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-02 15:52:04 -07:00
Bryan Hundven
d2ed24286e config/kernel: Update with longterm stable releases
Stable releases updated last night. Sync versions with kernel.org.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-04-30 08:40:27 -07:00
Bryan Hundven
f05bbbfbe3 config: remove eglibc.in
In commit cd47c091ba
I had forgot to also remove the config/libc/eglibc.in.
This commit removes it.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-04-30 07:43:38 -07:00
Bryan Hundven
ff09cb3296
kernel: Update kernel versions
This commit adds support for 4.x and updates longterm versions.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-04-26 17:40:35 -07:00
Bryan Hundven
0f372b8357 Merge pull request #73 from jpf91/other_bm
Display 'Other languages' for bare metal as well
2015-04-26 07:56:17 -07:00
Johannes Pfau
2719774083 Display 'Other languages' for bare metal as well
There are other languages which work with bare metal compilers.
As an example crosstool-ng is recommended to build D/GDC bare metal
compilers.

Signed-off-by: Johannes Pfau <johannespfau@gmail.com>
2015-04-26 12:16:15 +02:00
Bryan Hundven
a90d8fd075 Merge pull request #46 from stefanct/master
Add glibc 2.21
2015-04-25 13:31:24 -07:00
Bryan Hundven
00799b5474
config/isl: bump isl to 0.14 for >=gcc-5.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-04-25 13:11:32 -07:00
Bryan Hundven
18175b8d93 Merge pull request #37 from bhundven/so_long_to_eglibc
So long to eglibc
2015-04-07 19:07:13 -07:00
Cristoforo Cataldo
c9927ba52a config/linux: Update kernel versions
This commit updates to the latest longterm and stable kernel versions as
of March 15, 2015.

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-03-15 13:36:36 +01:00
Cristoforo Cataldo
996466bd53 config/gcc: Update to Linaro GCC 4.9-2015.03
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-03-15 13:35:59 +01:00
Daniel Zimmermann
f1e7cecf07 add gdb 7.9 and 7.8.2 2015-03-07 15:05:35 +01:00
Cristoforo Cataldo
41722f59d9 config/linux: Update kernel versions
This commit updates to the latest longterm and stable kernel versions as
of February 18, 2015.

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-02-18 23:11:24 +01:00
Cristoforo Cataldo
1d5910a7bd config/gcc: Update to Linaro GCC 4.9-2015.02 and GCC 4.8-2015.02
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-02-18 23:10:41 +01:00
Stefan Tauner
aa8b3252d9 Add glibc 2.21
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
2015-02-07 20:02:25 +01:00
Bryan Hundven
cd47c091ba eglibc: Remove eglibc support
As posted on http://www.eglibc.org/
====================
EGLIBC is no longer developed and such goals are now being addressed
directly in GLIBC.
====================

I'm not interested in maintaining build support for unsupported
software.

Older branches of crosstool-ng continue to have eglibc support.
If you find issues with older branches, I'm always open to pull
requests.

Removing eglibc also frees up glibc cleanup and build optimization.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-01-27 22:43:25 -08:00
Daniel Zimmermann
4ac1653f94 arch/nios2:add nios2
add the nios2 architecture to crosstool-ng.

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
2015-01-26 20:43:18 +01:00
Cristoforo Cataldo
42e6c434d7 config/linux: Update kernel versions
This commit updates to the latest longterm and stable kernel versions as
of January 16, 2015 and adds also 3.18 version.

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:08:09 +01:00
Cristoforo Cataldo
01397b7e5a libc: newlib: Add NewLib 2.2.0, Linaro NewLib 2.2.0-2015.01 and 2.1.0-2014.09
This commit allows to choose, download and build latest NewLib:
- newlib-2.2.0
- newlib-linaro-2.2.0-2015.01
- newlib-linaro-2.1.0-2014.09

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:07:44 +01:00
Cristoforo Cataldo
315f69271c libc: glibc: Add Linaro GLibc 2.20-2014.11
This commit allows to choose, download and build latest Linaro GLibC:
- glibc-linaro-2.20-2014.11

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:07:44 +01:00
Cristoforo Cataldo
4170d1ed70 libc: eglibc: Add Linaro EGLibc 2.19-2014.08
This commit allows to choose, download and build latest Linaro EGLibC:
- eglibc-linaro-2.19-2014.08

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:07:44 +01:00
Cristoforo Cataldo
017d2d014e debug: gdb: Add Linaro GDB 7.8-2014.09 and Linaro GDB 7.6.1-2013.10
This commit allows to choose, download and build latest Linaro GDB:
- gdb-linaro-7.8-2014.09
- gdb-linaro-7.6.1-2013.10

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:07:44 +01:00
Cristoforo Cataldo
d90bd6f13f gcc: Add Linaro GCC 4.9-2015.01 and GCC 4.8-2014.11
This commit allows to choose, download and build latest Linaro GCC:
- gcc-linaro-4.9-2015.01
- gcc-linaro-4.8-2014.11

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:07:44 +01:00
Cristoforo Cataldo
ca5003cbe6 binutils: Add Linaro Binutils 2.25-2015.01 and 2.24-2014.11
This commit allows to choose, download and build latest Linaro Binutils:
- binutils-linaro-2.25.0-2015.01-2
- binutils-linaro-2.24.0-2014.11-2

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 21:52:25 +01:00
Bryan Hundven
7c7b882c8f Merge pull request #32 from manni83/e500v2
Adding upstream patches of powerpc-e500v2-linux-gnuspe
2015-01-13 23:10:39 -08:00
Manfred Rudigier
8f76d130c7 Added gcc 4.8.4.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
2015-01-09 14:11:19 +01:00
Bernhard Walle
c88bbca7ab comptools/make: Install 'gmake' symlink
We had following problem: We're building a toolchain with an old glibc
version for compatibility with old Linux distributions (glibc 2.9). This
version requires make < 4 to build. However, the configure script of
glibc looks for make in the order "gnumake", "gmake" and "make". So when
"gmake" is available in the system (which is the case on Gentoo Linux
per default, unfortunately), then configure finds the system gmake 4.1
instead of the ct-ng make 3.82.

This patch adds an option to install a symlink so that 'gmake' is also
available in the old version when building toolchains.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2015-01-08 19:15:51 -08:00
Bryan Hundven
b49e233167 binutils: Add binutils-2.25
This also updates the patches from 2.24.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-01-01 16:19:11 -08:00
Bryan Hundven
4b84be34c5 gmp: Disable --enable-mpbsd if version is >= 5.0.2
closes #12

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-23 13:28:26 -08:00
Bryan Hundven
767aa9befc Merge pull request #13 from davidholsgrove/newlib_canadian
libc/newlib: Canadian baremetal builds require core pass-1
2014-12-15 18:02:51 -08:00
Bryan Hundven
c593e88336 Merge pull request #11 from jrbyrne/working
config/linux: Update kernel versions
2014-12-15 09:35:22 -08:00
Bryan Hundven
0ee9ecbcf7 Merge pull request #6 from davidholsgrove/libc_custom_location
Libc custom location
2014-12-15 09:33:43 -08:00
David Holsgrove
59485ba519 libc/newlib: Canadian baremetal builds require core pass-1
Can safely skip the core pass-1 for normal baremetal builds,
but when building a canadian baremetal, the repair_cc
functionality (GCC_FOR_TARGET) in gcc.sh will force the
core pass-2 to attempt to build gcc and libgcc without a
${CT_TARGET}-gcc existing, causing a failure on
${CT_TARGET}-gcc -dumpspecs > tmp-specs

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-15 14:40:15 +10:00
James Byrne
f67da11189 config/linux: Update kernel versions
This commit updates to the latest longterm and stable kernel versions as of
December 10, 2014.

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
2014-12-11 09:58:57 +00:00
Bryan Hundven
f59d75c182 config/glibc: Disable ports/ for 2.20
As per the glibc release notes for 2.20:
--------------------------------------------------------------------------------
All supported architectures now use the main glibc sysdeps directory
instead of some being in a separate "ports" directory (which was
distributed separately before glibc 2.17).
--------------------------------------------------------------------------------

There isn't a ports directory anymore. So disable using and forcing it.

closes #7 on crosstool-ng github

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-09 17:36:44 -08:00
Bryan Hundven
8ad1b492d3 gcc: The latest 'released' linaro 4.8 is 2014.04, not 08
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 23:55:09 -08:00
Bryan Hundven
6bc5ff9ce8 gcc: Update linaro 4.7 and 4.8 (Attempt 2)
I messed up the previous commit.
I only updated half the config file, and the latest 4.8 is 2014.08.

🤦

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 23:00:38 -08:00
Bryan Hundven
055abbbb57 gcc: Update linaro 4.7 and 4.8
Update 4.7 to linaro-4.7-2014.06
Update 4.8 to linaro-4.8-2014.04

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 22:56:29 -08:00
David Holsgrove
71ed5aae34 libc/eglibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09 15:51:11 +10:00
David Holsgrove
79b9881295 libc/glibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09 15:51:11 +10:00
David Holsgrove
d7b4f0dbe3 glibc: nptl is default from 2.20, so dont add to addons_list
No longer recommended practice to use --enable-add-ons=nptl, so
for 2.20 and later (along with custom glibc), don't add the
CT_THREADS to the addons_list

https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09 14:41:35 +10:00
Bryan Hundven
f1bdbe995b libc/glibc: Add glibc-2.20
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09 14:32:14 +10:00
Daniel Zimmermann
60b5bc4c3e companion_libs/gmp: pump gmp to version 6.0.0a
# HG changeset patch
# User Daniel Zimmermann <netzimme@gmail.com>
# Date 1402524592 -7200
#      Thu Jun 12 00:09:52 2014 +0200
# Node ID 30c0a797946f66f89a9bace2995957e6910174e9
# Parent  99029fac116b6cdd86de7015379dd765af77c116
companion_libs/gmp: pump gmp to version 6.0.0a

pump gmp to version 6.0.0a

Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>'
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05 02:57:00 -08:00
Bryan Hundven
b5e223d118 config/linux: Update kernel versions
This commit updates longterm kernel version and adds 3.16.7 and 3.17.4.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-04 23:55:28 -08:00
Bryan Hundven
f741b161a2 config/libc: update musl-libc mainline to 1.1.5
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-04 23:46:14 -08:00
Bryan Hundven
4d19f2e647 debug/gdb: Add gdb-7.8.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-04 23:44:19 -08:00
Daniel Zimmermann
c7d9c37447 cc/gcc: add gcc 4.9.2
added the latest gcc 4.9.2

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-04 23:31:47 -08:00
Yann E. MORIN
aa29ae333c binutils/binutils: 2.23.x and 2.24 are no longer experimental
Besides, at least 2.24 is required for Aarch64 (aka arm64.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-09-21 15:09:26 +02:00
Yann E. MORIN
82b967757a arch/arm: EABIhf is now the default
When the toolchain uses the hard-float ABI, 'hf' is now
appended by default to the tuple.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-09-20 16:53:58 +02:00
Bryan Hundven
e5d2c356cc config/gcc: Disable CC_GCC_LIBSANITIZER for musl-libc
Disable libsanitizer for musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11 23:16:38 +02:00
Bryan Hundven
6bef0b4d24 libc/musl: Add config option for extra developer warnings
This commit adds a configuration knob for enabling extra developer
warnings to be enabled during the musl-libc build.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11 23:12:22 +02:00
Bryan Hundven
9dd63da071 libc/musl: Add config option for debugging info
This option enables a configuration knob for adding debugging info.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11 23:12:19 +02:00
Bryan Hundven
cb27b22974 libc/musl: Add options for optimization
This commit adds configuration knobs for optimizing musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11 23:12:11 +02:00
Bryan Hundven
838bf3a74b libc/musl: Remove 1.0.3 and 1.1.3. Add 1.0.4.
This change removes 1.0.3 and 1.1.3 and linker regession patches for
those versions.

We add 1.0.4, and a patch needed for gcc-4.9.x which defines
`max_align_t'.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-08-31 21:55:07 +02:00
Yann E. MORIN
a56df802eb cc/gcc: add option to enable/disable libsanitizer
libsaniotizer requires a few headers that are not in uClibc, for
example. Also, it is only available for native threads (NPTL under
glibc.) Finally, it is only available starting with gcc-4.8.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-31 18:54:13 +02:00
Yann E. MORIN
15f60baf95 libc/mingw: does not require gcc core pass-1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-31 01:43:34 +02:00
Bryan Hundven
2a275f6cc8 debug/gdb: add GDB_HAS_PYTHON
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-08-26 23:46:55 +02:00
Bryan Hundven
d1eb5347cf debug/gdb: add gdb 7.8
Add updated gdb 7.8 to the available versions of gdb.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-08-26 23:45:57 +02:00
Bryan Hundven
52260ccebb libc/musl: add musl-libc support
This patch adds initial support for musl-libc.

Musl-libc versions currently supported:
* 1.0.3 (Stable)
* 1.1.3 (Previous Mainline)
* 1.1.4 (Mainline)

Futher improvements are needed.
* gcc-4.9.x has issues (Might be fixed in musl-1.1.4).
* Multilib support is needed.
* Checks to make sure paths are correct.
* Move to 2-step gcc build. 3-step build is not necessary.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: removed the gcc musl patch, to be added later;
 removed dead code do_get_arch()]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-08 22:49:37 +02:00
Yann E. MORIN
152b7ad4b4 libc/mingw: threads are the native ones
There is no need to differentiate the win32 threads case, since we
can cosider them to be the native implementation on Windows.

Besides, with the previous patch, nothing uses it anymore.

So, just remove it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc Bryan Hundven <bryanhundven@gmail.com>
2014-07-28 01:23:34 +02:00
Yann E. MORIN
a394fe49ec libc: libces are responsible for naming their threads implementation
This will help add new implementations, such as the one in musl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bryan Hundven <bryanhundven@gmail.com>
2014-07-28 01:23:34 +02:00
Yann E. MORIN
b1f536966b libc: rename the threads options
Use a more coherent naming for the options. This will help commonalise
the native case (e.g. NPTL on Linux, win32 on Windows), and add alternate
implementations (e.g. musl.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bryan Hundven <bryanhundven@gmail.com>
2014-07-28 01:23:34 +02:00
Bryan Hundven
85622fdd49 Add main EXPERIMENTAL_PATCHES setting
This change adds support for experimental patches to be introduced to
crosstool-ng. The patches enabled by this option are to be located here:

    patches/experimental/<package>/<version>/XXXX-NAME.patch

Where, XXXX is the patch number to be applied in order, like:
    0001-some_patch_one.patch
    0002-some_patch_two.patch
    9999-some_patch_to_be_applied_last.patch

In the first patch series, all patches in the EXPERIMENTAL_PATCHES
option will be applied all at once, or none at all.

In a later [RFC] patch, I plan on adding finer tuned patch
enable/disable options based on the name of the patch and where it is
located in the patches/experimental sub-tree. So the name of the patch
should use underscores between words in the patch name.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: slightly reword prompt]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-28 01:21:51 +02:00
Cody P Schafer
22126a402e config/debug/gdb: add 7.7.1
Also remove the unneeded select in 7.7

Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19 12:21:10 +02:00
Cody P Schafer
d0c8506e67 cc/gcc: add 4.9.1
Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19 12:18:21 +02:00
Yann E. MORIN
7f1c646a97 kernel/linux: further bump the versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-08 22:43:14 +02:00
Bryan Hundven
a2e85b46d7 kernel/linux: update kernel versions
Add 3.15.0, and update all other branch versions.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-07-08 22:42:55 +02:00
Anton Leontiev
518d1dfc6e cc/gcc: Add 4.7.4 and 4.8.3
Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
2014-07-03 23:05:17 +02:00
Yann E. MORIN
bdf731eead repository: migrate old hg files over to git
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-27 00:28:53 +02:00
Yann E. MORIN"
6ed78d4cba all: fix wildcard to work with make-4.x
In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
2014-06-25 23:33:01 +02:00
Yann E. MORIN"
fba4254768 complibs/cloog: remove old CLooG/PPL versions
Those versions are no longer available upstream. They have purely and
simply disapeared, without leaving any trace of their mere existences.

Just keep the latest cloog-ppl-0.15.11, which still exists on the gcc
infra mirror (but for how long?)

Reported-by: Guillaume FLORENCE-COURTAND <gflorenc@laposte.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-26 23:25:17 +02:00
Cody P Schafer
aaaea2987a arch/powerpc: add powerpc64le support
Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
2014-05-12 00:02:13 +02:00
Cody P Schafer
f941e1bad5 cc/gcc: add 4.9.0
Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: latest is now a 4.9]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <5bac788539bb272893ed.1399801933@gun>
Patchwork-Id: 347774
2014-05-11 23:31:54 +02:00
Yann E. MORIN"
04a7340d0a binutils/elf2flt: use alternate mirror
The official elf2flt upstream has disapeared.

Switch to a mirror.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11 15:43:28 +02:00
Yann E. MORIN"
dd60b1fa9d config: switch cc with libc in the config order
Some of the compiler options depend on the C library choice, (e.g.
whether core passes are needed).

Since the compiler menu comes before the C library menu, those options
may or may not be visible until the C library is chosen, leading to
either options being visible by the user (thus be puzzling as they would
not apply to his case), or invisible to him (yet again puzzling him).

Invert the order of the compiler and the C library in the menuconfig. It
anyway looks more rational, in the end.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11 13:38:12 +02:00
Cody Schafer
db2872f2ac cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetal
The final bare-metal compiler is built using the core backend.
Currently the core uses the CC_CORE_EXTRA_CONFIG_ARRAY variable.

While this works as supposed to, this can leave the user puzzled
in the menuconfig, since all he can see is the core options, not
the final options.

Only show the core options if any of the core passes are needed,
and use the final options in the core-backend if we're issuing
the bare-metal compiler.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: hide core options if no core pass needed;
 use final option in core backend if issuing the bare-metal compiler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <22181e546ba746202489.1399688067@localhost>
Patchwork-Id: 347586
2014-05-09 19:13:49 -07:00
Cody Schafer
13fcbed86e arch: add option to let gccdecide what floating point to use
Add an ARCH_FLOAT_AUTO option to avoid passing float options
to gcc and allow it to choose

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: slightly reword the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <088489641f4790262685.1399687813@localhost>
Patchwork-Id: 347584
2014-05-09 19:10:08 -07:00
Cody Schafer
8cb9ce9357 debug/gdb: simplify the dependency logic
Signed-off-by: Cody P Schafer <dev@codyps.com>
Message-Id: <1d9659fcf6a9c7694ad2.1399687691@localhost>
Patchwork-Id: 347583
2014-05-09 19:08:00 -07:00
Yann E. MORIN"
4a05e37256 scripts: remove references to curl
It's been a while we're not using curl anymore.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-10 12:33:37 +02:00
Cody Schafer
490ec21217 scripts: add possibility to not override default connection timeout
Allow '-1' to be specified as CONNECTION_TIMEOUT to disable the use
of the connection timeout for wget.

Signed-off-by: Cody P Schafer <dev@codyps.com>
Message-Id: <cb33f8c2cbaf802d4f04.1399687632@localhost>
Patchwork-Id: 347582
2014-05-09 19:07:02 -07:00
Daniel Zimmermann
f336d89f93 kernel/linux: update linux kernel headers
update linux kernel headers to a newer version

Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>'
[yann.morin.1998@free.fr: further bump the versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <424a44a11e7051d8d894.1392963455@haus-VirtualBox>
Patchwork-Id: 322417
2014-02-21 07:17:33 +01:00
Yann E. MORIN"
8e0a0d3c41 libc/newlib: only requires core pass-2
Reported-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-05 23:24:33 +02:00
Yann E. MORIN"
98bd0146e5 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-05 23:29:48 +02:00
Yann E. MORIN"
dd15c93a11 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-03-11 22:11:43 +01:00
Ray Donnelly
7cd670ce06 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-20 18:23:08 +00:00
Ray Donnelly
8cf2758352 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-20 18:22:50 +00:00
Daniel Zimmermann
4f4c387543 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-19 22:36:03 +01:00
Daniel Zimmermann
28fe90cda2 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-17 07:11:45 +01:00
Daniel Zimmermann
086e927448 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-16 23:53:29 +01:00
Daniel Zimmermann
56ea64c322 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-15 15:49:57 +01:00
danielrubiob
42a15eb1c7 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-11 21:34:48 +01:00
danielrubiob
cdf11a4104 complibs/mpc: bump version
Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <d78f3a4ba2df1e076851.1391984022@uemo>
Patchwork-Id: 318636
2014-02-09 22:24:56 +01:00
danielrubiob
9b2d5df2cc complibs/gmp: bump version
Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <e0361ed37146d025171f.1391984021@uemo>
Patchwork-Id: 318635
2014-02-09 22:23:59 +01:00
danielrubiob
c214367d3a 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-02-09 22:21:15 +01:00
Yann E. MORIN"
2ee8d1d8f2 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-04 16:17:40 +01:00
Yann E. MORIN"
92f8806b2d 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-15 23:24:27 +01:00
Yann E. MORIN"
b57ff09131 cc/gcc: bump Linaro versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-01-05 19:44:45 +01:00
Yann E. MORIN"
ec93451443 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-04 16:19:18 +01:00
Niels Penneman
23e393f2ec 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-03 10:49:02 +01:00
Daniel Zimmermann
0bc7b32adf 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-02 10:35:44 +01:00
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"
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
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
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"
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"
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
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
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
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"
dcd073828e kernel/linux: bump versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-06 11:44:28 +02:00
Yann E. MORIN"
e010ee5742 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-03 15:36:11 +00:00
Yann E. MORIN"
f9a787bef9 complibs/mpfr: bump version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-04-26 14:30:34 +02:00
Yann E. MORIN"
8d34a99457 complibs/gmp: bump version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-04-26 14:30:05 +02:00
Benoît Thébaudeau"
f60abd80ae 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-11 15:24:46 +02:00
Benoît Thébaudeau"
e8023f01d0 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-04-11 15:12:10 +02:00
Benoît Thébaudeau"
c2204eeaa2 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-14 22:03:33 +01:00
Benoît Thébaudeau"
76cc258d65 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-14 21:52:31 +01:00
Benoît Thébaudeau"
cfcaf42076 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-19 13:07:09 +01:00
Benoît Thébaudeau"
74e3c9793e 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
2013-02-15 15:56:25 +01:00
Yann E. MORIN"
81c28d831b cc/gcc: remove 'sub-level' version form symbols
Now we use defconfig files to store the samples, we have to be a bit more
conservatives in the symbols names, so as to avoid gigantic version bumps
when updating sub-level versions from a package.

Update samples accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-24 22:37:31 +01:00
Yann E. MORIN"
0571b39a81 cc/gcc: remove 'sub-level' version form symbols
Now we use defconfig files to store the samples, we have to be a bit more
conservatives in the symbols names, so as to avoid gigantic version bumps
when updating sub-level versions from a package.

For example (using fictitious versions):
  - in crosstool-NG 1.17.0, we choose:
    - latest gcc is gcc-linaro-4.7-2012.10, which is the default for the
      choice in the menuconfig
    - gcc-linaro-4.6-2012.10 is selected
    - so, sample has an explicit symbol for the selected gcc version, as it
      is not the default
  - we update to crosstool-NG 1.18.0:
    - latest gcc version is gcc-linaro-4.7-2013.01
    - gcc-linaro-46 has been updated to gcc-linaro-4.6-2013.01
    - as the sample now has no *valid* symbol to set the gcc version, the
      default is used, while we would have expected to still use the 4.6
      release from linaro, not the 4.7

Get rid of sub-level (ie. the third digit sequence in versions) from the
symbols for linaro versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-24 22:21:19 +01:00
Yann E. MORIN"
3470f46004 binutils/binutils: 2.23 has gold
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-24 22:42:33 +01:00
Samuel Martin
338c1b4642 script: allow to pass any float value for CT_LOAD
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <b51acf21c72b4a8e882e.1359320015@laptop>
Patchwork-Id: 216062
2013-01-27 17:54:19 +01:00
Yann E. MORIN"
150f500426 arch: allow adding a suffix to the arch-part of a tuple
For some architectures, it is legit to have an alternate value in the
'architecture' part of the tuple. For example:
    armv5te-*
    armv7a8-*

Besides, some packages expect the tuple to reflect the arch variant
(eg. openMPI) to detect the variant's capabilities (eg. atomic
primitives).

This patch adds an option for the user to specify a suffix to be added
to the arch-part of the tuple.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Message-ID: <20130120225822.GS6838@1wt.eu>
Patch-Id: 213994
[yann.morin.1998@free.fr: make it a suffix, not an override]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-20 12:58:22 +00:00
Benoît Thébaudeau"
27c4240b82 kernel/linux: update revisions
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <df032717ca91dc9cc876.1358518690@advdt005-ubuntu>
Patchwork-Id: 213616
2013-01-18 15:15:13 +01:00
Benoît Thébaudeau"
57e1ebc98e cc/gcc: update Linaro GCC revisions to 2013.01
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <539b6c34453a74c17759.1358517007@advdt005-ubuntu>
Patchwork-Id: 213611
2013-01-18 14:47:44 +01:00
Yann E. MORIN"
1cabb74b7d scripts: check for running as root
Running as root is really, really dangerous.

Add a runtime-check that refuses to build if running as root.
Can be overriden with a double switch in the menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10 22:38:48 +01:00
Yann E. MORIN"
75bc67da4a arch/arm: OABI is no more, switch to only EABI
Well, leave the prompt as an OBSOLETE thing, scheduled to
be removed soon.

As an indication OABI lives its last days, gcc-4.8 will no
longer recognise non-EABI targets.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10 00:27:13 +01:00
Yann E. MORIN"
c1d673203d arch/arm: add option to use *eabihf tuples
Toolchains that use the hard-float ABI now are to be denoted by a tuple
ending in *eabihf, while the prevbious *eabi is now an indication that
the toolchain uses the softfloat ABI.

This is purely a cosmetic thing, for distros to differentiate their
hardfloat-ABI ports from their softfloat-ABI ports.

(note: softfloat ABI does not mean that it is using softfloats; it can
be using hardfloat instructions, but using the softfloat ABI).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10 00:11:17 +01:00
Yann E. MORIN"
0bd771f705 kernel/linux: add latest versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-07 00:58:13 +01:00
Yann E. MORIN"
982cfde700 binutils/binutils: add latest version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-27 12:42:42 +01:00
Yann E. MORIN"
d565297b97 libc/newlib: add latest version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-27 00:57:26 +01:00
Yann E. MORIN"
db5b6a4915 all: unmark experimental features
It's been some time now we've had those features, so unmark them
being experimental.

It does not mean everything is perfect, but may gather some more
testing of those features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 20:05:19 +01:00
Yann E. MORIN"
e8e7eca3c6 all: unmark experimental version
It's been a while we've had those versions, time to unmark them being
experimental. It does not mean everything is perfect, but may gather
some more testing on those versions.

Update samples accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 19:54:12 +01:00
Yann E. MORIN"
8bcfb25fb7 libc/eglibc: add latest version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 12:13:13 +01:00
Yann E. MORIN"
bbe3c1ee13 libc/glibc: add post-2.14 versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 11:49:49 +01:00
Yann E. MORIN"
ea77a251e5 libc/glibc: both glibc and eglibc have pkgversion and bugurl
Well, all eglibc version we support do, and latest glibc versions
we support do.

Not all glibc versions do, but older versions simply ignore the
unrecognised ./configure flags.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 13:30:51 +01:00
Yann E. MORIN"
340875e473 libc/eglibc: remove now superfluous config knobs
All eglibc versions we now have support pkgversion and bugurl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 12:15:10 +01:00
Yann E. MORIN"
652906ac5f all: remove versions marked obsolete
For major components, keep the latest version of each major releases.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 11:53:05 +01:00
Yann E. MORIN"
114e6eb147 arch: re-order the entries in the float choice
Re-order the three entries in the float choice, in a more sensible
order, ie:
  - all hard-float options come first, then soft-float
  - options that use the FPU are marked so: hard and softfp
  - options that do not use the FPU are marked so: software

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-23 14:32:20 +01:00
Benoît Thébaudeau"
7c9671092e debug/gdb: update Linaro GDB revisions to 2012.12-1
Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b6c4a82286f9a3de3948.1355761104@advdt005-ubuntu>
Patchwork-Id: 206907
2012-12-17 17:17:23 +01:00
Benoît Thébaudeau"
14681be70d cc/gcc: update Linaro GCC revisions to 2012.12
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <acf52a6302c475ff850e.1355760853@advdt005-ubuntu>
Patchwork-Id: 206905
2012-12-17 17:13:27 +01:00
Benoît Thébaudeau"
ddc96cedb7 debug/gdb: update Linaro GDB revisions to 2012.12
Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <f37c710b8eb881abde4f.1355226132@advdt005-ubuntu>
Patchwork-Id: 205182
2012-12-11 12:40:21 +01:00
Benoît Thébaudeau"
827f1ab92b kernel/linux: update revisions
Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <515f9ed69f58a0af21e9.1355226920@advdt005-ubuntu>
Patchwork-Id: 205183
2012-12-11 12:54:05 +01:00
Yann E. MORIN"
fc4d1bf65f complibs/ppl: fix build with newer gcc
ppl-0.10.x does not build with gcc-4.6+, as it uses constructs that were
warnings with gcc-4.5 and before, but are now errors with gcc-4.6 and
above.

Fix that by passing -fpermissive in CFLAGS for ppl 0.10.

Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-10 00:25:48 +01:00
Yann Diorcet
e9920217e8 cc: add a flag for skipping core passes
It is used for skipping unnecessary compilation steps when the libc
doesn't need to be compiled (eg. when we do not use a C library).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <150eadb0117e697d79aa.1353625025@blackmint>
Patchwork-Id: 201222
2012-11-22 23:56:58 +01:00
Yann E. MORIN"
b5a8739e59 scripts: fix mis-alignment due to new variables
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-19 22:13:11 +01:00
Yann Diorcet
9705ec34cf binutils: introduce the infrastructure to support binutils alternatives
Rework binutils in order to provide soon binutils alternative.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
2012-11-19 11:21:31 +01:00
Yann E. MORIN"
87cc50cfd9 binutils/elf2flt: remove use of CVS snapshots
The CVS snapshot options are never used, so get rid of them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-19 23:24:49 +01:00
Yann Diorcet
19fa6609da binutils/binutils: simplify gold dependencies
In preparation of adding a new kernel-type, Yann D. came up
with a change in semantic on binutils/gold availability.

So far, it was architectures' responsibility to declare that
they did support binutils/gold or not. It makes much more sense
that binutils/gold declares its own availability depending on
the current architecture; after all, architectures have no way
to know wether gold supports them, while gold does know it.

Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
2012-11-19 21:45:09 +01:00
Yann Diorcet
7b7f7e4db2 binutils: cleanup ELF/FLAT/FDPIC dependencies
In preparation of adding a new kernel-type, Yann D. came up
with a cleanup pass on the ELF/FLAT/FDPIC dependencies.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
2012-11-19 21:39:58 +01:00
Yann Diorcet
b43fdf40f1 scripts: add BUILD/HOST extra cflags/ldflags
On some hosts, and for certain toolchains (eg. toolchain targetting
the upcoming Darwin), it may be necessary to pass arbitrary CFLAGS
and/or LDFLAGS when building the components.

And necessary infrastructure:
  - EXTRA_{CFLAGS,LDFLAGS}_FOR_{BUILD,HOST} as config options
  - pass those extra flags to components

Fix-up a slight typo in elf2flt at the same time (misnamed cflags).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <d24043276c9243a35421.1353077450@macbook-smorlat.local>
Patchwork-Id: 199645
2012-11-16 15:25:57 +01:00
Yann Diorcet
ba31ed29c4 binutils/sstrip: remove
sstrip has been obsoleted for a while now, as it's still broken
for some archs, and there seems to be no incentive to fix it
upstream. Besides, the space gained with sstrip is marginal at
best.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <65c8bf534d0647ce52cd.1353320545@macbook-smorlat.local>
Patchwork-Id: 199970
2012-11-19 11:19:54 +01:00
Benoît Thébaudeau"
1d6a6534d1 kernel/linux: update revisions
Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <4b669b1e51901b6ec6b1.1353009148@advdt005-ubuntu>
Patchwork-Id: 199394
2012-11-15 20:51:31 +01:00
Benoît Thébaudeau"
9f0e9ebc73 cc/gcc: update Linaro GCC revisions to 2012.11
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <8e49233e63d9d6051dc2.1353008548@advdt005-ubuntu>
Patchwork-Id: 199390
2012-11-15 20:41:32 +01:00
Yann Diorcet
3d01e9f275 libc/mingw: replace mingw32 with generic mingw
Replace the 32-bit-only mingw32 with mingw-w64 that is capable
of building toolchains for both 32-bit and 64-bit Windows.

kernel/mingw: replace mingw32 with generic Windows
kernel/windows: New windows kernel supporting 32 and 64 bit arch
libc/mingw: Remove old options
patches: Remove old mingw libc options' patches

Signed-off-by: "Yann Diorcet" <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: array var in libc/mingw.sh, typos]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <b045ac08fc9eac2e5ee3.1352898499@blackmint>
Patchwork-Id: 198901
2012-11-14 14:05:49 +01:00
Yann E. MORIN"
baba086806 libc/uClibc: remove use of snapshots and specific date
We now have the ability to use a custom location, so supporting
snapshots or custom date is no longer needed. Let the user do the
required preparation in this case.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-10-31 23:31:32 +01:00
David Holsgrove
5ed8715c9d libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain>
PatchWork-Id: 190794
2012-10-11 14:39:44 +10:00
Yann E. MORIN"
de0ef330c3 libc/newlib: remove getting from CVS
We now have the ability to use a custom local directory/tarball, so
it no longer makes sense to have the ability to use the CVS repository.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-10-30 22:40:48 +01:00
David Holsgrove
66a2b08680 libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795
2012-10-11 14:39:45 +10:00
Yann E. MORIN"
8bcd5c689c cc/gcc: remove svn source
Since we now have the opportunity to use a custom local directory/tarball
as the source for gcc, it no longer makes sense to retrieve gcc ourselves
from its subversion repository.

Cc: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-10-30 00:30:47 +01:00
David Holsgrove
35f55a7495 debug/gdb: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <9ea1b5021fc77582867f.1349931197@localhost.localdomain>
PatchWork-Id: 190791
2012-10-11 14:39:42 +10:00
David Holsgrove
33d3919c3e binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config

Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract,
CT_Patch and as the CT_SRC_DIR location for the configure stage.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain>
PatchWork-Id: 190789
2012-10-11 14:39:42 +10:00
David Holsgrove
2ace8ed697 binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain>
PatchWork-Id: 190788
2012-10-11 14:39:41 +10:00
David Holsgrove
6b8740dd6d cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom directory location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <f2272ac0f37cedd0bb91.1349931194@localhost.localdomain>
PatchWork-Id: 190787
2012-10-11 14:39:41 +10:00
Yann E. MORIN"
3a7e81925b kernel/linux: add altest versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-10-22 22:40:01 +02:00
Yann E. MORIN"
dd98145bc1 scripts: add option to start an interactive debug shell
Add an option that, when a command fails:
  - starts an interactive shell with the failed command's environment
  - attempts re-execution of the failed command, continues, or aborts
    at user's whim.

Before starting the debug-shell, the backtrace is printed.
When exiting for an abort, the standard error message is printed.

Based on an idea and a patch from: Johannes Stezenbach <js@sig21.net>
    http://sourceware.org/ml/crossgcc/2012-09/msg00144.html

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: integrate in the fault handler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Johannes Stezenbach <js@sig21.net>
Patchwork-Id: 191571
Patchwork-Id: 191668
2012-10-06 23:48:07 +02:00
David Holsgrove
f242016a09 scripts/functions: add a generic custom location infrastructure
Add a generic custom location infrastructure (inspired by the one in
kernel/linux) to allow the user to use custom tarballs or directories
for any component.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: move config option, improve help text, fix API doc]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <131c163c69f9cc81d2be.1349931191@localhost.localdomain>
PatchWork-Id: 190784
Message-Id: <0bbaba9190a76ba97f72.1349931192@localhost.localdomain>
PatchWork-Id: 190785
2012-10-04 13:26:14 +10:00
David Holsgrove
110027316e libc/glibc: Remove redundant LIBC_GLIBC_TARBALL config option
Unused since January 2010.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <7a666ba8c0ea5e8f4b18.1349931190@localhost.localdomain>
PatchWork-Id: 190783
2012-10-11 14:37:45 +10:00
Benoît Thébaudeau"
9c58cc9b74 kernel/linux: update revisions
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <efc60d787e571c37eef1.1349964870@advdt005-ubuntu>
PatchWork-Id: 190917
2012-10-11 16:11:35 +02:00
Benoît Thébaudeau"
86cdd52367 cc/gcc: update Linaro GCC revisions to 2012.10
cc/gcc: update Linaro GCC revisions to 2012.10

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b482331ff863a5fc3507.1349963865@advdt005-ubuntu>
PatchWork-Id: 190914
2012-10-11 15:55:15 +02:00
Florian Fainelli
6eefc4b665 cc/gcc: add gcc 4.7.2
cc/gcc: add gcc 4.7.2

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Message-ID: <5869423.KezhlrYYmc@flexo>
PatchWork-ID: 185750
2012-09-21 16:38:18 +02:00
Benoît Thébaudeau"
c9e9c4598c kernel/linux: update revisions
Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <f87414d1b7f0d5d417b7.1348237635@advdt005-ubuntu>
PatchWork-ID: 185747
2012-09-21 16:26:10 +02:00