aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
Commit message (Collapse)AuthorAge
* gnu: gcc@12: Update to 12.4.0.fanquake2024-08-19
| | | | | | | * gnu/packages/gcc.scm (gcc-12): Update to 12.4.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: Ibdd003d5b61eb4b9e6a1b56428d01d51cca97b44
* gnu: gcc-14: Update to 14.2.0.Michael Ford2024-08-05
| | | | | | | * gnu/packages/gcc.scm (gcc-14): Update to 14.2.0. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Change-Id: I250bf04c04233aa449f70701a238bfb4d4d07933
* gnu: Add libgccjit-14.Zheng Junjie2024-07-02
| | | | | | | * gnu/packages/gcc.scm (libgccjit-14): New variable. Change-Id: I9c5be52e4e07ca48ae7191b6ff0c163541544700 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add gccgo-14.Zheng Junjie2024-07-02
| | | | | | | * gnu/packages/gcc.scm (gccgo-14): New variable. Change-Id: I065373047eb186ac410813b7eea0af3b44d8aaa7 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add gcc-14.Zheng Junjie2024-07-02
| | | | | | | * gnu/packages/gcc.scm (gcc-14): New variable. Change-Id: I7eca4e35e010a69c13489c10c72c29d6e628bb72 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: gcc: Add tuning targets for powerpc64le-linux.Efraim Flashner2024-06-11
| | | | | | | | | * gnu/packages/gcc.scm (%gcc-10-ppc64le-micro-architectures): New variable. (gcc-10, gcc-11, gcc-12, gcc-13)[properties]: Add entry in compiler-cpu-architectures for powerpc64le. Change-Id: I3f5d0f5949eea7ac1b1914ac1db2867f5d14aee6
* gnu: gcc-13: Remove unneeded patch for i586-gnu.Efraim Flashner2024-05-30
| | | | | | | * gnu/packages/gcc.scm (gcc-13)[arguments]: When building for i586-gnu delete the inherited phase 'patch-hurd-libpthread as it exists upstream. Change-Id: I0837dcff325b15b6975b34dbd7268faaa223ecdd
* gnu: gccgo-12: Fix building on riscv64-linux.Efraim Flashner2024-05-30
| | | | | | | | * gnu/packages/gcc.scm (make-gccgo)[arguments]: When building gccgo-12 for riscv64-linux don't add a phase to adjust the order of libgo dependencies. Change-Id: I600c744ce33ad802a5c466c19df41dcbb29a2be0
* gnu: gcc-13: Update to 13.3.0.Michael Ford2024-05-22
| | | | | | | * gnu/packages/gcc.scm (gcc-13): Update to 13.3.0. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Change-Id: Ia2dc3185acbb6671b2719e2d88d55b7d2b8fb92e
* gnu: libstdc++: Support cross-compilation to powerpc64le-linux-gnu.Ludovic Courtès2024-04-04
| | | | | | | | | | Previously the phase would fail when cross-compiling because the patch could not be found in ‘inputs’. * gnu/packages/gcc.scm (make-libstdc++): Add alternative ‘patch-powerpc’ phase for when (%current-target-system) is true. Change-Id: Ia503d761d34596d95cc9d33edd911cebcc2e0d9e
* cpu: Enable tuning for i686-linux.Efraim Flashner2024-03-07
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-7, gcc-10, gcc-11, gcc-12, gcc-13) [properties]: In compiler-cpu-architectures use the x86_64-micro-architectures list for i686. * guix/cpu.scm (cpu->gcc-architecture): Expand the x86_64 case to also support i686. Change-Id: I0b820ceb715960db5e702814fa278dc8c619a836
* cpu: Rename x86-64-v1 to x86-64.Efraim Flashner2024-03-07
| | | | | | | | | | | | This is the actual micro-architecture designation used by compilers. * gnu/packages/gcc.scm (%gcc-11-x86_64-micro-architectures): Rename x86-64-v1 to x86-64. * gnu/packages/golang.scm (%go-1.18-x86_64-micro-architectures): Same. * guix/cpu.scm (cpu->micro-architecture-level): Same. (gcc-architecture->micro-architecture-level): Same. Change-Id: I19ed556a7e8deb4a77f4c63fca3b794f25092788
* gnu: gcc@11: fix 'compiler-cpu-architectures' property.Zheng Junjie2024-03-05
| | | | | | | | * gnu/packages/gcc.scm (%gcc-11-x86_64-micro-architectures): fix typo `alterlake' to `alderlake'. Change-Id: Ia1a7af3f25040101f6995b6a4df5f298bfbbeb44 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: gcc-4.8: Fix building.Efraim Flashner2024-02-13
| | | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Adjust configure-flags to build gcc-4.8 using the C++03 standard. (gcc-4.8)[arguments]: Add a phase to remove the current gcc's C++ headers from the CPLUS_INCLUDE_PATH. (gcc-4.9)[arguments]: Inherit from gcc-4.8. (gcc-6)[arguments]: Inherit from gcc-4.7. Change-Id: Ibec0683e8385ae011e6a809c664cb679f1a35b80
* gnu: Add gdc alias.Maxim Cournoyer2024-01-26
| | | | | | | * gnu/packages/gcc.scm (gdc): New variable. Change-Id: I38447e46ffba44d3a9d3757d34fe9ff081803457 Reviewed-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add gfortran-9.Ricardo Wurmus2024-01-18
| | | | | | * gnu/packages/gcc.scm (gfortran-9): New variable. Change-Id: Icac0eeef445dcac72b8709ed81367a718116fd87
* gnu: Add support for x86_64-linux-gnux32.Efraim Flashner2024-01-04
| | | | | | | | | | | | | * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add entry for x86_64-linux-gnux32. * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add configure-flag for x86_64-linux-gnux32. * guix/platforms/x86.scm (x86_64-linux-gnux32): New variable. * guix/utils.scm (gnu-triplet->nix-system): Force x86_64-linux-gnux32 to output a different nix-system than x86_64-linux-gnu. Change-Id: I519fea2f8357e4b9895ede05fe8a5e373e9b034a Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: gccgo-12: Fix building with 1 core.Efraim Flashner2024-01-01
| | | | | | | * gnu/packages/gcc.scm (make-gccgo)[arguments]: When building gccgo-12 or higher add a phase to build libbacktrace before libgo. Change-Id: I9bb225b58ffa439f9461e4126f51ab453683efbe
* gnu: custom-gcc: Set upstream name.Efraim Flashner2023-10-28
| | | | | | * gnu/packages/gcc.scm (custom-gcc)[properties]: Add upstream name. Change-Id: I30326dc7952b11451a86f7f026aa1a97364a89e4
* gnu: Add gccgo-13.Efraim Flashner2023-10-28
| | | | | | * gnu/packages/crates-io.scm (gccgo-13): New variable. Change-Id: I4b1ed0657518b9113a5ce89221189b9dd60f4347
* gnu: gccgo: Add note about provided go version.Efraim Flashner2023-10-28
| | | | | | | * gnu/packages/gcc.scm (gccgo-10, gccgo-11, gccgo-12): Add notes about what version of is provided by these packages. Change-Id: Id483319e606fdebe1820abeb7e129c580bf2c165
* gnu: gcc@10: Update to 10.5.0.fanquake2023-10-24
| | | | | | | | * gnu/packages/gcc.scm (gcc-10): Update to 10.5.0. Remove ‘gcc-10-tree-sra-union-handling.patch’. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: Id1121cde63c8f5572fbe6a2b0d18b2df5a1eaa68
* gnu: Add gcc-13.Hilton Chain2023-09-28
| | | | | | * gnu/packages/gcc.scm (gcc-13): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: %gcc-11-x86_64-micro-architectures: Correct some values.Efraim Flashner2023-09-20
| | | | | * gnu/packages/gcc.scm (%gcc-11-x86_64-micro-architectures): Correct the values for the psABI micro-architectures.
* gnu: %gcc-11-x86_64-micro-architectures: Add psabi entries.Efraim Flashner2023-07-12
| | | | | * gnu/packages/gcc.scm (%gcc-11-x86_64-micro-architectures): Add entries for x86_64-v{1,2,3,4}.
* gnu: gcc: Change make-gccgo to use gexp's.Christopher Baines2023-05-14
| | | | | | As otherwise this seems to generate broken derivations for i586-gnu. * gnu/packages/gcc.scm (make-gccgo): Use gexp's for the package arguments.
* gnu: gcc: Change custom-gcc to use gexp's.Christopher Baines2023-05-14
| | | | | | | As this seems to be generating broken derivations for i586-gnu otherwise. * gnu/packages/gcc.scm (custom-gcc): Use gexp's for the generated package arguments.
* gnu: gcc: Update cpu tuning architectures.Efraim Flashner2023-05-09
| | | | | | | | | | | | | | * gnu/packages/gcc.scm (%gcc-7.5-armhf-micro-architectures): Add missing micro-architecture. (%gcc-10-armhf-micro-architectures): Adjust accordingly. (%gcc-11-aarch64-micro-architectures): Add missing micro-architecture. (%gcc-12-aarch64-micro-architectures, %gcc-12-armhf-micro-architectures, %gcc-12-x86_64-micro-architectures, %gcc-13-aarch64-micro-architectures, %gcc-13-armhf-micro-architectures, %gcc-13-x86_64-micro-architectures): New variables. (gcc-12)[properties]: Use new compiler-cpu-architectures. * guix/cpu.scm (cpu->gcc-architecture): Update entries for Intel, AMD, x86_64 fallback and aarch64.
* gnu: gcc-12: Update to 12.3.0.Efraim Flashner2023-05-09
| | | | * gnu/packages/gcc.scm (gcc-12): Update to 12.3.0.
* Revert "gnu: gcc-11: Adapt patching for hurd to not use gexp's."Christopher Baines2023-05-07
| | | | | | | | | | | This reverts commit 08acdd0765b5f4fbfafa699a823ea7985d4d35a7. This change is now unnecessary now that gcc-boot0 uses gexps (a795a02a9d988be5a762886620f7bb6a95e7ffdb). * gnu/packages/gcc.scm (gcc-11)[arguments]: Use gexp for modify-phases. [native-inputs]: Remove. * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Remove.
* gnu: Use gexps for gcc-boot0 and related packages.Christopher Baines2023-05-07
| | | | | | | | | | | | | | | | | | There are currently problems with native or cross building for i586-gnu, and one factor mixed up with this is that some of the gcc packages use sexp's for the phases, and thus introducing gexp's has caused problems. As part of the going in circles with this, this commit switches gcc-boot0 to use gexp's in it's arguments, and then also modifies libstdc++-boot0, libstdc++-boot0-gcc7, cross-gcc-wrapper, gcc-final and make-libstdc++ to handle this change. If done correctly, this change shouldn't affect any derivations. * gnu/packages/commencement.scm (libstdc++-boot0, libstdc++-boot0-gcc7, gcc-boot0, gcc-final)[arguments]: Use gexps. (cross-gcc-wrapper): Use gexps in the generated package. * gnu/packages/gcc.scm (make-libstdc++): Use gexps in the generated package.
* gnu: gcc-11: Fix patch-hurd-libpthread phase.Christopher Baines2023-05-05
| | | | | | | | | | It didn't work when it was introduced in 08acdd0765b5f4fbfafa699a823ea7985d4d35a7. * gnu/packages/gcc.scm (gcc-11)[arguments]: Remove the procedure arguments, and use %build-inputs rather than inputs. * gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Add hurd-patch, as this package inherits from gcc-11.
* gnu: gcc-11: Adapt patching for hurd to not use gexp's.Christopher Baines2023-05-04
| | | | | | | | | | | | | As this causes issues with gcc-cross-boot0, since it doesn't use gexp's and that means the builder script ends up broken. I'm not testing this properly, I've only confirmed that with this change, you can generate a derivation for hello for i586-gnu where that derivation and all inputs don't have broken builder scripts. Plus the output for hello on x86_64-linux is unchanged. * gnu/packages/gcc.scm (gcc-11)[arguments]: Rewrite to not use gexps. [native-inputs]: Add a patch for the hurd if that's the target.
* gnu: gcc: Do not build gcov on MinGW.Vivien Kraus2023-04-25
| | | | | | | * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Disable gcov when targetting mingw. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gcc-7, gcc-10, gcc-11: Hide packages.Simon Tournier2023-04-18
| | | | | | | * gnu/packages/gcc.scm (gcc-7, gcc-10, gcc-11): Also inherit 'hidden?' properties. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gcc-11: Fix build on powerpc64le.Andreas Enge2023-04-14
| | | | | | | | | | * gnu/packages/patches/gcc-11-libstdc++-powerpc.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patch. * gnu/packages/gcc.scm (make-libstdc++): Apply patch for gcc versions >= 11 and < 12 on ppc64le. Co-authored-by: Christopher Baines <mail@cbaines.net> Signed-off-by: Christopher Baines <mail@cbaines.net>
* Revert "gnu: gcc-11: Fix build on powerpc64le."Andreas Enge2023-04-14
| | | | This reverts commit 9900f9e9b86550e7d336b04ad46fba088e28cbd6.
* gnu: gcc-11: Fix build on powerpc64le.Andreas Enge2023-04-13
| | | | | | | | | * gnu/packages/patches/gcc-11-libstdc++-powerpc.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patch. * gnu/packages/gcc.scm (make-libstdc++): Apply patch for gcc versions >= 11 and < 12 on ppc64le. Co-authored-by: Christopher Baines <mail@cbaines.net>
* gnu: gcc@11: Patch libpthread on GNU/Hurd.Josselin Poiret2023-03-30
| | | | | | | | | * gnu/packages/gcc.scm (gcc-11)[arguments]: Add 'patch-hurd-libpthread' phase. * gnu/packages/patches/gcc-11-libstdc++-hurd-libpthread.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: libstdc++: Fix cross-compilation.Ludovic Courtès2023-03-09
| | | | | * gnu/packages/gcc.scm (make-libstdc++): Adjust 'hide-gcc-headers' for cross-compiled libstdc++.
* gnu: gcc@4.9, gcc@5.5: Build with '-std=c++11'.Ludovic Courtès2023-03-03
| | | | | | | | | | These two compilers would fail to build with GCC 11.3.0 because it defaults to C++17, which triggers some incompatibilities. * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Augment #:configure-flags for 4.9 and 5.0. (gcc-4.9)[arguments]: Define 'parent' so that (package-arguments parent) correctly evaluates the version-dependent parts.
* Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines2023-03-02
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
| * gnu: Add gccgo-12.Efraim Flashner2023-02-09
| | | | | | | | | | | | * gnu/packages/gcc.scm (gccgo-12): New variable. (make-gccgo)[arguments]: Adapt custom 'remove-tool-reference-from-libgo to changes in the source.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2023-01-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
| * gnu: gcc-2.95: Add initial work toward building for arm.Efraim Flashner2022-10-18
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-2.95)[source]: Adjust source to use newer macros from more recent versions of GCC.
| * gnu: gcc-2.95: Add substitution for the Hurd's linker.Efraim Flashner2022-10-18
| | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-2.95)[arguments]: Adjust custom 'set-dynamic-linker-file-name phase to also substitute the Hurd's linker.
| * gnu: isl: Remove outdated comment.Maxim Cournoyer2022-10-03
| | | | | | | | * gnu/packages/gcc.scm (isl) [source]: Remove outdated comment.
* | Merge branch 'staging' into core-updatesMaxim Cournoyer2022-09-15
|\| | | | | | | | | | | | | | | | | | | | | | | 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.
| * gnu: libgccjit: Build multiple versions.Liliana Marie Prikler2022-09-11
| | | | | | | | | | | | * gnu/packages/gcc.scm (libgccjit-9, libgccjit-10, libgccjit-11) (libgccjit-12): New variables. (libgccjit): Update to libgccjit-10.
| * gnu: libgccjit: Build with bootstrapped gcc.Liliana Marie Prikler2022-09-11
| | | | | | | | | | | | | | | | * 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.