While working on bug #237318 it came to light that Clang always crashes on 13.0-CURRENT@r346346 amd64 when the port databases/clickhouse is compiled with -DENABLE_TESTS=1:
Assertion failed: (getActiveBits() <= 64 && "Too many bits for uint64_t"), function getZExtValue, file /usr/local/poudriere/jails/13Camd64/usr/src/contrib/llvm/include/llvm/
ADT/APInt.h, line 1566.
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0)
Thread model: posix
On 11.2-RELEASE and 12.0-RELEASE the port can be built without problems, even if -DENABLE_TESTS=1 is set.
Created attachment 204080 [details]
gtest_rw_lock-5a4ea8.cpp.gz / Clang diag file #1
Created attachment 204081 [details]
gtest_rw_lock-5a4ea8.sh / Clang diag file #2
MARKED AS SPAM
This should be fixed with the latest update ( 18.104.22.168-stable, https://svnweb.freebsd.org/ports?view=revision&revision=r544323 ).
I think this PR should be closed.
(In reply to olevole from comment #4)
Thank you for the heads-up! I close this PR with "Overcome By Events" then.