summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in
AgeCommit message (Collapse)AuthorFilesLines
2022-02-23gcc: add gcc libstdcxx-verbose optionNorbert Lange1-0/+17
Rather important option for arm cortex toolchains supporting c++, avoids pulling in all printf/iostream code by default. Signed-off-by: Norbert Lange <nolange79@gmail.com>
2022-02-11Unify core passesAlexey Neyman1-1/+1
With libc_headers step before pass-1, there is no need to distinguish pass-1 and pass-2; they are configured identically (note that with the current configuration, core pass-2 is only used for win32 - hence, uses build_libgcc=yes and mode=static). Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11Retire obsoleted milestonesAlexey Neyman1-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>
2021-09-21binutils: Remove obsolete versionsChris Packham1-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>
2021-08-29cc/gcc: Add options for zstd usageChris Packham1-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>
2021-06-19gcc: Make CC_GCC_TM_CLONE_REGISTRY tristateChris Packham1-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>
2021-06-07gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY configStephanos Ioannidis1-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>
2021-05-05Remove m1 from multilibs for GCC11 on SH arch.spaun20021-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>
2021-03-17Extend CC_GCC_LIBSSP with manual stateIvan Kukhta1-2/+8
Signed-off-by: Ivan Kukhta <Ivan.Kukhta@acronis.com>
2021-02-02config/cc/gcc.in: Fix typo CC_GCC_DEC_FLOAT -> CC_GCC_DEC_FLOATSChris Packham1-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>
2021-01-12gcc: Add support for building libstdc++ with alternate libcKeith Packard1-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>
2019-04-05Enable zlib companion lib if building LTOAlexey Neyman1-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>
2019-02-13Implement an option to store downloads in subdirsAlexey Neyman1-1/+1
... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30Config v2: select relevant parts of each package versionAlexey Neyman1-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>
2018-09-26Fix build with ISL 0.20Alexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-30Make comp.libs use generated templates, tooAlexey Neyman1-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>
2017-07-12Fix the test for mingw-w64Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-12Fix HAS_LIBMPX selectionAlexey Neyman1-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>
2017-07-08Also upgrade non-generated config filesAlexey Neyman1-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch gen-kconfig to new frameworkAlexey Neyman1-3/+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>
2017-07-08Encode GCC/ISL/CLooG requirementsAlexey Neyman1-0/+11
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert the rest of packages to new frameworkAlexey Neyman1-409/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch comp.libs/tools and debug to new framework.Alexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Implement "milestones" for packagesAlexey Neyman1-1/+1
Also get rid of dependency on GNU sort. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert gcc to new framework.Alexey Neyman1-141/+351
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05New GCC releases from LinaroAlexey Neyman1-4/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-12Add GCC 7.1.0Alexey Neyman1-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>
2017-02-28Add patches to Linaro GCCAlexey Neyman1-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>
2017-02-21Linaro also has new 4.9 and 5.4 releasesAlexey Neyman1-9/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-20Merge pull request #610 from stilor/linaro-6.3-2017.02Alexey Neyman1-6/+6
Bump Linaro GCC6 to 6.3-2017-02
2017-02-19Bump Linaro GCC6 to 6.3-2017-02Alexey Neyman1-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19More garbage collectionAlexey Neyman1-28/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Latest GCC has libmpx and Go.Alexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19More GCAlexey Neyman1-10/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Garbage collection for GCC options that are sameAlexey Neyman1-80/+0
... on all supported versions. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26Declare older versions obsolete.Alexey Neyman1-5/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13Add/update/remove Linaro versions.Alexey Neyman1-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>
2017-01-10Disallow c++ for baremetal.Alexey Neyman1-1/+1
libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-06Remove GCC 6.2.0Alastair D'Silva1-6/+0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump GCC to 6.3.0Alastair D'Silva1-0/+6
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2016-11-18add support for gcc 4.9.4Thorsten Johannvorderbrueggen1-6/+6
2016-10-31gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma1-3/+3
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-23Add a checkbox for libmpx build.Alexey Neyman1-0/+5
Disable libmpx for musl builds. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-09-07gcc: Added 6.1.0 to version listYogesh Sharma1-1/+23
added gcc-6.1.0 to version list in kconfig Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
2016-08-24xgcc: Update gcc 5 to 5.4.0kozyilmaz1-3/+3
patches synced with buildroot trunk and: 110-xtensa-implement-trap-pattern.patch (copied to 5.4.0 patches) 130-build_gcc-5_with_gcc-6.patch (upstreamed in 5.4.0, dropped) 370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (copied to 5.4.0 patches) 380-gcc-plugin-POSIX-include-sys-select-h.patch (copied to 5.4.0 patches) 910-nios2-bad-multilib-default.patch (copied to 5.4.0 patches)
2016-08-23Spelling fixes.Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-02-08Merge pull request #322 from modbw/libelfBryan Hundven1-5/+0
Remove GCC dependency to libelf
2016-01-30config/gcc: Update to Linaro GCC 5.2-2015.11-2Cristoforo Cataldo1-2/+2
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2016-01-18Remove GCC dependency to libelfMatthias Weisser1-5/+0
As crosstools-ng only support GCC >= 4.8 we do not need libelf for gcc. GCC dropped this dependency with 4.6. Signed-off-by: Matthias Weisser <m.weisser.m@gmail.com>
2016-01-03gcc: Add new linaro version: 5.2-2015.11Bryan Hundven1-0/+7
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>