Commit Graph

3295 Commits (41891506f6869526d46e96ff23d3b7b8f7ed96c9)
 

Author SHA1 Message Date
Bryan Hundven f54c5f674f Merge pull request #64 from jpf91/fixSymlink
Only create ${CT_TARGET}-cc${ext} symlink if ${CT_TARGET}-gcc exists
8 years ago
Johannes Pfau 586e30f726 Only create ${CT_TARGET}-cc${ext} symlink if ${CT_TARGET}-gcc exists
Without this canadion cross builds create invalid symlinks:
When the code in do_cc_core_backend is called there is no
${CT_TARGET}-gcc in the install directory. Therefore ext is empty and
we create a link to ${CT_TARGET}-gcc. The final compiler
step then installs ${CT_TARGET}-gcc.exe and creates a working
${CT_TARGET}-cc.exe symlink but we still keep the invalid link
as well.

Signed-off-by: Johannes Pfau <johannespfau@gmail.com>
8 years ago
Bryan Hundven 95ef22033e Merge pull request #61 from Christopher83/master
Updates to Linaro GCC 4.9 and kernel versions
8 years ago
Romain c1c1189367 Do not use strlen to check that a string is empty
Here, the exact size of a not empty string is useless.
8 years ago
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>
8 years ago
Cristoforo Cataldo 996466bd53 config/gcc: Update to Linaro GCC 4.9-2015.03
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
8 years ago
Bryan Hundven d74f1cc256 Merge pull request #55 from netzimme/master
add gdb 7.9 and 7.8.2
8 years ago
Daniel Zimmermann f1e7cecf07 add gdb 7.9 and 7.8.2 8 years ago
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>
8 years ago
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>
8 years ago
Stefan Tauner aa8b3252d9 Add glibc 2.21
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
8 years ago
Bryan Hundven ae17f9015e Merge pull request #43 from bwalle/glibc-2.16-ghost
libc/glibc: Add patch to fix CVE-2015-0235
8 years ago
Bernhard Walle 6fadfa909b libc/glibc: Add patch to fix CVE-2015-0235
This patch fixes the so-called "GHOST" buffer overflow in glibc 2.16.
See http://www.openwall.com/lists/oss-security/2015/01/27/9.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
8 years ago
Bryan Hundven 6168aff98d Merge pull request #40 from bhundven/download_http_first
scripts/*/*.sh: prioritize http downloads
8 years ago
Bryan Hundven f4788fd57d Merge pull request #39 from stefanct/master
Add patch to fix building glibc 2.20 on sparc
8 years ago
Bryan Hundven 7b8d76ed56 scripts/*/*.sh: prioritize http downloads
Prirotize http downloads before ftp downloads.
By having http download first, those using proxy will work with the
current download mechnism.

This tells me that that mechnism needs to be updated.
(proxy support and/or kconfig toggles)

closes #3

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
8 years ago
Stefan c98155a82a Add patch to fix building glibc 2.20 on sparc
This actually comes from upstream:
https://sourceware.org/ml/libc-alpha/2014-09/msg00317.html
It is needed for plain glibc as well as linaro's version.
A symlink is added for the latter's version 2.20-2014.11.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at>
8 years ago
Bryan Hundven add039fd50 glibc: Fix pkgversion and bugurl support
glibc versions that don't support --with-pkgversion or --with-bugurl
will cause a harmless:

