/usr/bin/ld: test.o: in function `std.array.arrayAllocImpl!(false, ulong[], ulong).arrayAllocImpl(ulong)':
test.d:(.text._D3std5array__T14arrayAllocImplVbi0TAmTmZQBaFNaNbmZQp[_D3std5array__T14arrayAllocImplVbi0TAmTmZQBaFNaNbmZQp]+0x53): undefined reference to `_d_newarrayUTrace'
collect2: error: ld returned 1 exit status
Error: undefined reference to `_d_newarrayUTrace`
referenced from `pure nothrow ulong[] std.array.arrayAllocImpl!(false, ulong[], ulong).arrayAllocImpl(ulong)`
perhaps a library needs to be added with the `-L` flag or `pragma(lib, ...)`
Error: linker exited with status 1
cc test.o -o test -m64 -Xlinker --export-dynamic -L./dev/dmd/generated/linux/release/64/../../../../../phobos/generated/linux/release/64 -Xlinker -Bstatic -lphobos2 -Xlinker -Bdynamic -lpthread -lm -lrt -ldl
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Originally posted by @0xEAB in #21033
Originally posted by @MrcSnm in #21033