Assertion failed since clang12 (mongodb42)

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Fri, 16 Jul 2021 09:39:50 +0200 (CEST)
Hi,

I'm maintaining some databases/mongodb* ports.
On aarch64/14-CURRENT they started failing since the llvm/clang12 update.

See: http://www.ipv6proxy.net/go.php?u=http://ampere2.nyi.freebsd.org/data/main-arm64-default/pf44e1c1de734_s63ca9ea4f3/logs/errors/mongodb42-4.2.14.log

And look for:
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /usr/local/poudriere/jails/main-arm64/usr/src/contrib/llvm-project/llvm/include/llvm/Support/Casting.h, line 269.


This does not happen with LLVM 11 or on AMD64.
Can anybody point me in the right direction for fixing this?

Regards,
Ronald.

 
Received on Fri Jul 16 2021 - 07:39:50 UTC

Original text of this message