Closed yurivict closed 1 year ago
Hi @yurivict, this is an issue that we have also observed ourselves. This comes when you compile phasar with a clang version >14. Then it compiles the LLVM test files for our unittests with that version as well. As phasar is currently set up to support LLVM 14, there is a compatibility issue. There are several ways to resolve this issue:
CC
and CXX
, so, for example: CC=path/to/your/llvm-14/bin/clang CXX=/path/to/your/llvm-14/bin/clang++ cmake -G Ninja ..
PHASAR_BUILD_UNITTESTS
and PHASAR_BUILD_IR
to OFF
, so for example cmake -DPHASAR_BUILD_UNITTESTS=OFF -DPHASAR_BUILD_IR=OFF -G Ninja ..
This issue will be fixed by #516
Bug description
Build fails on FreeBSD 14-CURRENT:
Steps to reproduce
Regular build
Context (Environment)
Operating System:
Build Type:
Possible solution
We are happy to discuss possible solutions to this problem, especially if it origniates from a design flaw.
Example files
Files: