aboutsummaryrefslogtreecommitdiff
path: root/package/gcc/Config.in.host
Commit message (Collapse)AuthorAgeFilesLines
* package/gcc: remove version 5.5.5Gravatar Romain Naour2020-03-241-14/+0
| | | | | | | | | | | | | | gcc 9.2 is around, gcc 8.4 is the default version, so drop 5.5 in order to reduce the gcc choice. GCC 5.5 was disabled for Glibc based toolchain since Glibc 2.30 needs GCC 6.2 or later. See: https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: bump 9.x series to version 9.3.0Gravatar Romain Naour2020-03-221-1/+1
| | | | | | | | | | | | | | | | | | Remove upstream patch [1] Rebase and rename 0002-xtensa-fix-PR-target-91880.patch and 0003-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch Tested using gitlab with Qemu runtime testing series [2] [3]. [1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=2e1e7ad18e121663082525a872f0d6fb32db4535 [2] https://gitlab.com/kubu93/buildroot/pipelines/125828238 [3] http://patchwork.ozlabs.org/project/buildroot/list/?series=159088 See: https://gcc.gnu.org/pipermail/gcc-announce/2020/000161.html Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: bump 8.x series to version 8.4.0Gravatar Romain Naour2020-03-221-1/+1
| | | | | | | | | | | | | | Remove upstream patch [1]. Rebase and rename 0002-xtensa-fix-PR-target-91880.patch Tested using gitlab w/ Qemu runtime testing series [2] [3]. [1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=fba5d9b4c0f4488281efbeef56c100bb52e55165 [2] https://gitlab.com/kubu93/buildroot/pipelines/124684030 [3] http://patchwork.ozlabs.org/project/buildroot/list/?series=159088 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: disable gcc 9.x for cskyGravatar Romain Naour2020-03-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building a toolchain with upstream gcc 9.x the build fail due to several issues. Note: The upstream Binutils support csky target since release 2.32 but the support was never enabled in the Buildroot packaging. So the latest version (2.33.1) was tested here. [upstream gcc 9.x w/ glibc csky fork with binutils csky for or binutils 2.33.1] In file included from <command-line>: ./../include/libc-symbols.h:534:26: error: '__EI___errno_location' specifies less restrictive attributes than its target '__errno_location': 'const', 'nothrow' [-Werror=missing-attributes] 534 | extern __typeof (name) __EI_##name \ [upstream gcc 9.x w/ glibc 2.30 w/ binutils csky fork] /tmp/ccThLRhb.s: Assembler messages: /tmp/ccThLRhb.s:10: Error: invalid or unsupported encoding in .cfi_personality /tmp/ccThLRhb.s:11: Error: invalid or unsupported encoding in .cfi_lsda [upstream gcc 9.x w/ glibc 2.30 w/ binutils 2.33.1] build/elf/librtld.os: in function `__sync_fetch_and_add_2': libgcc/config/csky/linux-atomic.c:116: undefined reference to `__kernel_cmpxchg' Currenlty, only the toolchain using binutils, gcc, glibc fork produce a working toolchain. So disable gcc 9.x for csky. Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Guo Ren <guoren@kernel.org> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: remove gcc 5.5 or1k forkGravatar Romain Naour2020-02-041-8/+0
| | | | | | | | | | | | | | Remove the old gcc 5.5 fork for or1k architecture that start to fail to build with recent version of Binutils >= 2.32 with the following error: host-gcc-final-or1k-musl-5.4.0-20170218/build/./gcc/crtbeginS.o: addend should be zero for plt relocations host/or1k-buildroot-linux-uclibc/bin/ld: final link failed: bad value https://gitlab.com/kubu93/buildroot/-/jobs/391938988 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/toolchain: bumb ARC tools to arc-2019.09 releaseGravatar Evgeniy Didin2020-01-171-1/+1
| | | | | | | | | | | | | | | | | This commit bumps ARC toolchain to most recent arc-2019.09 release version. ARC GNU tools of version arc-2019.09 bring some quite significant changes like: * Binutils v2_33.20191002 with additional ARC patches * GCC 9.2.1 with additional ARC patches * glibc 2.30 with additional ARC patches More information on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2019.09-release Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/binutils: remove version 2.30Gravatar Romain Naour2019-12-021-2/+1
| | | | | | | | | Now that binutils 2.33.1 has been introduced, and we have moved to 2.32 as the default version, it is time to drop support for binutils 2.30. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: bump to version 7.5.0Gravatar Romain Naour2019-12-021-1/+1
| | | | | | | | | | | | | Remove upstream patch [1] 1002-xtensa-backport-fix-for-PR-target-90922.patch [1] https://github.com/gcc-mirror/gcc/commit/0110ab63c006fe8f1a86142cd6e86d5534f8bc8e See: https://gcc.gnu.org/ml/gcc/2019-11/msg00099.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain: bump ARC tools to arc-2019.09-rc1Gravatar Evgeniy Didin2019-11-061-1/+1
| | | | | | | | | | | | | | | | | | | This commit bumps ARC toolchain to arc-2019.09-rc1. We want to test how new toolchain-rc1 builds packages, so we can make fixes before release of toolcain. ARC GNU tools of version arc-2019.09-rc1 bring some quite significant changes like: * Binutils v2_33.20191002 with additional ARC patches * GCC 9.2.0 with additional ARC patches * glibc 2.30 with additional ARC patches Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain: bump ARC tools to arc-2019.09-eng002Gravatar Evgeniy Didin2019-10-271-3/+3
| | | | | | | | | | | | | | This commit bumps ARC toolchain to arc-2019.09-eng002. We want to test how new toolchain-eng002 builds packages, so we can make fixes before release of toolcain. Please note that it is an engineering build and it might have all kinds of breakages, please don't use it for production builds Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: properly order properties of BR2_GCC_SUPPORTS_DLANGGravatar Thomas Petazzoni2019-10-251-2/+2
| | | | | | | | Fixes: package/gcc/Config.in.host:84: attributes order: type, default, depends on, select, help (http://nightly.buildroot.org/#_config_files) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: add support for D languageGravatar Eric Le Bihan2019-10-251-0/+22
| | | | | | | | | | | Since version 9.1, GCC provides support for the D programming language [1]. So add a Kconfig entry to enable support for it. [1] https://dlang.org/ Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: or1k allow gcc 9.2 with uClibc-ngGravatar Romain Naour2019-10-201-3/+0
| | | | | | | | | | | | Binutils 2.32 and GCC 9.2 are now fixed thanks to Stafford Horne. https://mailman.uclibc-ng.org/pipermail/devel/2019-August/001895.html Fixes: https://mailman.uclibc-ng.org/pipermail/devel/2019-August/001885.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Gravatar Peter Korsgaard2019-09-031-3/+3
|\
| * package/glibc: bump to version 2.30Gravatar Romain Naour2019-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Glibc 2.30, GCC 6.2 or later is required to build the GNU C Library. Disable Glibc for GCC 5.x. CVE-2019-7309, CVE-2019-9169. See: https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html Tested with toolchain-builder: https://gitlab.com/kubu93/toolchains-builder/pipelines/76423684 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/gcc: bump to version 9.2.0Gravatar Romain Naour2019-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove upstream patches https://github.com/gcc-mirror/gcc/commit/472bac30e63ffacecfa5eda813054555f2cc7def https://github.com/gcc-mirror/gcc/commit/869e468112244b6a3812ab181642fcd9df8838d4 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Evgeniy Didin <didin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | package/gcc: allow uclibc only for gcc or1k (5.x)Gravatar Romain Naour2019-08-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uClibc doesn't build with the upstream binutils 2.32.x and gcc or1k port due to the following error: LD libuClibc-1.0.31.so /opt/openrisc--uclibc--bleeding-edge-1/lib/gcc/or1k-buildroot-linux-uclibc/9.2.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: libc/libc_so.a(or1k_clone.os): pc-relative relocation against dynamic symbol __syscall_error See: https://gitlab.com/kubu93/toolchains-builder/-/jobs/270854456 This error message come from a new check in binutils 2.32.x: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af This issue has been reported on the uClibc-ng mailing list: https://mailman.uclibc-ng.org/pipermail/devel/2019-August/001885.html Since gcc 9.1 needs binutils 2.32.x or later to build successfully for or1k, there is no binutils version left that can build gcc 9.1 and uClibc. For now, disable uClibc if gcc 9.1 is used for or1k. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Waldemar Brodkorb <mail@waldemar-brodkorb.de> [Arnout: invert the logic, like in the rest of the file] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* | package/gcc: gcc 9.x for or1k needs binutils >= 2.32Gravatar Romain Naour2019-08-211-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | With binutils 2.30.x or 2.31.x, the assembler doesn't support the code generated by gcc 9.1: Error: junk at end of line `l.movhi r17,gotoffha(.LC0)' gotoffha is supported by binutils since version 2.32 [1]. It was added by the ork1 gcc port merged into gcc 9.x [2]. So, for or1k we can select gcc 9.x only if binutils 2.32 (or later) is selected. Tested using qemu_or1k_defconfig and selecting musl libc, binutils 2.32 and gcc 9.1. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=1c4f3780f7d939402cfe555007ebff45c8e38951 [2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=d61fdfe71cfd42aa6454f2267a48c97820918fe3 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Waldemar Brodkorb <mail@waldemar-brodkorb.de> [Arnout: invert the logic, like in the rest of the file] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/gcc: remove version 6.5Gravatar Romain Naour2019-08-041-9/+0
| | | | | | | | | | gcc 9.1 is around, gcc 8.3 is the default version, so drop 6.5 in order to reduce the gcc choice. Keep gcc 5.5 since it still used by beaglebone_qt5_defconfig. Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: remove gcc 4.9Gravatar Romain Naour2019-08-041-17/+1
| | | | | | | | | | | | | | | | | | | In order to reduce the number of choice in gcc selection, remove the gcc 4.9 version. This version was kept due to libstdc++ ABI-incompatible changes and other build issues with kernel and bootloader as reported by Arnout [1]. Since then, gcc 4.9 is not supported any more since glibc 2.29 [2] and recent kernel and bootloaders has been fixed to use more recent compiler version. [1] http://lists.busybox.net/pipermail/buildroot/2017-June/194374.html [2] https://www.sourceware.org/ml/libc-alpha/2019-01/msg00723.html Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: remove libmudflap optionGravatar Romain Naour2019-08-021-16/+0
| | | | | | | | | | | | libmudflap was removed from gcc 4.9 [1] so it depends on gcc <= 4.9. This option can't be selected since we removed gcc 4.8 from Buildroot [2]. [1] 4a692aefee10088c385d30e829abf80af1616d1b [2] f66952197b41452b77dfa065adc7172137e4c243 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: drop negative conditions on C-SKY for older versionsGravatar Yann E. MORIN2019-08-011-5/+0
| | | | | | | | | | | | Now that the C-SKY architecture requires gcc-9, we can drop the special conditions on the individual older versions. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Guo Ren <guoren@kernel.org> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Romain Naour <romain.naour@gmail.com> Acked-by: Guo Ren <guoren@kernel.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arch/csky: restrict ck610 to the C-SKY gcc portGravatar Yann E. MORIN2019-08-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | As Guo explained, upstream gcc does not support abi-v1 (only abi-v2), but ck610 needs abi-v1 [0] [1] To simplify things, we make the whole C-SKY architecture require gcc-9 or later, and add a single exception in gcc to force the ck610 to use the C-SKY port. Note that this does not change the default gcc version to be used for C-SKY: the C-SKY port is still always the default one; the gcc-9 version is only proposed as an alternative (except for ck610, of course). [0] http://lists.busybox.net/pipermail/buildroot/2019-July/254386.html [1] package/Makefile.in#73 Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Guo Ren <guoren@kernel.org> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Romain Naour <romain.naour@gmail.com> Acked-by: Guo Ren <guoren@kernel.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: enable gcc 9.1 for ork1 (openrisc)Gravatar Romain Naour2019-07-131-2/+0
| | | | | | | | | | | | | openrisc support has been added with gcc 9.1. Keep for now the old gcc 5 fork for ork1. https://gcc.gnu.org/gcc-9/changes.html Tested using qemu_or1k_defconfig. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/gcc: switch to gcc 8.x as the defaultGravatar Romain Naour2019-06-221-1/+1
| | | | | | | | | | | | | | Even if gcc 7 is still maintained for some time (gcc 7.5 is pending), switch to gcc 8.x since it has been released since 2018-05-02 and gcc 9.x is available since 2019-05-03. We have been having toolchains in the autobuilders with gcc 8.x for a while, so the vast majority of the problems should have already been solved. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9Gravatar Romain Naour2019-06-221-0/+1
| | | | | | | | | | | This new symbol will be used by architectures introduced with gcc 9 and by external toolchains based on gcc 9. [1] https://gcc.gnu.org/gcc-9/changes.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: add support for gcc 9.1Gravatar Romain Naour2019-06-221-0/+10
| | | | | | | Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> [Thomas: don't allow gcc 9.x for powerpc spe] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* toolchain: bump ARC tools to arc-2019.03 releaseGravatar Evgeniy Didin2019-06-191-1/+1
| | | | | | | | | | | | | | | | | This commit finally bumps ARC tools to the most recent arc-2019.03 release version. ARC GNU tools of version arc-2019.03 bring some quite significant changes like: * Binutils v2.32.51.20190308 with additional ARC patches * GCC 8.3.1 with additional ARC patches * glibc 2.29 with additional ARC patches More information on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2019.03-release Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Gravatar Peter Korsgaard2019-06-021-1/+14
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/gcc: add C-SKY specific gcc versionGravatar Guo Ren2019-05-311-0/+13
| | | | | | | | | | Signed-off-by: Guo Ren <ren_guo@c-sky.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * toolchain: bump ARC tools to arc-2019.03-rc1Gravatar Evgeniy Didin2019-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit bumps ARC toolchain to arc-2019.03-rc1. We want to test how new toolchain-rc1 builds packages, so we can make fixes before release of toolcain. ARC GNU tools of version arc-2019.03-rc1 bring some quite significant changes like: * Binutils v2.32.51.20190308 with additional ARC patches * GCC 8.3.1 with additional ARC patches * glibc 2.29 with additional ARC patches Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | package/gcc: don't build a toolchain for powerpc with spe ABI with gcc >= 8.xGravatar Romain Naour2019-06-011-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | The powerpc*-*-*spe* support has been deprecated in GCC 8 [1] and has been removed in GCC 9 [2]. While building with GCC 8, the build stop since we don't provide --enable-obsolete option. For now, keep powerpcspe support in Buildroot but only for older compiler up to GCC 7. Note: Although we can't select Glibc for powerpcspe since commit [4], this support has been removed for the next version of Glibc (the upcoming 2.30). [1] https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html [2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=b31d0348ddada49453e3edaaf93a423fdc61dc79 [3] https://sourceware.org/git/?p=glibc.git;a=commit;h=a053e878494080f7070cf92890e546057236c9c9 [4] https://git.buildroot.net/buildroot/commit/?id=5777e3ffd99132a57e3d29659850eec14b1625f8 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: select BR2_TOOLCHAIN_HAS_OPENMP if BR2_GCC_ENABLE_OPENMPGravatar Ed Blake2019-03-261-0/+1
| | | | | | | | BR2_TOOLCHAIN_HAS_OPENMP is also selected by external toolchains, so can be used by packages to determine OpenMP support. Signed-off-by: Ed Blake <ed.blake@sondrel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/glibc: bump to version 2.29Gravatar Romain Naour2019-03-151-4/+2
| | | | | | | | | | | | | | | | | Changes to build and runtime requirements: * Python 3.4 or later is required to build the GNU C Library. * On most architectures, GCC 5 or later is required to build the GNU C Library. (On powerpc64le, GCC 6.2 or later is still required, as before.) While at it, remove the double "glibc-" prefix in the version. https://www.sourceware.org/ml/libc-alpha/2019-01/msg00723.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: bump to version 8.3.0Gravatar Romain Naour2019-02-261-1/+1
| | | | | | | | | | | | Remove upsteam xtensa patches: https://github.com/gcc-mirror/gcc/commit/68ca69a4854af36c90531b33a4c540464dbc6a23 https://github.com/gcc-mirror/gcc/commit/972057cb254e355805bfcd4a47d5c6f743cb76f4 Tested using Toolchain-builder: https://gitlab.com/kubu93/toolchains-builder/pipelines/48904471 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: bump to version 6.5.0Gravatar Romain Naour2018-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove upstream patches: 0002-fix-building-on-ppc64.patch https://github.com/gcc-mirror/gcc/commit/765527ad3725c5f3e82ab2b8e5031120b409983d 0003-libsanitizer-Use-pre-computed-size.patch https://github.com/gcc-mirror/gcc/commit/61f38c64c01a15560026115a157b7021ec67bd3b 942-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch https://github.com/gcc-mirror/gcc/commit/b685411208e0aaa79190d54faf945763514706b8 943-sanitizer-linux.patch https://github.com/gcc-mirror/gcc/commit/8937b94d1a643fd9760714642296d034a45254a8 870-xtensa-fix-PR-target-82181.patch https://github.com/gcc-mirror/gcc/commit/dbbb83538168c6648b53f5e164c3a30beda6464f 871-xtensa-fix-PR-target-65416.patch https://github.com/gcc-mirror/gcc/commit/36f42654cbbc1df0e3d0040ba900c61980a8f8db 872-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch using patch https://github.com/gcc-mirror/gcc/commit/9f149a1a929c0c6c22f572b1cd651c83ac83774c Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: bump to version 7.4.0Gravatar Romain Naour2018-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | Remove upstream patches: 0002-fix-building-on-ppc64.patch https://github.com/gcc-mirror/gcc/commit/aa65a43516da1d48011ef621ed5988289711d99b 0003-gcc-xtensa-fix-NAND-code-in-xtensa_expand_atomic.patch https://github.com/gcc-mirror/gcc/commit/8709905244d50b9d81f85d534b21c29eb640078c 0003-xtensa-fix-PR-target-65416.patch https://github.com/gcc-mirror/gcc/commit/5dcbd70ec0a97505d6153fcbc7ef899b5a2ec7fc 0004-libsanitizer-Use-pre-computed-size.patch https://github.com/gcc-mirror/gcc/commit/61f38c64c01a15560026115a157b7021ec67bd3b 0005-gcc-xtensa-don-t-force-PIC-for-uclinux-target.patch https://github.com/gcc-mirror/gcc/commit/6ef0a00dea2564f46a568b8681d8efccb4834cda Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain: fix URLs for ARC gcc/binutils/gdbGravatar Evgeniy Didin2018-12-061-1/+1
| | | | | | | | | | | | | | In commit cd9d58f1fc285bcc09f1e0e29ee300a8a9053053 ("toolchain: bumb ARC tools to arc-2018.09 release"), the ARC-specific binutils, gcc and gdb versions were updated to use the 2018.09 release. However, they are mistakenly pointing to a branch rather than a tag. This commit fixes that by using the proper release tag. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com [Thomas: rework commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* toolchain: bumb ARC tools to arc-2018.09 releaseGravatar Evgeniy Didin2018-11-291-1/+1
| | | | | | | | | | | | | | | | | This commit finally bumps ARC tools to the most recent arc-2018.09 release version. ARC GNU tools of version arc-2018.09 bring some quite significant changes like: * Binutils v2.31.1 with additional ARC patches * GCC 8.2.1 with additional ARC patches * glibc 2.28 with additional ARC patches More information on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.09-release Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* toolchain: Bump ARC tools to arc-2018.09-rc2Gravatar Evgeniy Didin2018-11-201-1/+1
| | | | | | | | | | | | | | | | This commit bumps ARC toolchain to arc-2018.09-rc2, which includes significant changes since arc-2018.09-rc1. We want to test how new toolchain-rc2 builds packages, so we can make fixes before release of toolcain. This makes us closer to toolchain release which will be in a few weeks. Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain: Bump ARC tools to arc-2018.09-rc1Gravatar Evgeniy Didin2018-11-181-3/+3
| | | | | | | | | | | | | | | | | | | This commit bumps ARC toolchain to arc-2018.09-rc1. We want to test how new toolchain-rc1 builds packages, so we can make fixes before release of toolcain. ARC GNU tools of version arc-2018.09-rc1 bring some quite significant changes like: * Binutils v2.31.1 with additional ARC patches * GCC 8.2.1 with additional ARC patches * glibc 2.28 with additional ARC patches Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: remove BR2_GCC_SUPPORTS_FINEGRAINEDMTUNEGravatar Thomas Petazzoni2018-10-211-4/+0
| | | | | | | | | | | | | Since commit 8f8e9162fae5fdc1788dcf33f02b20ddaa5e6846 ("package/gcc: do not mourn avr32 for too long..."), in which we dropped AVR32 support, the BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is always 'y'. Therefore, it is totally useless to keep this option around, and this commit removes it, making the corresponding code unconditional along the way. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: introduce BR2_GCC_SUPPORTS_LIBCILKRTSGravatar Thomas Petazzoni2018-10-211-0/+6
| | | | | | | | | | | | | | | | libcilkrts was introduced in gcc 4.9, and removed in gcc 8.x. Therefore, it does not make sense to pass --disable-libcilkrts in gcc 8.x and higher. This commit introduces BR2_GCC_SUPPORTS_LIBCILKRTS that allows the makefile code to know if the selected gcc version supports libcilkrts or not. This new option mainly allows to annotate the fact that libcilkrts exists in gcc [4.9, 7] and that once we have dropped support for those gcc versions, the libcilkrts related logic can be removed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: glibc >= 2.27 needs gcc >= 5 on aarch64Gravatar Romain Naour2018-09-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the following defconfig: BR2_aarch64=y BR2_BINUTILS_VERSION_2_28_X=y BR2_GCC_VERSION_4_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y The build fail with this error: In file included from ../sysdeps/ieee754/flt-32/math_config.h:23:0, from ../sysdeps/ieee754/flt-32/e_expf.c:29: ../sysdeps/aarch64/fpu/math_private.h: In function 'roundtoint': ../sysdeps/aarch64/fpu/math_private.h:311:3: error: implicit declaration of function 'vrndn_f64' [-Werror=implicit-function-declaration] return vget_lane_f64 (vrndn_f64 (vld1_f64 (&x)), 0); ^ cc1: all warnings being treated as errors vrndn_f64 function has been introduced in glibc code since version 2.27 [1]. So we can't build a glibc based toolchain with gcc 4.9 anymore. Add a new dependency in the toolchain infra to avoid selecting glibc toolchain using gcc 4.9. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=72aa623345ada1276ed89dbc00fdff9639cb8eaf Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: bump to version 8.2.0Gravatar Romain Naour2018-07-271-1/+1
| | | | | | | Remove upstream patches. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* toolchain: bump ARC tools to arc-2018.03 releaseGravatar Evgeniy Didin2018-06-251-1/+1
| | | | | | | | | | | | | | | | | | | This commit finally bumps ARC tools to the most recent arc-2018.03 release version. ARC GNU tools of version arc-2018.03 bring some quite significant changes like: * Binutils v2.29.51 with additional ARC patches * GCC 7.3.1 with additional ARC patches * GDB 8.0.50 with ARC patches More information on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: switch to gcc 6.x as the defaultGravatar Romain Naour2018-05-301-1/+1
| | | | | | | | | | | | | | Even if gcc 6 is still maintained for some time (gcc 6.5 is pending), switch to gcc 7.x since it has been released since 2017-05-02 and gcc 8.x is available since 2018-05-02. We have been having toolchains in the autobuilders with gcc 7.x for a while, so the vast majority of the problems should have already been solved. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gcc: add support for gcc 8.1.0Gravatar Romain Naour2018-05-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Remove 0860-cilk-fix-build-without-wchar.patch since cilk has been removed from gcc. Rebase 0900-remove-selftests.patch on gcc 8.1.0 Remove upstream patches 0001-m68k-coldfire-pr68467.patch and 0892-microblaze-Revert.patch. Use bz2 release tarball only for gcc 4.9 since all other version now use xz tarball. Runtime tested on x86_64 with binutils 2.30, gcc 8.1.0, kernel headers 4.14 and glibc 2.27. Buildtime tested with glibc with all supported architectures. Buildtime tested on x86_64 with musl and uClibc-ng Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* toolchain: Bump ARC tools to arc-2018.03-rc2Gravatar Evgeniy Didin2018-05-261-1/+1
| | | | | | | | | | | | | | | | | This commit bumps ARC toolchain to arc-2018.03-rc2, which includes significant changes since arc-2018.03-rc1. We want to test how new toolchain-rc2 builds packages, so we can make fixes before release of toolcain. This makes us closer to toolchain release which will be in a few weeks. Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain, gcc, gdb, binutils, uclibc: remove Blackfin codeGravatar Thomas Petazzoni2018-04-151-7/+0
| | | | | | | This commit removes Blackfin related code from all toolchain code and components. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>