Commit Graph

3347 Commits

Author SHA1 Message Date
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
74b09f9c4a Merge pull request #160 from bhundven/fix_glibc_addons
glibc: Fix applying addons to glibc => 2.17
2015-09-01 20:16:38 -07: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
db8ff6c011 Merge pull request #159 from bhundven/strace_patches
strace: Add strace-4.10 patches from debian
2015-09-01 19:40:21 -07:00
Bryan Hundven
ba77b5dab8 strace: Add strace-4.10 patches from debian
https://sources.debian.net/src/strace/4.10-3/debian/patches/

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 19:38:10 -07:00
Bryan Hundven
c5fbb8716b Merge pull request #158 from bhundven/musl_update
musl: Update mainline to 1.1.11
2015-09-01 19:27:32 -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
dd34ed9a0a Merge pull request #157 from bhundven/sync_ltrace_patches
ltrace: Sync ltrace patches with debian
2015-09-01 19:20:04 -07:00
Bryan Hundven
d90a3c0ca5 ltrace: Sync ltrace patches with debian
This commit syncs the patches applied to ltrace with debian:
https://sources.debian.net/src/ltrace/0.7.3-5/debian/patches/

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-09-01 19:17:31 -07:00
Bryan Hundven
5b4aec54c7 Merge pull request #156 from bhundven/gdb_update
gdb: Add gdb-7.10
2015-09-01 18:52:26 -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
21818128bc Merge pull request #155 from bhundven/glibc_update
glibc: Add 2.22, and add a constraint on glibc >= 2.21
2015-09-01 18:47:44 -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
4676926352 Merge pull request #154 from bhundven/kernel_update
config/linux: Add 4.2 and update stable versions
2015-09-01 18:32:12 -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
Bryan Hundven
6ac93ed03b Merge pull request #144 from jasmin-j/fix_142
Fix for issue #142:
2015-08-31 22:15:37 -07:00
Bryan Hundven
366255e75c Merge pull request #143 from jasmin-j/fix_141
Added new config ISL_V_0_14_or_later and ISL_V_0_12_or_later to select
2015-08-31 22:12:51 -07: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
c6f30f67f0 Fix for issue #142:
Configure for for core GCC did not use Core gcc extra config.
Use now config variable CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-01 02:46:38 +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
094b5be8fd Merge pull request #135 from BenGardiner/linux-unwind_siginfo
fix linux-unwind.h siginfo incomplete type
2015-08-26 11:14:41 -07:00
Bryan Hundven
399c5134bd Merge pull request #140 from diorcety-ctng/windows-target
mingw-w64: Rename targets to {i686,x86_64}-w64-mingw32
2015-08-25 18:51:14 -07:00
Ben Gardiner
c90eb9178e gcc/patches: fix linux-unwind.h siginfo incomplete type
This changeset fixes an 'incomplete type struct siginfo' error when
attempting to build gcc-4.5.3 for mipsel.

Signed-off-by: Ben Gardiner <ben.l.gardiner@gmail.com>
2015-08-25 05:02:55 -04:00
Ray Donnelly
86fbcfc36b mingw-w64: Rename targets to {i686,x86_64}-w64-mingw32
.. and set CT_TARGET_VENDOR to w64. Otherwise config.gcc doesn't
pickup the right files for include_next (and probably many other
things go wrong too).

w64 has been the correct vendor for absolutely ages now on all
distributions that provide MinGW-w64 cross compilers.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-08-25 00:16:25 +01:00
Bryan Hundven
ba5754e4fa Merge pull request #134 from bhundven/update_kernel
linux: Update kernel versions
2015-08-07 11:28:40 -07: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
Bryan Hundven
9cf62f68ec Merge pull request #129 from kkaefer/glibc-2.11-support-make-4-0
Patch glibc 2.11's configure script to support Make 4
2015-07-17 07:04:52 -07:00
Konstantin Käfer
71943aae98 patch glibc 2.11's configure script to support Make 4 2015-07-14 18:31:31 +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
8170c3cee6 Merge pull request #128 from bhundven/update-gcc
config: Add new gcc stable versions
2015-07-10 07:52:46 -07: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
Erico Nunes
2f436a02e3 avr: enable C++ support in the avr sample
C++ support is enabled in most samples existing in crosstool-ng and is also
supported by AVR.
As pointed out in pull request #124 in the crosstool-ng github, Arduino based
projects willing to use this toolchain will require C++ support.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-27 21:33:49 -03:00
Bryan Hundven
c8f591fd74 Merge pull request #126 from bhundven/update_kernels
config/kernel: Update linux kernel versions
2015-06-24 09:08:31 -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
Bryan Hundven
cedb0166a9 Merge pull request #123 from jmlemetayer/master
autoconf: Update sub directory name
2015-06-23 07:01:27 -07:00
Erico Nunes
14cc1cb28e functions: write permission in config.{guess,sub}
avr-libc doesn't have write permissions in these by default in the 1.8.1
tar release, this caused an error during build with
CT_OVERIDE_CONFIG_GUESS_SUB enabled.

chmod u+w them before overriding to avoid an this error.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-21 20:54:16 -03:00
Erico Nunes
11646447fa binutils: patch to support -C for AVR memory usage
Distribution avr toolchains commonly add a patch to binutils' size to
enable a custom "-C" option that shows AVR memory usage.
This patch is specific to the AVR architecture.
In order to make the crosstool-ng AVR toolchain compatible with existing
distribution toolchains, this patch is necessary.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-21 20:54:00 -03:00
Erico Nunes
219c5e932f functions: add support for arch-specific patch
Add support for applying arch-specific patches found in
"patches/${pkgname}/${version}/${CT_ARCH}".

This is needed for applying a popular binutils patch specific for the
AVR architecture but which isn't isolated for AVR in binutils' code.
In this case, applying it for every architecture would end up bloating
binutils' "size" options with AVR specifics.

This feels like a bit of a hack but it is easy enough to support with
current crosstool-ng infrastructure, seems like worth it for this case.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-21 20:53:43 -03:00
Erico Nunes
6da2fde11e avr: add avr toolchain config sample
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.

Some patches are required in avr-libc for a toolchain with gcc 5.x to
work. These patches are still not part of any avr-libc release version,
so the config sample currently forces 4.9.x to avoid requiring to clone
avr-libc trunk.

References:
    https://savannah.nongnu.org/bugs/?44574
    https://gcc.gnu.org/gcc-5/changes.html

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
2015-06-21 20:53:18 -03: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