aboutsummaryrefslogtreecommitdiff
path: root/config/cc
Commit message (Collapse)AuthorAgeFilesLines
* Retire obsoleted milestonesAlexey Neyman2022-02-111-7/+2
| | | | | | | | | | | | ... and the code dependent on them, after the latest wave of obsolete package removals. This concludes the glorious history of the original uClibc (non-NG) with lots of kludges removed. There was a choice here, whether to call the resulting libc "uClibc" or "uClibc-ng". I opted in favor of giving uClibc-ng the recognition it deserves, although it had some ripple effect in the ct-ng code. Signed-off-by: Alexey Neyman <stilor@att.net>
* binutils: Remove obsolete versionsChris Packham2021-09-211-1/+0
| | | | | | | | | | | | | | | The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - binutils-linaro-2.23.2-2013.10-4 - binutils-linaro-2.24.0-2014.11-2 - binutils-linaro-2.25.0-2015.01-2 - binutils-2.23.2 - binutils-2.24 - binutils-2.25.1 Adjust the milestones now that the old versions have been removed. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* cc/gcc: Add options for zstd usageChris Packham2021-08-291-0/+19
| | | | | | | | | | | | GCC can support using zstd compression for LTO object files. By default GCC's configure will enable this if libzstd is installed on the machine building the toolchain. This may be undesirable if the toolchain is to be used on a different machine. Add an option to control zstd usage and set the default to the same as the current behaviour (i.e. auto). Fixes #1579 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Make CC_GCC_TM_CLONE_REGISTRY tristateChris Packham2021-06-201-1/+8
| | | | | | | | | | | | | | Explicitly passing --disable-tm-clone-registry causes gcc to create a crtbegin.o with a zero-sized .init_array/.fini_array. This in turn causes ld to complain. Make CC_GCC_TM_CLONE_REGISTRY a tristate so if it's not explicitly enabled we can let ./configure decide. Fixes #1531 Fixes: 1e21a302 ("gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY config") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY configStephanos Ioannidis2021-06-081-0/+7
| | | | | | | | | | | This commit adds a new gcc config `CT_CC_GCC_TM_CLONE_REGISTRY` that enables the GCC transactional memory clone registry feature for libgcc. Note that the gcc option to control this feature is only available in gcc 10 and above. (see gcc commit 5a4602805eb3ebddbc935b102481e63bffc7c5e6) Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
* Remove m1 from multilibs for GCC11 on SH arch.spaun20022021-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC11 somehow has different set of multilibs on SH arch than what GCC10 had. In particular: $ gcc10 -print-multi-lib | sed -r -e 's/@/ -/g;' .; mb; -mb m2; -m2 m2e; -m2e m4; -m4 m4-single; -m4-single m4-single-only; -m4-single-only mb/m2; -mb -m2 mb/m2e; -mb -m2e mb/m4; -mb -m4 mb/m4-single; -mb -m4-single mb/m4-single-only; -mb -m4-single-only mb/m2a; -mb -m2a mb/m2a-single; -mb -m2a-single $ gcc11 -print-multi-lib | sed -r -e 's/@/ -/g;' .; mb; -mb m2; -m2 m2e; -m2e m4; -m4 m4-single; -m4-single m4-single-only; -m4-single-only mb/m1; -mb -m1 mb/m2; -mb -m2 mb/m2e; -mb -m2e mb/m4; -mb -m4 mb/m4-single; -mb -m4-single mb/m4-single-only; -mb -m4-single-only mb/m2a; -mb -m2a mb/m2a-single; -mb -m2a-single mb/m1 fails to build libgcc as libgcc uses opcodes that were not available in SH-1: libgcc/config/sh/lib1funcs.S uses 'bt/s' and 'dt' instructions that, according to https://antime.kapsi.fi/sega/files/h12p0.pdf become available in the SH-2 only. So I removed mb/m1 from the multilibs fog GCC11 and SH arch. Another option would be to try not to build libgcc for this combination of the gcc version and archichecture, but I thought this fix would be more robust. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
* Extend CC_GCC_LIBSSP with manual stateIvan Kukhta2021-03-171-2/+8
| | | | Signed-off-by: Ivan Kukhta <Ivan.Kukhta@acronis.com>
* config/cc/gcc.in: Fix typo CC_GCC_DEC_FLOAT -> CC_GCC_DEC_FLOATSChris Packham2021-02-021-3/+3
| | | | | | | | | This has gone unnoticed for a while, it looks like all configurations have probably been using the default floats behaviour. Newer kconfig tells us the default value is not in the choice so lets fix this in preparation. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Add support for building libstdc++ with alternate libcKeith Packard2021-01-111-1/+1
| | | | | | | This adds another mode to do_gcc_core_backend that builds libstdc++ against an alternate libc implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
* Enable zlib companion lib if building LTOAlexey Neyman2019-04-041-0/+1
| | | | | | | | | While we may use build machine's library when building a simple cross, we won't have it for the host machine in a canadian build. Until there are separate selectables for the build/host components, just build our own local zlib. Signed-off-by: Alexey Neyman <stilor@att.net>
* Implement an option to store downloads in subdirsAlexey Neyman2019-02-131-1/+1
| | | | | | ... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
* Config v2: select relevant parts of each package versionAlexey Neyman2019-01-301-5/+0
| | | | | | | Also, remove a couple of config options that dealt with package versions that have been since retired. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix build with ISL 0.20Alexey Neyman2018-09-251-1/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Make comp.libs use generated templates, tooAlexey Neyman2017-11-291-3/+0
| | | | | | | | This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the test for mingw-w64Alexey Neyman2017-07-121-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix HAS_LIBMPX selectionAlexey Neyman2017-07-121-21/+12
| | | | | | | | Was previously selected by GCC_5_or_later - but now that one is an auto-generated option that does not select anything; now HAS_LIBMPX was made dependent on GCC_5_or_later, but its default was not set to y. Signed-off-by: Alexey Neyman <stilor@att.net>
* Also upgrade non-generated config filesAlexey Neyman2017-07-081-6/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Switch gen-kconfig to new frameworkAlexey Neyman2017-07-082-416/+416
| | | | | | | | | | | | | | | Also: - Move companion_* to comp_* to match the kconfig symbols - Replace bootstrap with former gen-versions.sh - Fold *.in.2 into their respective first parts; this moves common options to the end - if it is undesirable, inclusion of *.in can be moved where *.in.2 used to be (but that will also move version selection after common options). - Retire addToolVersion.sh (may later replace with a more comprehensive script that tries to download the added tarballs, copy the patches and try to apply them, and create a version.desc). Signed-off-by: Alexey Neyman <stilor@att.net>
* Encode GCC/ISL/CLooG requirementsAlexey Neyman2017-07-081-0/+11
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-081-1/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Convert the rest of packages to new frameworkAlexey Neyman2017-07-082-409/+408
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Switch comp.libs/tools and debug to new framework.Alexey Neyman2017-07-081-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Implement "milestones" for packagesAlexey Neyman2017-07-081-1/+1
| | | | | | Also get rid of dependency on GNU sort. Signed-off-by: Alexey Neyman <stilor@att.net>
* Convert gcc to new framework.Alexey Neyman2017-07-082-528/+351
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* New GCC releases from LinaroAlexey Neyman2017-06-051-4/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire CT_CC_GCC_TARGET_FINALAlexey Neyman2017-05-241-11/+0
| | | | | | | | | | | Make this behavior default in case the core gcc backend is used for final compiler (i.e., for baremetal configurations). Not setting this option breaks canadian baremetal configurations, and not setting it makes little sense at all in any baremetal configuration (since in baremetal we don't have any libc to begin with). Signed-off-by: Alexey Neyman <stilor@att.net>
* Tweaks for bionic/TLShyc2017-05-141-0/+1
|
* Add GCC 7.1.0Alexey Neyman2017-05-111-5/+17
| | | | | | | Removed patches either picked up upstream, or no longer applicable (boehm-gc no longer part of GCC). Signed-off-by: Alexey Neyman <stilor@att.net>
* cross-gdb: account for canadian/crossnative toolchainsAlexey Neyman2017-03-291-2/+3
| | | | | | | | | | ... when determining if it can be linked statically, and if Python scripting should default to y. Prompted by a failure of i686-w64-mingw32,nios2-spico-elf sample on a system where configure didn't report static linking support. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add patches to Linaro GCCAlexey Neyman2017-02-281-6/+3
| | | | | | | | | Same as the base release as long as they applied. MUSL patches didn't, removed. Also, unobsolete Linaro GCC5 now that they rolled out a new release. Signed-off-by: Alexey Neyman <stilor@att.net>
* Added new gcc config option CC_GCC_CONFIG_TLSJasmin Jessich2017-02-211-0/+19
| | | | | | | Adding new tristate configuration for TLS (Thread Local Storage) to add "--enable-tls" (y), "--disable-tls" (n) or nothing (m). Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* Linaro also has new 4.9 and 5.4 releasesAlexey Neyman2017-02-201-9/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #610 from stilor/linaro-6.3-2017.02Alexey Neyman2017-02-191-6/+6
|\ | | | | Bump Linaro GCC6 to 6.3-2017-02
| * Bump Linaro GCC6 to 6.3-2017-02Alexey Neyman2017-02-191-6/+6
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | More garbage collectionAlexey Neyman2017-02-181-28/+1
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Have LTO depend-on non-static buildsAlexey Neyman2017-02-181-0/+1
| | | | | | | | | | | | | | | | | | Loading a dynamic library (LTO plugin) from a static binary fails on ArchLinux. It is also prone to break if a system is ever upgraded. Also, disable plugins if not enabled explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Latest GCC has libmpx and Go.Alexey Neyman2017-02-181-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | More GCAlexey Neyman2017-02-182-12/+0
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Garbage collection for GCC options that are sameAlexey Neyman2017-02-182-87/+19
|/ | | | | | ... on all supported versions. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add zlib as a companion libAlexey Neyman2017-02-051-0/+3
| | | | | | with version 1.2.11. Signed-off-by: Alexey Neyman <stilor@att.net>
* Declare older versions obsolete.Alexey Neyman2017-01-261-5/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add/update/remove Linaro versions.Alexey Neyman2017-01-121-5/+13
| | | | | | | | | | Linaro GDB 7.2 no longer available from Linaro's website; removed. Linaro GDB 7.5 had incorrect version (the tarball on linaro.org does not have a -1 patch level). Add/update latest versions on each (otherwise supported) branches of GCC, GDB, binutils, glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow c++ for baremetal.Alexey Neyman2017-01-101-1/+1
| | | | | | libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove GCC 6.2.0Alastair D'Silva2017-01-061-6/+0
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Bump GCC to 6.3.0Alastair D'Silva2017-01-061-0/+6
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* add support for gcc 4.9.4Thorsten Johannvorderbrueggen2016-11-171-6/+6
|
* Merge pull request #468 from dajamminyogesh/masterAlexey Neyman2016-11-101-3/+3
|\ | | | | gcc: Updated gcc from 6.1.0 to 6.2.0
| * gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma2016-10-311-3/+3
| | | | | | | | Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
* | MINGW doesn't like libmpx either.Alexey Neyman2016-10-071-1/+2
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a checkbox for libmpx build.Alexey Neyman2016-09-222-0/+15
| | | | | | Disable libmpx for musl builds. Signed-off-by: Alexey Neyman <stilor@att.net>