Commit Graph

1089 Commits

Author SHA1 Message Date
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