Commit Graph

1016 Commits

Author SHA1 Message Date
Stefan Tauner
aa8b3252d9 Add glibc 2.21
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
2015-02-07 20:02:25 +01: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