Thanks for the feedback. I updated the druntime and got a new error.
FAILED: runtime/objects-unittest/core/simd.o
cd /usr/xports/tmp/ldc-1.23.0-src/runtime/druntime/src && /usr/xports/tmp/build-ldc-1.23.0/bin/ldc2 -c --output-o -conf= -w -de -dip1000 -O3 -release -d-version=CoreUnittest -unittest -checkaction=context -preview=fieldwise -I/usr/xports/tmp/ldc-1.23.0-src/runtime/druntime/src -of=/usr/xports/tmp/build-ldc-1.23.0/runtime/objects-unittest/core/simd.o core/simd.d
Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone readonly signext sret zeroext byval dereferenceable(1) dereferenceable_or_null(1)
%11 = call signext <16 x i8> @_D3ldc4simd__T13loadUnalignedTNhG16gZQxFNaNbNiNexPNhQuZQz(<16 x i8>* %10) #1
in function _D4core4simd18__unittest_L615_C5FNaNbNiZ__T4testTNhG16gZQnMFNaNbNiZv
LLVM ERROR: Broken function found, compilation aborted!
In fact it's the same error I get when I build and test the current master (
https://github.com/ldc-developers/ldc.git). However, if I remove (comment out) the two "@system" unittest in core/simd.d, I'm able to build "druntime-test-runner" and other test apps and complete the unittests with 50 failures out of 1688. I've attached the failed test log.