path: root/config/cc
AgeCommit message (Collapse)AuthorFilesLines
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 <>
2017-02-21Added new gcc config option CC_GCC_CONFIG_TLSJasmin Jessich1-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 <>
2017-02-21Linaro also has new 4.9 and 5.4 releasesAlexey Neyman1-9/+9
Signed-off-by: Alexey Neyman <>
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 <>
2017-02-19More garbage collectionAlexey Neyman1-28/+1
Signed-off-by: Alexey Neyman <>
2017-02-19Have LTO depend-on non-static buildsAlexey Neyman1-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 <>
2017-02-19Latest GCC has libmpx and Go.Alexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <>
2017-02-19More GCAlexey Neyman2-12/+0
Signed-off-by: Alexey Neyman <>
2017-02-19Garbage collection for GCC options that are sameAlexey Neyman2-87/+19
... on all supported versions. Signed-off-by: Alexey Neyman <>
2017-02-05Add zlib as a companion libAlexey Neyman1-0/+3
with version 1.2.11. Signed-off-by: Alexey Neyman <>
2017-01-26Declare older versions obsolete.Alexey Neyman1-5/+10
Signed-off-by: Alexey Neyman <>
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 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 <>
2017-01-10Disallow c++ for baremetal.Alexey Neyman1-1/+1
libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <>
2017-01-06Remove GCC 6.2.0Alastair D'Silva1-6/+0
Signed-off-by: Alastair D'Silva <>
2017-01-06Bump GCC to 6.3.0Alastair D'Silva1-0/+6
Signed-off-by: Alastair D'Silva <>
2016-11-18add support for gcc 4.9.4Thorsten Johannvorderbrueggen1-6/+6
2016-11-11Merge pull request #468 from dajamminyogesh/masterAlexey Neyman1-3/+3
gcc: Updated gcc from 6.1.0 to 6.2.0
2016-10-31gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma1-3/+3
Signed-off-by: Yogesh Sharma <>
2016-10-07MINGW doesn't like libmpx either.Alexey Neyman1-1/+2
Signed-off-by: Alexey Neyman <>
2016-09-23Add a checkbox for libmpx build.Alexey Neyman2-0/+15
Disable libmpx for musl builds. Signed-off-by: Alexey Neyman <>
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 <>
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 <>
2016-06-10gcc: Add --with-multilib-list optionRay Donnelly1-0/+10
Written by Bryan Hundven. Modified by Alexey Neyman to actually add the option to Signed-off-by: Bryan Hundven <> Signed-off-by: Ray Donnelly <> Signed-off-by: Alexey Neyman <>
2016-02-26config: Add static link check to static optionsBryan Hundven1-0/+1
If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven <>
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 <>
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 <>
2016-01-06gcc: remove CC_GCC_EXTRA_ENV_ARRAYBryan Hundven1-10/+0
I was noticing that $extra_user_env was inconsistently used in I don't feel comfortable having just any make flag or environment variable passed to make from a config file. If a specific option needs to be passed to make for gcc, then a specific kconfig option should be added for that make flag/option/env. Signed-off-by: Bryan Hundven <>
2016-01-03gcc: Add new linaro version: 5.2-2015.11Bryan Hundven1-0/+7
Signed-off-by: Bryan Hundven <>
2016-01-03gcc: Update gcc 5 to 5.3.0Bryan Hundven1-3/+3
Reported-by: Freddie Chopin <> Signed-off-by: Bryan Hundven <>
2015-12-08config: Update kconfig for new CT_GetCustomBryan Hundven1-19/+40
This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <>
2015-11-30gcc: Gnu OpenMP support depends on threadingBryan Hundven1-0/+3
Instead of checking if thread support is enabled during the build, move the check to kconfig-time. Since if threading support is not availble, libgomp should not be available either. Signed-off-by: Bryan Hundven <>
2015-11-30PPL: Remove support for PPL and CLooG/PPLBryan Hundven2-3/+6
Now that versions of gcc that required PPL are no longer supported ( >= gcc-4.5.x AND <= gcc-4.7.x ) ...we no longer require PPL or CLooG/PPL. This commit: * Removes PPL * Removes CLooG/PPL * Updates the documentation * Updates build script for CLooG and GCC * Removes PPL and CLooG/PPL from scripts/ and scripts/ * Adds ISL to scripts/ and scripts/ I know that sounds like a lot for one commit, but it was all kind of inter-tangled. Signed-off-by: Bryan Hundven <>
2015-11-30gcc: Remove gcc <= 4.7.xBryan Hundven2-146/+5
As per #222, in crosstool-NG >= 1.23.0, we will only support: [upstream supported gcc versions] - 1 As of this writing, these versions are: * 5.2.0 * 4.9.3 * 4.8.5 (the -1, since development on 4.8.x is now closed) I plan to keep 4.8.5 around because of some architectures having issues with over-optimization or just faulty optimization in the 4.9.x and possibly newer versions. I also cleaned up a requirement for glibc to depend on >= gcc-4.6.x for >= glibc-2.20, but since the lowest gcc we support after this change is >= 4.8.5, this condition can go away. Patches for older gcc versions are removed in the next commit. This closes #222 Signed-off-by: Bryan Hundven <>
2015-10-31gcc: Support only the latest branch releases of gccBryan Hundven1-246/+10
This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <>
2015-10-09Using "all" and "install" targets in do_gcc_core_backend if configured.Jasmin Jessich1-0/+11
- New configurations: - CC_GCC_TARGET_FINAL: Use the default targets "all" and "install" for the final compiler for bare metal. - Adding parameter "build_step" to function do_gcc_core_backend: do_gcc_core_backend is used for the core compiler and in case of bare metal for the final compiler, too. To have better control over the parameters for the final compiler "build_step" is used. - Used for proper logging. - Use CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY or CT_CC_GCC_EXTRA_CONFIG_ARRAY. - If CT_CC_GCC_TARGET_FINAL is set and the final compiler is build then the make targets for the final compiler are used ("all", "install"). Signed-off-by: Jasmin Jessich <>
2015-09-21Added additional environment variables for gcc build (make) with new optionJasmin Jessich1-0/+10
GCC_EXTRA_ENV_ARRAY. Signed-off-by: Jasmin Jessich <>
2015-09-05Merge pull request #163 from jasmin-j/gcc_custom_versionBryan Hundven1-4/+5
Remove CC_GCC_CUSTOM from the version choice
2015-09-03CC_GCC_CUSTOM is no longer part of the gcc version choice, but an independendJasmin Jessich1-4/+5
configuration to enable CC_GCC_CUSTOM_LOCATION. Signed-off-by: Jasmin Jessich <>
2015-09-01Fix for issue #147:Jasmin Jessich1-1/+1
Enable definition of "Use __cxa_atexit" for bare-metal systems, if the used libc does provide such a function. The libc configuration have to select LIBC_PROVIDES_CXA_ATEXIT. Signed-off-by: Jasmin Jessich <>
2015-07-20Merge pull request #130 from Christopher83/masterBryan Hundven1-4/+4
Update to Linaro GCC 4.9-2015.06 and GCC 4.8-2015.06 and update kernel versions
2015-07-19cc/gcc: add gcc 5.2Daniel Zimmermann1-0/+24
add gcc 5.2 Signed-off-by: Daniel Zimmermann <>
2015-07-12config/gcc: Update to Linaro GCC 4.9-2015.06 and GCC 4.8-2015.06Cristoforo Cataldo1-4/+4
Signed-off-by: Cristoforo Cataldo <>
2015-07-10config: Add new gcc stable versionsBryan Hundven1-0/+12
This commit adds gcc 4.8.5 and 4.9.3. Release notes can be found in these urls: Signed-off-by: Bryan Hundven <>
2015-06-02config/gcc: Fix gcc 5.1.0 version knobBryan Hundven1-3/+2
This change makes the 5.1.0 version knob consistant with previous gcc versions. Signed-off-by: Bryan Hundven <>
2015-06-02config/gcc: Fix missing update to gcc.inBryan Hundven1-50/+50
In the patch series for multi_cc, some version knobs were missed. This patch fixes this. Signed-off-by: Bryan Hundven <>
2015-05-29config: Add config support for multiple compilersRay Donnelly2-58/+61
This change updates the config to support multiple compilers by moving CC_.* to CC_GCC_.* to make room for other compilers. We also update to check for a default cc. Signed-off-by: Ray Donnelly <> Reviewed-by: Yann Diorcet <> Reviewed-by: Bryan Hundven <>
2015-05-02complibs: Update requirements for gcc-5.1Bryan Hundven1-1/+1
"The Graphite framework for loop optimizations no longer requires the CLooG library, only ISL version 0.14 (recommended) or 0.12.2. The installation manual contains more information about requirements to build GCC." This change helps to avoid version badness. Signed-off-by: Bryan Hundven <>