summaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
AgeCommit message (Collapse)Author
2023-05-14gnu: gcc: Change make-gccgo to use gexp's.Christopher Baines
As otherwise this seems to generate broken derivations for i586-gnu. * gnu/packages/gcc.scm (make-gccgo): Use gexp's for the package arguments.
2023-05-14gnu: gcc: Change custom-gcc to use gexp's.Christopher Baines
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.
2023-05-09gnu: gcc: Update cpu tuning architectures.Efraim Flashner
* 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.
2023-05-09gnu: gcc-12: Update to 12.3.0.Efraim Flashner
* gnu/packages/gcc.scm (gcc-12): Update to 12.3.0.
2023-05-07Revert "gnu: gcc-11: Adapt patching for hurd to not use gexp's."Christopher Baines
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.
2023-05-07gnu: Use gexps for gcc-boot0 and related packages.Christopher Baines
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.
2023-05-05gnu: gcc-11: Fix patch-hurd-libpthread phase.Christopher Baines
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.
2023-05-04gnu: gcc-11: Adapt patching for hurd to not use gexp's.Christopher Baines
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.
2023-04-25gnu: gcc: Do not build gcov on MinGW.Vivien Kraus
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Disable gcov when targetting mingw. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-04-18gnu: gcc-7, gcc-10, gcc-11: Hide packages.Simon Tournier
* gnu/packages/gcc.scm (gcc-7, gcc-10, gcc-11): Also inherit 'hidden?' properties. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-14gnu: gcc-11: Fix build on powerpc64le.Andreas Enge
* 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>
2023-04-14Revert "gnu: gcc-11: Fix build on powerpc64le."Andreas Enge
This reverts commit 9900f9e9b86550e7d336b04ad46fba088e28cbd6.
2023-04-13gnu: gcc-11: Fix build on powerpc64le.Andreas Enge
* 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>
2023-03-30gnu: gcc@11: Patch libpthread on GNU/Hurd.Josselin Poiret
* 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>
2023-03-09gnu: libstdc++: Fix cross-compilation.Ludovic Courtès
* gnu/packages/gcc.scm (make-libstdc++): Adjust 'hide-gcc-headers' for cross-compiled libstdc++.
2023-03-03gnu: gcc@4.9, gcc@5.5: Build with '-std=c++11'.Ludovic Courtès
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.
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines
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
2023-02-09gnu: Add gccgo-12.Efraim Flashner
* gnu/packages/gcc.scm (gccgo-12): New variable. (make-gccgo)[arguments]: Adapt custom 'remove-tool-reference-from-libgo to changes in the source.
2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
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
2022-10-18gnu: gcc-2.95: Add initial work toward building for arm.Efraim Flashner
* gnu/packages/gcc.scm (gcc-2.95)[source]: Adjust source to use newer macros from more recent versions of GCC.
2022-10-18gnu: gcc-2.95: Add substitution for the Hurd's linker.Efraim Flashner
* gnu/packages/gcc.scm (gcc-2.95)[arguments]: Adjust custom 'set-dynamic-linker-file-name phase to also substitute the Hurd's linker.
2022-10-03gnu: isl: Remove outdated comment.Maxim Cournoyer
* gnu/packages/gcc.scm (isl) [source]: Remove outdated comment.
2022-09-15Merge branch 'staging' into core-updatesMaxim Cournoyer
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.
2022-09-11gnu: libgccjit: Build multiple versions.Liliana Marie Prikler
* gnu/packages/gcc.scm (libgccjit-9, libgccjit-10, libgccjit-11) (libgccjit-12): New variables. (libgccjit): Update to libgccjit-10.
2022-09-11gnu: libgccjit: Build with bootstrapped gcc.Liliana Marie Prikler
* 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.
2022-09-11gnu: Parameterize libgccjit.Liliana Marie Prikler
* gnu/packages/gcc.scm (make-libgccjit): New variable. (libgccjit): Define in terms of make-libgccjit.
2022-09-08gnu: Switch to GCC 11.Marius Bakke
* 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.
2022-08-27Merge branch 'staging' into core-updatesMarius Bakke
2022-08-27gnu: gcc-12: Update to 12.2.0.Greg Hogan
* gnu/packages/gcc.scm (gcc-12): Update to 12.2.0. Signed-off-by: Marius Bakke <marius@gnu.org>
2022-07-27gnu: GCC: Fix union optimization issue.Marius Bakke
* 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.
2022-07-23gnu: GCC: Build with Elfutils instead of libelf.Marius Bakke
* gnu/packages/gcc.scm (gcc-4.7)[inputs]: Change from LIBELF to ELFUTILS.
2022-07-10gnu: gcc: Patch gcc for riscv unconditionally.Efraim Flashner
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: In custom 'pre-configure phase unconditionally remove STARTFILE_PREFIX_SPEC in all locations it may exist.
2022-06-29gnu: gcc-10: Update to 10.4.0.Efraim Flashner
* gnu/packages/gcc.scm (gcc-10): Update to 10.4.0.
2022-06-27Merge branch 'master' into core-updatesMarius Bakke
2022-06-26gnu: isl: Update to 0.24.Marius Bakke
* gnu/packages/gcc.scm (isl): Update to 0.24. [source](uri): Use new .xz tarball.
2022-06-26gnu: gcc-objc, gcc-objc++: Declare variants for GCC 11 and GCC 12.Marius Bakke
* gnu/packages/gcc.scm (gcc-objc-11, gcc-objc-12, gcc-objc++-11, gcc-objc++-12): New variables.
2022-05-30gnu: gcc-9: Update to 9.5.0.Efraim Flashner
* gnu/packages/gcc.scm (gcc-9): Update to 9.5.0.
2022-05-24gnu: gcc: Add 12.1.0.Ludovic Courtès
* gnu/packages/gcc.scm (gcc-12): New variable.
2022-05-24gnu: gcc@11: Update 'compiler-cpu-architectures' property.Ludovic Courtès
* 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.
2022-05-09gnu: gcc-11: Update to 11.3.0.Greg Hogan
* gnu/packages/gcc.scm (gcc-11): Update to 11.3.0. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-03-19gnu: isl: Add 'release-monitoring-url' property.Ludovic Courtès
* gnu/packages/gcc.scm (isl)[properties]: New field.
2022-03-19gnu: isl: Get source from SourceForge.Ludovic Courtès
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.
2022-03-16gnu: gcc: For riscv64-linux remove STARTFILE_PREFIX_SPEC.Efraim Flashner
* 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.
2022-03-14gnu: gcc@11: Inherit supported micro-architectures from gcc@10.Ludovic Courtès
Previously, gcc@11 would inherit the 'compiler-cpu-architectures' property from gcc@8. * gnu/packages/gcc.scm (gcc-11)[properties]: New field.
2022-02-22gnu: custom-gcc-gccgo: Remove procedure.Efraim Flashner
* gnu/packages/gcc.scm (custom-gcc-gccgo): Remove procedure. (make-gccgo): Use custom-gcc procedure.
2022-02-22gnu: Add gccgo-11.Efraim Flashner
* gnu/packages/gcc.scm (gccgo-11): New variable.
2022-02-15gnu: gcc-2.95: Support more systems.Efraim Flashner
* 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.
2022-02-14gnu: gcc: Add 2.95.Ludovic Courtès
* gnu/packages/gcc.scm (gcc-2.95): New variable.
2022-02-13gnu: gcc: Add compiler-cpu-architectures for armhf.Efraim Flashner
* 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.
2022-02-13gnu: gcc: Add compiler-cpu-architectures for aarch64.Efraim Flashner
* 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.