====================
configure: WARNING: unrecognized options: --with-bugurl...`
====================

If it's set, use it, if it's a recognized option.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
8 years ago
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>
8 years ago
Bryan Hundven efd8225d2a Merge pull request #36 from netzimme/master
arch/sample : add sample file for the nios2 architecture
8 years ago
Daniel Zimmermann 25f2f07bf9 arch/sample : add sample file for the nios2 architecture
add sample file for the nios2 architecture.
8 years ago
Bryan Hundven 6f72000ea8 Merge pull request #35 from netzimme/master
arch/nios2:add nios2
8 years ago
Daniel Zimmermann 4ac1653f94 arch/nios2:add nios2
add the nios2 architecture to crosstool-ng.

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
8 years ago
Bryan Hundven 0a6b755fea Merge pull request #24 from Christopher83/master
Add the support to choose, download and build latest Linaro toolchain components
8 years ago
Bryan Hundven cf3fc4244c Merge pull request #22 from Ledest/master
fix bashisms in patch-rework.sh script
8 years ago
Bryan Hundven 1b04bead74 Merge pull request #26 from bhundven/patchwork-andreas-bießmann
uClibc: fix darwin build
8 years ago
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>
8 years ago
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>
8 years ago
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>
8 years ago
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>
8 years ago
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>
8 years ago
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>
8 years ago
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>
8 years ago
Bryan Hundven 7c7b882c8f Merge pull request #32 from manni83/e500v2
Adding upstream patches of powerpc-e500v2-linux-gnuspe
8 years ago
Led b50cde605a Fix bashisms in patch-rework.sh script
This script has a '#!/bin/sh' shabang and might be running on a POSIX
shell. So replace bash-specific constructions (pushd/popd, for((...)),
read with '-u' option) to POSIX-shell equivalents.

Signed-off-by: Led ledest@gmail.com
8 years ago
Bryan Hundven e549e3cc2a Merge pull request #25 from bhundven/patchworks-bernhard_walle
Patchwork bernhard walle
8 years ago
Bryan Hundven aa5cfc5f8f Merge pull request #27 from bhundven/patchwork-bob-dunlop
Patch newlib-2.xx optimising for space Append flags to CFLAGS_FOR_TARGET rather than replacing.
8 years ago
Bryan Hundven d367e4031e Merge pull request #29 from diorcety-ctng/updates
config.{sub,guess}: Update to latest
8 years ago
Ray Donnelly 45fea7447e config.{sub,guess}: Update to latest
From http://git.savannah.gnu.org/gitweb/?p=config.git

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
8 years ago
Manfred Rudigier 72e05e7ab1 cc/gcc: added upstream patches for powerpc-e500v2-linux-gnuspe.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
8 years ago
Manfred Rudigier 8f76d130c7 Added gcc 4.8.4.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
8 years ago
Bob Dunlop 0161a4411b Patch newlib-2.xx optimising for space Append flags to CFLAGS_FOR_TARGET rather than replacing. 8 years ago
Andreas Bießmann 99435117fd uClibc: fix darwin build
uClibc's unifdef tool declares strlcpy(3) which is problematic on OS X. There
(and probably on other systems) strlcpy(3) is defined as a macro, re-declaring
it here will fail cause the macro expansion will generate an invalid function
name.
The declaration of strlcpy(3) is however useless cause it is never used in the
tool. Also upstream patch 2a021ae81c36f4281883a3195f7ce81504edf978 will remove
it. Using that patch here is overkill, cause it rewrites a lot of the
unifdef.c code.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
8 years ago
Bernhard Walle 1a6e9782e2 cc/gcc: Fix dynamic linker path for hard float libc
When compiling glibc 2.16 and gcc 4.7.4 with CT_ARCH_FLOAT="hard",
I end up in a dynamic linker called /lib/ld-linux-armhf.so.3, but
gcc compiles the binaries with an ELF interpreter /lib/ld-linux.so.3.
That doesn't work.

This patch (which is included in recent gcc version and also is included
in Linaro 4.7 versions) fixes the problem. I just stripped the ChangeLog

diff from the original commit.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
8 years ago
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>
8 years ago
Bryan Hundven 2ba44bb761 Merge pull request #19 from davidholsgrove/newlib_headers
Newlib headers for Canadian Crosses
8 years ago
Bryan Hundven d86f21e879 Merge pull request #20 from bhundven/master
binutils: Add binutils-2.25
8 years ago
Bryan Hundven b49e233167 binutils: Add binutils-2.25
This also updates the patches from 2.24.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
8 years ago
David Holsgrove af731ae904 cc/gcc: Remove copyheaders toggle in do_cc_core_backend, make default
Canadian Cross compile for baremetal fails with error;

  checking for the value of EOF... configure: error: computing EOF failed

which is due to libstdc++ configure not being able to find stdio.h

Having all modes of the core compiler copyheaders from CT_HEADERS_DIR
(in combination with previous patch for newlib to add a do_libc_start_files
function to copy into the CT_HEADERS_DIR) resolves this.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
8 years ago
David Holsgrove 234c643008 libc/newlib: Add do_libc_start_files to copy headers to CT_HEADERS_DIR
Require access to newlibs headers in gcc.sh, matching other libc components.
Resolves issue with headers not found.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
8 years ago