Browse Source

Fixed very long warning that was triggering in Ubuntu 24.04 with clang 18

Jorrit Rouwe 1 year ago
parent
commit
47341bcbd2
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Build/CMakeLists.txt
  2. 1 0
      Docs/ReleaseNotes.md

+ 1 - 1
Build/CMakeLists.txt

@@ -215,7 +215,7 @@ function(SET_INTERPROCEDURAL_OPTIMIZATION)
 			set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON PARENT_SCOPE)
 			set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_DISTRIBUTION ON PARENT_SCOPE)
 		else()
-			message(WARNING "Interprocedural optimizations are not supported: ${IPO_CHECK_OUTPUT}")
+			message("Warning: Interprocedural optimizations are not supported for this target, turn off the option INTERPROCEDURAL_OPTIMIZATION to disable this warning")
 		endif()
 	endif()
 endfunction()

+ 1 - 0
Docs/ReleaseNotes.md

@@ -22,6 +22,7 @@ For breaking API changes see [this document](https://github.com/jrouwe/JoltPhysi
 
 ### Bug fixes
 
+* Fixed clang-18 warning "LLVMgold.so: error loading plugin ... cannot open shared object file: No such file or directory", due to https://github.com/llvm/llvm-project/issues/84271 it currently doesn't support LTO.
 * When calling CharacterVirtual::SetShape, a collision with a sensor would cause the function to abort as if the character was in collision.
 * Fixed bug where the the skinned position of a soft body would update in the first sub-iteration, causing a large velocity spike and jittery behavior.
 * Fixed bug where the velocity of soft body vertices would increase indefinitely when resting on the back stop of a skinned constraint.