mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: clang-runtime-17: Build with gcc-13.
Avoid /tmp/guix-build-clang-runtime-17.0.6.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:623:30: error: use of built-in trait '__remove_pointer(typename std::__Fuzzer::decay<_Tp>::type)' in function signature; use library traits instead 623 | _EnableIfPathable<_Source> append(const _Source& __src) { | ^~~~~~ by using gcc-13. * gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-13 for version 17. Change-Id: I0f815e178ea2f936e680075b1153285cf920b26e
This commit is contained in:
parent
b7a449fd00
commit
d2b41f0722
1 changed files with 5 additions and 0 deletions
|
@ -163,6 +163,11 @@ (define* (clang-runtime-from-llvm llvm
|
|||
;; source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__type_traits/is_convertible.h:28:77: error: there are no arguments to ‘__is_convertible’ that depend on a template parameter, so a declaration of ‘__is_convertible’ must be available [-fpermissive]
|
||||
(modify-inputs (package-native-inputs llvm)
|
||||
(prepend gcc-13)))
|
||||
((version>=? version "17")
|
||||
;; clang-17.0.6 doesn't build with gcc-14
|
||||
;; source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:623:30: error: use of built-in trait '__remove_pointer(typename std::__Fuzzer::decay<_Tp>::type)’ in function signature; use library traits instead
|
||||
(modify-inputs (package-native-inputs llvm)
|
||||
(prepend gcc-13)))
|
||||
(else (package-native-inputs llvm))))
|
||||
(inputs
|
||||
(append
|
||||
|
|
Loading…
Reference in a new issue