summaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
AgeCommit message (Expand)Author
2022-09-15Merge branch 'staging' into core-updates...Conflicts resolved in: gnu/local.mk gnu/packages/cmake.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/sdl.scm pango-next, vala-next and librsvg-bootstrap were removed in the process. Maxim Cournoyer
2022-09-11gnu: libgccjit: Build multiple versions....* gnu/packages/gcc.scm (libgccjit-9, libgccjit-10, libgccjit-11) (libgccjit-12): New variables. (libgccjit): Update to libgccjit-10. Liliana Marie Prikler
2022-09-11gnu: libgccjit: Build with bootstrapped gcc....* gnu/packages/gcc.scm (make-libgccjit)[#:configure-flags]: Add “--disable-bootstrap”, “--disable-libatomic”, “--disable-libgomp”, “--disable-libquadmath”, “--disable-libssp”, and “--enable-checking=release”. [inputs]: Remove libstdc++. [native-inputs]: Add gcc. Liliana Marie Prikler
2022-09-11gnu: Parameterize libgccjit....* gnu/packages/gcc.scm (make-libgccjit): New variable. (libgccjit): Define in terms of make-libgccjit. Liliana Marie Prikler
2022-09-08gnu: Switch to GCC 11....* gnu/packages/commencement.scm (gcc-boot0)[source]: Delete offending files from GCC. (libstdc++-boot0)[arguments]: Add #:modules. (libstdc++): Inherit from from GCC-BOOT0 rather than GCC. (gcc-final)[arguments]: Add phase to workaround libstdc++ build system issue. Add #:modules. * gnu/packages/gcc.scm (make-libstdc++): Likewise. Marius Bakke
2022-08-27Merge branch 'staging' into core-updatesMarius Bakke
2022-08-27gnu: gcc-12: Update to 12.2.0....* gnu/packages/gcc.scm (gcc-12): Update to 12.2.0. Signed-off-by: Marius Bakke <marius@gnu.org> Greg Hogan
2022-07-27gnu: GCC: Fix union optimization issue....* gnu/packages/patches/gcc-10-tree-sra-union-handling.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/gcc.scm (gcc-10, gcc-11)[source](patches): Add it. * gnu/packages/rust.scm (rust-bootstrap)[native-inputs]: Remove GCC-9. Marius Bakke
2022-07-23gnu: GCC: Build with Elfutils instead of libelf....* gnu/packages/gcc.scm (gcc-4.7)[inputs]: Change from LIBELF to ELFUTILS. Marius Bakke
2022-07-10gnu: gcc: Patch gcc for riscv unconditionally....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: In custom 'pre-configure phase unconditionally remove STARTFILE_PREFIX_SPEC in all locations it may exist. Efraim Flashner
2022-06-29gnu: gcc-10: Update to 10.4.0....* gnu/packages/gcc.scm (gcc-10): Update to 10.4.0. Efraim Flashner
2022-06-27Merge branch 'master' into core-updatesMarius Bakke
2022-06-26gnu: isl: Update to 0.24....* gnu/packages/gcc.scm (isl): Update to 0.24. [source](uri): Use new .xz tarball. Marius Bakke
2022-06-26gnu: gcc-objc, gcc-objc++: Declare variants for GCC 11 and GCC 12....* gnu/packages/gcc.scm (gcc-objc-11, gcc-objc-12, gcc-objc++-11, gcc-objc++-12): New variables. Marius Bakke
2022-05-30gnu: gcc-9: Update to 9.5.0....* gnu/packages/gcc.scm (gcc-9): Update to 9.5.0. Efraim Flashner
2022-05-24gnu: gcc: Add 12.1.0....* gnu/packages/gcc.scm (gcc-12): New variable. Ludovic Courtès
2022-05-24gnu: gcc@11: Update 'compiler-cpu-architectures' property....* gnu/packages/gcc.scm (%gcc-11-aarch64-micro-architectures) (%gcc-11-armhf-micro-architectures) (%gcc-11-x86_64-micro-architectures): New variables. (gcc-11)[properties]: Use them. Ludovic Courtès
2022-05-09gnu: gcc-11: Update to 11.3.0....* gnu/packages/gcc.scm (gcc-11): Update to 11.3.0. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Greg Hogan
2022-03-19gnu: isl: Add 'release-monitoring-url' property....* gnu/packages/gcc.scm (isl)[properties]: New field. Ludovic Courtès
2022-03-19gnu: isl: Get source from SourceForge....Reported by Artyom V. Poptsov <poptsov.artyom@gmail.com>. * gnu/packages/gcc.scm (isl)[home-page]: Update. [source]: Replace gforge.inria.fr URL with mirror://sourceforge URL. (isl-0.18)[source]: Likewise. (isl-0.11)[source]: Likewise. Ludovic Courtès
2022-03-16gnu: gcc: For riscv64-linux remove STARTFILE_PREFIX_SPEC....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: When building for riscv64-linux and the 'gcc/configure/riscv' directory exists adjust the STARTFILE_PREFIX_SPEC so it doesn't do anything. Efraim Flashner
2022-03-14gnu: gcc@11: Inherit supported micro-architectures from gcc@10....Previously, gcc@11 would inherit the 'compiler-cpu-architectures' property from gcc@8. * gnu/packages/gcc.scm (gcc-11)[properties]: New field. Ludovic Courtès
2022-02-22gnu: custom-gcc-gccgo: Remove procedure....* gnu/packages/gcc.scm (custom-gcc-gccgo): Remove procedure. (make-gccgo): Use custom-gcc procedure. Efraim Flashner
2022-02-22gnu: Add gccgo-11....* gnu/packages/gcc.scm (gccgo-11): New variable. Efraim Flashner
2022-02-15gnu: gcc-2.95: Support more systems....* gnu/packages/gcc.scm (gcc-2.95)[supported-systems]: Allow all except powerpc64le-linux and riscv64-linux. [arguments]: Set #:system to the 32-bit version of our supported 64-bit architectures. Modify custom 'set-dynamic-linker-file-name phase to use the glibc-dynamic-linker for the selected system, and to substitute more locations. Efraim Flashner
2022-02-14gnu: gcc: Add 2.95....* gnu/packages/gcc.scm (gcc-2.95): New variable. Ludovic Courtès
2022-02-13gnu: gcc: Add compiler-cpu-architectures for armhf....* gnu/packages/gcc.scm (%gcc-7.5-armhf-micro-architectures, %gcc-10-armhf-micro-architectures): New variables. (gcc-7, gcc-10)[properties]: Add armhf compiler-cpu-architectures. Efraim Flashner
2022-02-13gnu: gcc: Add compiler-cpu-architectures for aarch64....* gnu/packages/gcc.scm (%gcc-7.5-aarch64-micro-architectures, %gcc-10-aarch64-micro-architectures): New variables. (gcc-7, gcc-10)[properties]: Add aarch64 compiler-cpu-architectures. Efraim Flashner
2022-01-01gnu: gcc: Add 'compiler-cpu-architectures' property....* gnu/packages/gcc.scm (%gcc-7.5-x86_64-micro-architectures) (%gcc-10-x86_64-micro-architectures): New variables. (gcc-7, gcc-10): Add 'properties' field. * gnu/packages/commencement.scm (make-gcc-toolchain): Likewise. Ludovic Courtès
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-12-10Merge remote-tracking branch 'signed/master' into core-updatesMathieu Othacehe
2021-12-09gnu: Add gfortran-7....* gnu/packages/gcc.scm (gfortran-7): New variable. Ricardo Wurmus
2021-12-07gnu: make-gccgo: Override empty GOROOT/GCCGOTOOLDIR...gnu/packages/gcc.scm (make-gccgo)[arguments]: Set tool paths (GOROOT and GCCGOTOOLDIR) even if they are already set to "". Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Sarah Morgensen
2021-11-11gnu: gcc-5: Fix powerpc64le-linux build...GCC 5 has a misaligned access to a vector pointer which causes a build failure when using GCC 8 and later. Backport upstream fix that was applied on the GCC 6 branch. * gnu/packages/gcc.scm (gcc-5)[source]: Apply gcc-5-fix-powerpc64le-build.patch. * gnu/packages/patches/gcc-5-fix-powerpc64le-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Thiago Jung Bauermann
2021-08-12Merge branch 'master' into core-updates-frozen... Conflicts: gnu/packages/algebra.scm gnu/packages/games.scm gnu/packages/golang.scm gnu/packages/kerberos.scm gnu/packages/mail.scm gnu/packages/python.scm gnu/packages/ruby.scm gnu/packages/scheme.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm Marius Bakke
2021-08-08gnu: gcc-11: Update to 11.2.0....* gnu/packages/gcc.scm (gcc-11): Update to 11.2.0. Efraim Flashner
2021-07-18Merge branch 'master' into core-updatesLudovic Courtès
2021-07-06gnu: gcc: Fix cross-compilation....This fixes cross-compilation of GCC, as in: guix build --target=aarch64-linux-gnu -e '(@ (gnu packages gcc) gcc-10)' * gnu/packages/gcc.scm (gcc-canadian-cross-objdump-snippet): New variable. (gcc-5)[source]: Use it instead of inline 'snippet'. (gcc-8)[source]: Add 'modules' and 'snippet'. (gcc-9)[source]: Likewise. (gcc-10)[source]: Likewise. (gcc-11)[source]: Likewise. Ludovic Courtès
2021-07-05gnu: custom-gcc: Update regex for removing executables....Do not match "gccgo". Match "gcov-dump" and "gcov-tool", as well as "lto-dump" (which was introduced in GCC 10). * gnu/packages/gcc.scm (custom-gcc)[arguments]: Update regex used for matching broken or conflicting executables. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sarah Morgensen
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-24gnu: Simplify the use of --with-long-double-128....Fixes <https://bugs.gnu.org/48825>. In short, this change adds the hard-coded "--with-long-double-128" configure option in one place and removes it from two other places. This changes and simplifies the use of this option for various architectures that start with the string "powerpc". * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add a clause for targets starting with "powerpc64le-" or "powerpc-" which adds the "--with-long-double-128" option. This causes any package using this procedure to be built using this new option on these architectures. In particular, this affects the gcc package and the gcc-final package, in addition to all the other versions of GCC defined in (gnu packages gcc). * gnu/packages/commencement.scm (gcc-boot0)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for all architectures starting with "powerpc", since it is now redundant on the architectures where it is needed. The gcc-boot0 package uses (and adds to) the gcc package's configure options. This means that the above change in gcc.scm is sufficient to ensure that the gcc-boot0 package's configure options will include "--with-long-double-128" on powerpc64le and powerpc architectures. Additionally, since the option is apparently not required on the big-endian powerpc64 architecture, this change also has the nice effect of omitting the option in that case. * gnu/packages/cross-base.scm (cross-gcc-arguments)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for powerpc64le, since it is now redundant. The cross-gcc-arguments procedure uses (and adds to) the configure options of its xgcc argument (a package). This means that regardless of which gcc from gcc.scm is used as the xgcc, the above change in gcc.scm is sufficient to ensure that the cross-gcc-arguments procedure's configure options will include "--with-long-double-128" on the powerpc64le and powerpc architectures. Chris Marusich
2021-06-19Merge branch 'master' into core-updates...Note: this merge actually changes the 'curl' and 'python-attrs' derivations, as part of solving caf4a7a2770ef4d05a6e18f40d602e51da749ddc and 12964df69a99de6190422c752fef65ef813f3b6b respectively. 4604d43c0e (gnu: gnutls@3.6.16: Fix cross-compilation.) was ignored because it cannot currently be tested. Conflicts: gnu/local.mk gnu/packages/aidc.scm gnu/packages/boost.scm gnu/packages/curl.scm gnu/packages/nettle.scm gnu/packages/networking.scm gnu/packages/python-xyz.scm gnu/packages/tls.scm Marius Bakke
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-13gnu: GCC: Switch to GCC 10....* gnu/packages/patches/gcc-cross-gxx-include-dir.patch: New file. * gnu/packages/patches/gcc-10-cross-environment-variables.patch: New file. * gnu/packages/gcc.scm (gcc): Point to GCC-10. (gcc-objc): Point to GCC-OBJC-10. (gcc-objc++): Point to GCC-OBJC++-10. * gnu/packages/cross-base.scm (cross-gcc)[source](patches): Apply the new patches. Marius Bakke
2021-06-06Merge branch 'master' into core-updates... Conflicts: gnu/local.mk gnu/packages/algebra.scm gnu/packages/bioinformatics.scm gnu/packages/curl.scm gnu/packages/docbook.scm gnu/packages/emacs-xyz.scm gnu/packages/maths.scm gnu/packages/plotutils.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/radio.scm gnu/packages/readline.scm gnu/packages/tls.scm gnu/packages/xml.scm gnu/packages/xorg.scm Marius Bakke
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-22Merge branch 'master' into core-updatesMarius Bakke
2021-05-22gnu: gfortran: Remove obsolete workaround....* gnu/packages/gcc.scm (gfortran): Use GCC directly. Marius Bakke
2021-05-15gnu: gcc-8: Update to 8.5.0....* gnu/packages/gcc.scm (gcc-8): Update to 8.5.0. Efraim Flashner
2021-05-09Merge branch 'master' into core-updates... Conflicts: gnu/local.mk gnu/packages/bioinformatics.scm gnu/packages/django.scm gnu/packages/gtk.scm gnu/packages/llvm.scm gnu/packages/python-web.scm gnu/packages/python.scm gnu/packages/tex.scm guix/build-system/asdf.scm guix/build/emacs-build-system.scm guix/profiles.scm Marius Bakke