summaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
Commit message (Collapse)AuthorAge
* gnu: gcc: Fix libstdc++ misconfiguration.Ludovic Courtès2020-07-24
| | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/42392>. Reported by Maxim Cournoyer and Erik Garrison. Until now, the generated <bits/c++config.h> would be incorrect (many _GLIBCXX_HAVE macros would be undefined), which in turn would lead to build failures for most C++ programs. * gnu/packages/gcc.scm (gcc-6)[inputs]: Add LIBSTDC++-HEADERS. (libstdc++, libstdc++-headers): New variables. * gnu/packages/gcc.scm (gfortran): Change first argument to 'custom-gcc' to remove dependency on LIBSTDC++-HEADERS.
* gnu: gcc@10: Update to 10.2.0.Ludovic Courtès2020-07-24
| | | | * gnu/packages/gcc.scm (gcc-10): Update to 10.2.0.
* gnu: Add gdc-10.guy fleury iteriteka2020-07-19
| | | | | | * gnu/packages/gcc.scm (gdc-10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add gcc-{objc,objc++}-{9,10}.Jakub Kądziołka2020-06-30
| | | | | | | | * gnu/packages/gcc.scm (%objc-search-paths, %objc++-search-paths): New variables. (gcc-objc-4.8, gcc-objc-4.9, gcc-objc-5, gcc-objc-6, gcc-objc-7, gcc-objc-8, gcc-objc++-4.8, gcc-objc++-4.9, gcc-objc++-5, gcc-objc++-6, gcc-objc++-7, gcc-objc++-8): Don't duplicate the search path list. (gcc-objc-9, gcc-objc-10, gcc-objc++-9, gcc-objc++-10): New variables.
* gnu: gfortran: Remove unusable versions.Jakub Kądziołka2020-06-30
| | | | | | | | | | | | The gfortran packages cannot be used without being wrapped with gfortran-toolchain. However, as the comment in (gnu packages commencement) explains, there cannot be more than one gfortran-toolchain package because of ABI issues. Thus, versions of gfortran other than the main one are useless. * gnu/packages/gcc.scm (gfortran-4.8, gfortran-4.9, gfortran-5, gfortran-6, gfortran-7, gfortran-8, gfortran-9): Remove variables. (gfortran): Define the gfortran package based on the gcc variable.
* Merge branch 'core-updates'Marius Bakke2020-05-08
|\
| * gnu: custom-gcc: Ensure #:modules are not overridden by the inherited GCC.Marius Bakke2020-04-28
| | | | | | | | | | | | | | | | | | This fixes a regression introduced in 56c833ea287f8f6d3c72f8bddc314960c0164d64 where the #:modules argument became ineffective. Reported by Efraim Flashner in <https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00473.html> * gnu/packages/gcc.scm (custom-gcc)[arguments]: Add #:modules through SUBSTITUTE-KEYWORD-ARGUMENTS.
| * gnu: GCC@8: Remove obsolete patch.Marius Bakke2020-04-23
| | | | | | | | | | | | | | | | This is no longer required since the update to 8.4.0 in 60ce496ad8. * gnu/packages/patches/gcc-8-libsanitizer-mode-size.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/gcc.scm (gcc-8)[source](patches): Remove it.
| * gnu: bootstrap: gcc-static: Use gcc-5.Jan Nieuwenhuizen2020-03-24
| | | | | | | | | | | | | | | | | | | | * gnu/packages/make-bootstrap.scm (gcc-static): Use gcc-5. This fixes building libstdc++-boot0 with a newly built %bootstrap-gcc. (%gcc-stripped): Likewise. (gcc-for-bootstrap): Likewise. * gnu/packages/patches/gcc-5-hurd.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gcc.scm (gcc-5): Use it.
| * Merge branch 'master' into core-updatesMarius Bakke2020-03-21
| |\
| * | gnu: GCC@9: Remove obsolete patch.Marius Bakke2020-03-18
| | | | | | | | | | | | | | | | | | | | | | | | This patch became obsolete when the update to 9.3.0 was merged (commit 3dade1d59e7b4caa641670a76c0c48b4c90f6b3c). * gnu/packages/patches/gcc-9-libsanitizer-mode-size.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/gcc.scm (gcc-9)[source](patches): Remove it.
| * | Merge branch 'master' into core-updatesMarius Bakke2020-03-18
| |\ \
| * | | gnu: gcc@4.9, gcc@5: Adjust for CPLUS_INCLUDE_PATH changes.Marius Bakke2020-03-15
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.9): Unless cross-compiling, add ... [arguments]: with a phase to remove glibc and GCC from CPLUS_INCLUDE_PATH. (gcc-6)[arguments]: Inherit from GCC-4.8.
| * | | Merge branch 'master' into core-updatesMarius Bakke2020-03-04
| |\ \ \
| * | | | gnu: isl: Move the static library to a separate output.Marius Bakke2020-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (isl)[outputs, arguments]: New fields. * gnu/packages/make-bootstrap.scm (%gcc-static)[inputs]: Add ISL:STATIC.
| * | | | gnu: glibc: Update to 2.31.Marius Bakke2020-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/glibc-supported-locales.patch: Adjust for upstream changes. * gnu/packages/patches/glibc-2.29-supported-locales.patch: New file, with previous contents. * gnu/packages/patches/gcc-4.9-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-6-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-7-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-8-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-9-libsanitizer-mode-size.patch: New files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/gcc.scm (gcc-4.9, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9)[source](patches): Add the respective patch files. * gnu/packages/base.scm (glibc): Update to 2.31. [source](patches): Remove obsolete. (glibc-2.30): New public variable. (glibc-2.29)[source](patches): Adjust for renamed patch file.
| * | | | gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'.Ludovic Courtès2020-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/30756>. Initially reported by Julien Lepiller <julien@lepiller.eu>. * gnu/packages/base.scm (make-gcc-libc): Remove 'treat-glibc-as-system-header' phase from 'arguments'. * gnu/packages/commencement.scm (gcc-final): Likewise. * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add "include/c++" to 'CPLUS_INCLUDE_PATH'. (gcc-6)[native-search-paths]: Remove. * gnu/packages/make-bootstrap.scm (gcc-for-bootstrap): Remove 'native-search-paths' and 'arguments'. * gnu/packages/patches/python-2.7-search-paths.patch, gnu/packages/patches/python-3-search-paths.patch: Replace "CPATH" with "C_INCLUDE_PATH". * guix/build-system/cmake.scm (lower): When not cross-compiling, move INPUTS from the 'host-inputs' field to the 'build-inputs' field of the bag, right after NATIVE-INPUTS. * guix/build-system/glib-or-gtk.scm (lower): Likewise. * guix/build-system/gnu.scm (lower): Likewise. * guix/build-system/meson.scm (lower): Likewise.
| * | | | gnu: isl: Update to 0.22.1.Marius Bakke2020-02-06
| | | | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (isl): Update to 0.22.1.
| * | | | Merge remote-tracking branch 'master' into core-updates.Mathieu Othacehe2019-12-31
| |\ \ \ \
| * | | | | gnu: gcc-7: Update to 7.5.0.Efraim Flashner2019-11-27
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-7): Update to 7.5.0.
* | | | | | gnu: gcc: Add 10.1.0.Ludovic Courtès2020-05-08
| |_|_|_|/ |/| | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-10): New variable.
* | | | | gnu: make-libiberty: Use install-file.guy fleury iteriteka2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm(make-libiberty): In phase install use install-file helper function to install file.
* | | | | gnu: libiberty: Do not inherit properties from GCC.Marius Bakke2020-03-20
| |_|_|/ |/| | | | | | | | | | | * gnu/packages/gcc.scm (make-libiberty)[properties]: New field.
* | | | gnu: Add libgccjit.Joseph LaFreniere2020-03-16
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (libgccjit): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | | | gnu: gcc-9: Update to 9.3.0.Efraim Flashner2020-03-14
| |_|/ |/| | | | | | | | * gnu/packages/gcc.scm (gcc-9): Update to 9.3.0.
* | | gnu: gcc-8: Update to 8.4.0.Efraim Flashner2020-03-04
| |/ |/| | | | | * gnu/packages/gcc.scm (gcc-8): Update to 8.4.0.
* | gnu: gfortran: change to a hidden packageKonrad Hinsen2019-12-17
|/ | | | | | | | * gnu/packages/gcc.scm (gfortran-4.8, gfortran-4.9) (gfortran-5, gfortran-6, gfortran-7, gfortran-8) (gfortran-9): Wrap in 'hidden-package'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gfortran: Add version 9.x.Ludovic Courtès2019-10-14
| | | | * gnu/packages/gcc.scm (gfortran-9): New variable.
* gnu: gcc@9: Update to 9.2.0.Ludovic Courtès2019-10-10
| | | | * gnu/packages/gcc.scm (gcc-9): Update to 9.2.0.
* gnu: isl: Update to 0.21.Marius Bakke2019-06-20
| | | | * gnu/packages/gcc.scm (isl): Update to 0.21.
* gnu: isl: Fix fallback URL.Marius Bakke2019-06-20
| | | | * gnu/packages/gcc.scm (isl, isl-0.18, isl-0.11)[source](uri): Use '.bz2' tarball.
* Merge branch 'staging' into core-updatesMarius Bakke2019-05-25
|\
| * gnu: libstdc++-doc: Add version 9.x.Ludovic Courtès2019-05-22
| | | | | | | | | | * gnu/packages/gcc.scm (libstdc++-doc-4.9): Remove. (libstdc++-doc-9): New variable.
| * gnu: libstdc++-doc: Unhide.Ludovic Courtès2019-05-22
| | | | | | | | | | | | This is a followup to d78010b81ee6ef4fd8803082e2f401b9e55b44db. * gnu/packages/gcc.scm (make-libstdc++-doc): Add 'properties' field.
| * gnu: custom-gcc: Unhide resulting package.Ricardo Wurmus2019-05-16
| | | | | | | | | | | | | | | | This is a follow-up to commit d78010b81ee6ef4fd8803082e2f401b9e55b44db. While the plain "gcc" packages should be hidden by default, gcc-derived packages like "gfortran" should not. * gnu/packages/gcc.scm (custom-gcc)[properties]: Remove the 'hidden? property.
| * gnu: gcc-4.7: Hide package.Ricardo Wurmus2019-05-09
| | | | | | | | * gnu/packages/gcc.scm (gcc-4.7): Wrap in "hidden-package" expression.
| * gnu: gcc@9: Fix limits.h include for cross builds.Carl Dong2019-05-06
| | | | | | | | | | | | | | | | | | | | | | | | This allows us to supply gcc-9 as an optional argument to cross-gcc, successfully constructing gcc-9-based cross-compilers. * gnu/packages/gcc.scm (gcc-9)[source](patches): Add "gcc-9-asan-fix-limits-include.patch". * gnu/packages/patches/gcc-9-asan-fix-limits-include.patch: New file. * gnu/local.mk (dist_patch_DATA): Add the patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * gnu: gcc: Add 9.1.0.Carl Dong2019-05-06
| | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-9): New variable. * gnu/packages/commencement.scm (gcc-toolchain-9): New variable. * gnu/packages/patches/gcc-9-strmov-store-file-names.patch: New file. * gnu/local.mk (dist_patch_DATA): Add the patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | Merge branch 'staging' into core-updatesMarius Bakke2019-03-01
|\|
| * gnu: GCC: Update to 8.3.0.Marius Bakke2019-02-28
| | | | | | | | * gnu/packages/gcc.scm (gcc-8): Update to 8.3.0.
* | gnu: Use GCC 7 as the default compiler.Marius Bakke2019-02-09
|/ | | | | | | | | | | | | | | | | | | | | | * gnu/packages/cross-base.scm (%gcc-cross-include-paths): Remove CROSS_C_INCLUDE_PATH & co in favor of CROSS_CPATH. * gnu/build/cross-toolchain.scm (%gcc-cross-include-paths): Likewise. (cross-gcc-build-phases): Set CROSS_C_INCLUDE_PATH and CROSS_CPLUS_INCLUDE_PATH when building the cross GCC. * gnu/packages/commencement.scm (libstdc++): Add "--disable-libstdcxx-dual-abi" to #:configure-flags. (gcc-boot0)[arguments]: Add "--disable-libmpx" to #:configure-flags. (gcc-final): Add phase to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH before building GCC. (gcc-toolchain-5): Use MAKE-GCC-TOOLCHAIN. (gcc-toolchain-7): Change to GCC-TOOLCHAIN. * gnu/packages/gcc.scm (gcc): Change from GCC-5 to GCC-7. (gfortran): Change to GFORTRAN-7. (gcc-objc): Change to GCC-OBJC-7. (gcc-objc++): Change to GCC-OBJC++-7. * gnu/packages/rust.scm (rust-1.19.0)[native-search-paths]: Change from C_INCLUDE_PATH & co to CPATH.
* gnu: GCC@7: Update to 7.4.0.Marius Bakke2018-12-08
| | | | | | | * gnu/packages/gcc.scm (gcc-7): Update to 7.4.0. [source](patches): Drop 'gcc-libsanitizer-ustat.patch'. * gnu/packages/storage.scm (ceph)[inputs]: Change from BOOST to BOOST-CXX14, as GCC 7.4.0 triggers <https://bugs.gnu.org/33605>.
* gnu: GCC@6: Update to 6.5.0.Marius Bakke2018-12-08
| | | | | | | | * gnu/packages/patches/gcc-libsanitizer-fix.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/gcc.scm (gcc-6): Update to 6.5.0. [source](patches): Drop obsolete patches. [source](snippet): Remove.
* Merge branch 'master' into core-updatesMarius Bakke2018-09-09
|\
| * gnu: gfortran, gcc-objc, gcc-objc++: Add version 8.Eric Brown2018-09-06
| | | | | | | | | | | | | | * gnu/packages/gcc.scm (gfortran-8, gcc-objc-8, gcc-objc++-8): New variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | gnu: gcc@4.9: Fix FTBFS with Glibc >= 2.28.Marius Bakke2018-09-01
| | | | | | | | | | | | | | | | | | * gnu/packages/commencement.scm (gcc-for-libstdc++): New variable. (libstdc++-boot0): Inherit from GCC-FOR-LIBSTDC++ instead of GCC-4.9. * gnu/packages/gcc.scm (gcc-4.9)[source](patches): Add "gcc-4.9-libsanitizer-ustat.patch". * gnu/packages/patches/gcc-4.9-libsanitizer-ustat.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
* | gnu: gcc: Include libsanitizer patch for versions 6 and 7.Marius Bakke2018-08-26
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-6, gcc-7)[source](patches): Add "gcc-libsanitizer-ustat.patch".
* | Merge branch 'staging' into core-updatesMarius Bakke2018-08-25
|\|
| * gnu: gcc@4.8: Fix libsanitizer build issue.Ludovic Courtès2018-08-19
| | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/32397>. Reported by fis trivial <ybbs.daans@hotmail.com>. * gnu/packages/patches/gcc-4.8-libsanitizer-fix.patch: New file. * gnu/packages/gcc.scm (gcc-4.8)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
* | gnu: gcc: Fix build with glibc >= 2.28.Marius Bakke2018-08-25
| | | | | | | | | | | | * gnu/packages/patches/gcc-libsanitizer-ustat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gcc.scm (gcc-5)[source](patches): Add it.