guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

228/237: gnu: clang-runtime-18: Build with gcc-13.


From: guix-commits
Subject: 228/237: gnu: clang-runtime-18: Build with gcc-13.
Date: Fri, 24 Jan 2025 11:07:05 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit 4cfa67b01ef71c5d0c57cc4ad9960df5dc2ec7bd
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Dec 14 22:40:14 2024 +0100

    gnu: clang-runtime-18: Build with gcc-13.
    
    Avoid
    
        In file included from 
/tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__exception/nested_exception.h:18,
                         from 
/tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/exception:83,
                         from 
/tmp/guix-build-clang-runtime-18.1.8.drv-0/source/libcxxabi/src/cxa_aux_runtime.cpp:13:
        
/tmp/guix-build-clang-runtime-18.1.8.drv-0/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]
           28 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public 
integral_constant<bool, __is_convertible(_T1, _T2)> {};
    
    by using gcc-13.
    
    * gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-13
    for version 18.
    
    Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
---
 gnu/packages/llvm.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 410e9a89c2..421327784a 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -159,8 +159,10 @@ as \"x86_64-linux\"."
      (cond ((version>=? version "18")
             ;; clang-18.1.8 doesn't build with gcc-14
             ;; 
source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:534:52:
 error: use of built-in trait ‘__remove_pointer(typename 
std::__Fuzzer::decay<_Tp>::type)’ in function signature; use library traits 
instead
+            ;; clang-18.1.8 doesn't build with gcc-12
+            ;; 
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-12)))
+              (prepend gcc-13)))
            (else (package-native-inputs llvm))))
     (inputs
      (append



reply via email to

[Prev in Thread] Current Thread [Next in Thread]