summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-01-09cc/gcc: Fix dynamic linker path for hard float libcBernhard Walle1-0/+44
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>
2015-01-09comptools/make: Install 'gmake' symlinkBernhard Walle2-0/+8
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-07Merge pull request #19 from davidholsgrove/newlib_headersBryan Hundven2-12/+6
Newlib headers for Canadian Crosses
2015-01-03Merge pull request #20 from bhundven/masterBryan Hundven4-0/+91
binutils: Add binutils-2.25
2015-01-02binutils: Add binutils-2.25Bryan Hundven4-0/+91
This also updates the patches from 2.24. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-01-01cc/gcc: Remove copyheaders toggle in do_cc_core_backend, make defaultDavid Holsgrove1-8/+2
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>
2015-01-01libc/newlib: Add do_libc_start_files to copy headers to CT_HEADERS_DIRDavid Holsgrove1-4/+4
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>
2015-01-01Merge pull request #16 from bhundven/masterBryan Hundven2-2/+15
gmp: Disable --enable-mpbsd if version is >= 5.0.2
2014-12-23gmp: Disable --enable-mpbsd if version is >= 5.0.2Bryan Hundven2-2/+15
closes #12 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-16Merge pull request #13 from davidholsgrove/newlib_canadianBryan Hundven1-1/+2
libc/newlib: Canadian baremetal builds require core pass-1
2014-12-16Merge pull request #14 from davidholsgrove/glibc_rpcBryan Hundven1-2/+3
libc/glibc: install obsolete RPC for both eglibc and glibc
2014-12-15Merge pull request #11 from jrbyrne/workingBryan Hundven1-10/+10
config/linux: Update kernel versions
2014-12-15Merge pull request #6 from davidholsgrove/libc_custom_locationBryan Hundven5-7/+71
Libc custom location
2014-12-15libc/glibc: install obsolete RPC for both eglibc and glibcJérôme BARDON1-2/+3
Currently, the obsolete RPC headers are only installed for eglibc, but glibc has the same /deficiency/, so install the obsolete RPC for both. Signed-off-by: Jérôme BARDON <bardon.pro@gmail.com> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-15libc/newlib: Canadian baremetal builds require core pass-1David Holsgrove1-1/+2
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-11config/linux: Update kernel versionsJames Byrne1-10/+10
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-10Merge pull request #9 from bhundven/masterBryan Hundven2-1/+3
Fixes for glibc and gdb
2014-12-10Merge pull request #10 from jrbyrne/workingBryan Hundven2-1/+3
Update .gitignore files.
2014-12-10Update .gitignore files.James Byrne2-1/+3
The current .gitignore files cause changes to files which are actually part of the repository to be ignored. This commit modifies the rules so that this does not happen. The files that were affected are: config/global/paths.in contrib/gcc-test-suite/Makefile docs/ct-ng.1.in kconfig/Makefile (as revealed by 'git ls-files --ignored --exclude-standard') Signed-off-by: James Byrne <james.byrne@origamienergy.com>
2014-12-10gdb: fix typo made in gdb build scriptBryan Hundven1-1/+1
I made a typo in: 1e17619b273fb49f8d2e162f34c26994698285b3 It should be version, not release. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-10config/glibc: Disable ports/ for 2.20Bryan Hundven1-0/+2
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-09gcc: The latest 'released' linaro 4.8 is 2014.04, not 08Bryan Hundven1-2/+2
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-09gcc and gdb: fix fetching linaro builds (part three)Bryan Hundven2-2/+3
Yes, I missed the backslash which messed up the linaro stuff. The more I look at this code, I feel it needs to be refactored a bit. So I'll come back to this in the future and clean it up. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-09gcc and gdb: fix fetching linaro builds (part two)Bryan Hundven2-2/+2
It's not my day. linaro_version is a filter. If it is not a linaro toolchain, it will just be CT_{CC,GDB}_VERSION. If it is a linaro toolchain, CT_{CC,GDB}_VERSION will be prefixed with 'linaro-' and will not match linaro_version, as linaro_version will just have the part after 'linaro-'. This *really* fixes the issue :sigh: Thanks again to @elsonwei for being right the first time! Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-09gcc: Update linaro 4.7 and 4.8 (Attempt 2)Bryan Hundven1-3/+3
I messed up the previous commit. I only updated half the config file, and the latest 4.8 is 2014.08. :facepalm: Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-09gcc: Update linaro 4.7 and 4.8Bryan Hundven1-2/+2
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-09gcc and gdb: fix fetching linaro buildsBryan Hundven2-4/+4
linaro_version and linaro_series are defined but not set if we are not configured for linaro builds. Therefore we need to default them to "" (null string). As reported by @elsonwei Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-09libc/{,e}glibc: If using custom {e}glibc, dont extract or patchDavid Holsgrove1-3/+9
If custom {e}glibc is being used, no need to carry out the extract or patching phase of scripts/build/libc/glibc-eglibc.sh-common Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09libc/eglibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2-3/+33
CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09libc/glibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2-1/+29
CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-09Merge pull request #5 from davidholsgrove/glibc2.20_updatesBryan Hundven2-4/+15
Glibc 2.20 updates
2014-12-09glibc: nptl is default from 2.20, so dont add to addons_listDavid Holsgrove2-4/+10
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-09libc/glibc: Add glibc-2.20Bryan Hundven1-0/+5
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-12-08scripts: Update download locationsBryan Hundven17-47/+52
This change updates the download locations to default to the official download site. For gcc and gdb, also separate out the linaro download locations so that if you are downloading the linaro variant, it skips trying to download from the official gcc mirror. This commit closes #3 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-06docs: Update path to credits appendix in man pageBryan Hundven1-1/+1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05binutils: Fix elf2flt compile on more modern systemsSolomon Peachy1-0/+1
Without this fix, elf2flt will blow up complaining that it can't resolve dlopen() and friends. One has to explicitly pass '-ldl' on the final linking command line, because the system linker is not resolving indirect dependent shared libraries. I've needed to this patch for several years on Fedora systems. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05binutils: Fixup the static toolchain build problemgoodmenlinux@gmail.com1-1/+1
When try to build the static toolchain, binutils failed. I have checked the libtool script, and found that the following option -all-static -static -static-libtool-libs are processed in a strange way. If any one of those three options appears firstly in the cmdline, all others will be neglected. Our LDFLAGS is ".... -static -all-static -o", so the -static option takes the real effect, and the -all-static has no useage actually! that is the cause of the failure. Signed-off-by: Brock Zheng <goodmenlinux@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05scripts/crosstool-NG.sh.in: patch regex to work with BSD grepJason T. Masker2-2/+2
BSD grep does not interpret a null alteration. It complains about an empty sub-expression, e.g.: $ grep --version && grep -E '^(# |)CT_' .config grep (BSD grep) 2.5.1-FreeBSD grep: empty (sub)expression This patch replaces the null alteration with a zero or once quantifier which works with both BSD & GNU grep. $ grep --version && grep -E '^(# )?CT_' .config grep (BSD grep) 2.5.1-FreeBSD CT_CONFIGURE_has_xz=y CT_CONFIGURE_has_svn=y ... $ ggrep --version && ggrep -E '^(# )?CT_' .config ggrep (GNU grep) 2.20 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>. CT_CONFIGURE_has_xz=y CT_CONFIGURE_has_svn=y ... Signed-off-by: Jason T. Masker <jason@masker.net> Tested-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05companion_libs/gmp: pump gmp to version 6.0.0aDaniel Zimmermann1-0/+5
# 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-05config/linux: Update kernel versionsBryan Hundven1-12/+22
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-05config/libc: update musl-libc mainline to 1.1.5Bryan Hundven1-3/+3
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05debug/gdb: Add gdb-7.8.1Bryan Hundven1-0/+6
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-05cc/gcc: add gcc 4.9.2Daniel Zimmermann1-0/+6
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[docs] Update introductionBryan Hundven1-5/+8
s/I\ /Yann\ /g Also add a little blurb about me taking over as maintainer. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-11-24all: remove references to creating a tarballYann E. MORIN3-15/+1
This has been broken for ages, time to finaly remove it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-09-21binutils/binutils: 2.23.x and 2.24 are no longer experimentalYann E. MORIN1-6/+3
Besides, at least 2.24 is required for Aarch64 (aka arm64.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-09-20arch/arm: EABIhf is now the defaultYann E. MORIN1-1/+1
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-11populate: fix empty files.listJean-Marie Lemetayer1-1/+1
The output format of the file(1) command have changed since (at least) the version 5.14. We need to to take care of an extra space. Signed-off-by: Jean-Marie Lemetayer <jeanmarie.lemetayer@gmail.com> [yann.morin.1998@free.fr: do not right-shift trailing back-slashes] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11config/gcc: Disable CC_GCC_LIBSANITIZER for musl-libcBryan Hundven1-1/+1
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-11libc/musl: Add config option for extra developer warningsBryan Hundven2-0/+10
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>