summaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
AgeCommit message (Expand)Author
2021-06-28gnu: Add gccgo-10....Generate gccgo with MAKE-GCCGO to factorize phases, and to fix the cyclic dependency between out and lib (caused by libgo embedding the gotools path) that was worked around in <https://issues.guix.gnu.org/18101>. * gnu/packages/gcc.scm (custom-gcc-gccgo): New procedure. (make-gccgo): New procedure. (gccgo-10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Sarah Morgensen
2021-06-14gnu: gcc-8: Make static libs reproducible...This fixes the nonreproducibility in gcc documented here: https://reproducible-builds.org/docs/archives/#gnu-libtool * gnu/packages/patches/gcc-8-sort-libtool-find-output.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gcc.scm (gcc-8)[source]: Apply it. Carl Dong
2021-06-01gnu: gcc-9: Update to 9.4.0....* gnu/packages/gcc.scm (gcc-9): Update to 9.4.0. Efraim Flashner
2021-05-15gnu: gcc-8: Update to 8.5.0....* gnu/packages/gcc.scm (gcc-8): Update to 8.5.0. Efraim Flashner
2021-04-27gnu: Add gdc-11....* gnu/packages/gcc.scm (gdc-11): New variable. Efraim Flashner
2021-04-27gnu: Add gcc-toolchain-11....* gnu/packages/gcc.scm (gcc-11): New variable. * gnu/packages/commencement.scm (gcc-toolchain-11): New variable. Efraim Flashner
2021-04-09gnu: gcc-10: Update to 10.3.0....* gnu/packages/gcc.scm (gcc-10): Update to 10.3.0. Efraim Flashner
2021-03-25gnu: gcc: Fix comment about gfortran....Added by: cb4805e34c9997edca14743516b9a0fde6303d1c Fixes: 0681f05486d901c92637c098bb7afddef35068b0 * gnu/packages/gcc.scm (gcc): Fix comment about gfortran. Signed-off-by: Christopher Baines <mail@cbaines.net> Vincent Legoll
2021-03-23gnu: gcc-4.7: On powerpc64le, fix /lib64 references....Fixes: <https://bugs.gnu.org/46253>. * gnu/packages/gcc.scm (gcc-4.7)[#:phases][pre-configure]: When the gcc/config/rs6000 directory exists, replace "/lib64" with "/lib" in all files within it. Note that this fix will be picked up by any package that re-uses the pre-configure phase from gcc-4.7 (e.g., all the usual gcc packages). (make-libstdc++)[#:phases][fix-rs6000-libdir]: New phase, which does the same as above. It was necessary to duplicate the fix here because make-libstdc++ does not re-use the pre-configure phase from gcc-4.7. Chris Marusich
2020-09-13gnu: gccgo: Reword synopsis and description....Fixes <https://bugs.gnu.org/43303>. Reported by Jeffrey Walton <noloader@gmail.com>. * gnu/packages/gcc.scm: (gccgo-4.9): Add synopsis and description Signed-off-by: Ludovic Courtès <ludo@gnu.org> zimoun
2020-09-13gnu: libgccjit: Reword synopsis and description....Fixes <https://bugs.gnu.org/43303>. Reported by Jeffrey Walton <noloader@gmail.com>. * gnu/packages/gcc.scm: (libgccjit)[synopsis,description]: Reword. Signed-off-by: Ludovic Courtès <ludo@gnu.org> zimoun
2020-07-24gnu: gcc: Fix libstdc++ misconfiguration....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. Ludovic Courtès
2020-07-24gnu: gcc@10: Update to 10.2.0....* gnu/packages/gcc.scm (gcc-10): Update to 10.2.0. Ludovic Courtès
2020-07-19gnu: Add gdc-10....* gnu/packages/gcc.scm (gdc-10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> guy fleury iteriteka
2020-06-30gnu: Add gcc-{objc,objc++}-{9,10}....* 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. Jakub Kądziołka
2020-06-30gnu: gfortran: Remove unusable versions....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. Jakub Kądziołka
2020-05-08Merge branch 'core-updates'Marius Bakke
2020-05-08gnu: gcc: Add 10.1.0....* gnu/packages/gcc.scm (gcc-10): New variable. Ludovic Courtès
2020-04-28gnu: custom-gcc: Ensure #:modules are not overridden by the inherited GCC....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. Marius Bakke
2020-04-23gnu: GCC@8: Remove obsolete patch....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. Marius Bakke
2020-03-24gnu: bootstrap: gcc-static: Use gcc-5....* 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. Jan Nieuwenhuizen
2020-03-21Merge branch 'master' into core-updatesMarius Bakke
2020-03-20gnu: make-libiberty: Use install-file....* gnu/packages/gcc.scm(make-libiberty): In phase install use install-file helper function to install file. guy fleury iteriteka
2020-03-20gnu: libiberty: Do not inherit properties from GCC....* gnu/packages/gcc.scm (make-libiberty)[properties]: New field. Marius Bakke
2020-03-18gnu: GCC@9: Remove obsolete patch....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. Marius Bakke
2020-03-18Merge branch 'master' into core-updatesMarius Bakke
2020-03-15gnu: gcc@4.9, gcc@5: Adjust for CPLUS_INCLUDE_PATH changes....* 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. Marius Bakke
2020-03-16gnu: Add libgccjit....* gnu/packages/gcc.scm (libgccjit): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Joseph LaFreniere
2020-03-14gnu: gcc-9: Update to 9.3.0....* gnu/packages/gcc.scm (gcc-9): Update to 9.3.0. Efraim Flashner
2020-03-04Merge branch 'master' into core-updatesMarius Bakke
2020-03-04gnu: gcc-8: Update to 8.4.0....* gnu/packages/gcc.scm (gcc-8): Update to 8.4.0. Efraim Flashner
2020-02-15gnu: isl: Move the static library to a separate output....* gnu/packages/gcc.scm (isl)[outputs, arguments]: New fields. * gnu/packages/make-bootstrap.scm (%gcc-static)[inputs]: Add ISL:STATIC. Marius Bakke
2020-02-15gnu: glibc: Update to 2.31....* 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. Marius Bakke
2020-02-06gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'....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. Ludovic Courtès
2020-02-06gnu: isl: Update to 0.22.1....* gnu/packages/gcc.scm (isl): Update to 0.22.1. Marius Bakke
2019-12-31Merge remote-tracking branch 'master' into core-updates.Mathieu Othacehe
2019-12-17gnu: gfortran: change to a hidden package...* 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> Konrad Hinsen
2019-11-27gnu: gcc-7: Update to 7.5.0....* gnu/packages/gcc.scm (gcc-7): Update to 7.5.0. Efraim Flashner
2019-10-14gnu: gfortran: Add version 9.x....* gnu/packages/gcc.scm (gfortran-9): New variable. Ludovic Courtès
2019-10-10gnu: gcc@9: Update to 9.2.0....* gnu/packages/gcc.scm (gcc-9): Update to 9.2.0. Ludovic Courtès
2019-06-20gnu: isl: Update to 0.21....* gnu/packages/gcc.scm (isl): Update to 0.21. Marius Bakke
2019-06-20gnu: isl: Fix fallback URL....* gnu/packages/gcc.scm (isl, isl-0.18, isl-0.11)[source](uri): Use '.bz2' tarball. Marius Bakke
2019-05-25Merge branch 'staging' into core-updatesMarius Bakke
2019-05-22gnu: libstdc++-doc: Add version 9.x....* gnu/packages/gcc.scm (libstdc++-doc-4.9): Remove. (libstdc++-doc-9): New variable. Ludovic Courtès
2019-05-22gnu: libstdc++-doc: Unhide....This is a followup to d78010b81ee6ef4fd8803082e2f401b9e55b44db. * gnu/packages/gcc.scm (make-libstdc++-doc): Add 'properties' field. Ludovic Courtès
2019-05-16gnu: custom-gcc: Unhide resulting package....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. Ricardo Wurmus
2019-05-09gnu: gcc-4.7: Hide package....* gnu/packages/gcc.scm (gcc-4.7): Wrap in "hidden-package" expression. Ricardo Wurmus
2019-05-06gnu: gcc@9: Fix limits.h include for cross builds....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> Carl Dong
2019-05-06gnu: gcc: Add 9.1.0....* 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> Carl Dong
2019-03-01Merge branch 'staging' into core-updatesMarius Bakke