This does not appear to be clang specific, I can reproduce it with GCC>>> referenced by blk-merge.cld.lld: error: undefined symbol: __moddi3
>>> block/blk-merge.o:(ll_back_merge_fn) in archive vmlinux.a
>>> referenced by blk-merge.c
>>> block/blk-merge.o:(ll_back_merge_fn) in archive vmlinux.a
>>> referenced by blk-merge.c
>>> block/blk-merge.o:(bio_attempt_front_merge) in archive vmlinux.a
>>> referenced 3 more times
12.3.0 and the same configuration target.