diff options
author | Marius Bakke <marius@gnu.org> | 2022-07-25 03:23:31 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-07-27 17:53:49 +0200 |
commit | 8a2b5f3f587459c11c037b9d372b4070263baae9 (patch) | |
tree | 4d8a6c7291c28114105e93a351a2dc8c251cf3f3 /gnu/packages/rust.scm | |
parent | b3fb4ed0b007b99248b3f17e79d117bbe65f0815 (diff) |
gnu: 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.
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r-- | gnu/packages/rust.scm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 25472fefb0..759bf9a631 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -169,14 +169,6 @@ ("zlib" ,zlib))) (native-inputs `(("bison" ,bison) - ;; A compiler bug in gcc 10/11/12/13 prevents us from using gcc-10.4. See: - ;; https://github.com/thepowersgang/mrustc/issues/266 - ;; https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105860 - ("gcc" ,gcc-9) - ;; TODO: STARTFILE_PREFIX_SPEC is fixed on gcc<10 on core-updates. - ,@(if (target-riscv64?) - `(("gcc:lib" ,gcc-9 "lib")) - '()) ("flex" ,flex) ("pkg-config" ,pkg-config) ;; Required for the libstd sources. |