undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44)

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Fri, 16 Jul 2021 07:43:58 UTC
Hi,

I'm also maintaining databases/mongodb44 and this gives undefined symbols since llvm12 (I think).

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

And look for:
ld.lld: error: undefined symbol: __aarch64_ldadd8_acq_rel

There are a bunch of similar symbols not found while linking.
This compiles fine using llvm11 or on amd64.

Any thoughts or suggestions?

Regards,
Ronald.