pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/llvm



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Tue Jul  2 18:14:26 UTC 2024

Modified Files:
        pkgsrc/lang/llvm: distinfo
Added Files:
        pkgsrc/lang/llvm/patches:
            patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp

Log Message:
Fix build failure on Linux


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/llvm/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/llvm/patches/patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/llvm/distinfo
diff -u pkgsrc/lang/llvm/distinfo:1.43 pkgsrc/lang/llvm/distinfo:1.44
--- pkgsrc/lang/llvm/distinfo:1.43      Mon Apr 22 06:52:42 2024
+++ pkgsrc/lang/llvm/distinfo   Tue Jul  2 18:14:26 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.43 2024/04/22 06:52:42 adam Exp $
+$NetBSD: distinfo,v 1.44 2024/07/02 18:14:26 cheusov Exp $
 
 BLAKE2s (cmake-17.0.6.src.tar.xz) = 582f437814c47608b5a8e97e32b602103684755251f75c1b176d595db997ce1b
 SHA512 (cmake-17.0.6.src.tar.xz) = b2c5e404ca36542d44e1a7f2801bbcecbcf5f1e8c63b793bb2308228483406bdfe002720aadb913c0228cd2bbe5998465eaadc4a49fad6a5eb6ff907fa5fd45a
@@ -15,5 +15,6 @@ SHA1 (patch-cmake_modules_AddLLVM.cmake)
 SHA1 (patch-include_llvm-c_DataTypes.h) = ff547cae5bdf90c5a1371b9eb196e7537a03b18d
 SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 0a8db4d876b749dd492fced6fbc8c4faf3ff2450
 SHA1 (patch-lib_Support_BLAKE3-blake3__impl.h) = 29624dc764c747b247dbde19e9d186a853b59134
+SHA1 (patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp) = a769f1533a136f9c50630e3219cafbf005e4e4e1
 SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 6ecb1623a9da13a8b4121cfbead1fd6ca7dfdee4
 SHA1 (patch-utils_llvm-lit_CMakeLists.txt) = 8b18659fe7189c9077b0409e123d41c01e8c8610

Added files:

Index: pkgsrc/lang/llvm/patches/patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp
diff -u /dev/null pkgsrc/lang/llvm/patches/patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp:1.1
--- /dev/null   Tue Jul  2 18:14:26 2024
+++ pkgsrc/lang/llvm/patches/patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp   Tue Jul  2 18:14:26 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_Target_CSKY_MCTargetDesc_CSKYMCCodeEmitter.cpp,v 1.1 2024/07/02 18:14:26 cheusov Exp $
+
+Fix build failure on Linux caused by -Werror=return-type
+
+https://github.com/llvm/llvm-project/issues/97456
+
+--- lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.cpp~        2023-11-28 08:52:28.000000000 +0000
++++ lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.cpp 2024-07-01 21:55:32.992601162 +0000
+@@ -297,7 +297,7 @@
+   else if (MI.getOperand(Idx).getImm() == 40)
+     return 3;
+   else
+-    assert(0);
++    abort();
+ }
+ 
+ MCFixupKind CSKYMCCodeEmitter::getTargetFixup(const MCExpr *Expr) const {



Home | Main Index | Thread Index | Old Index