'/lib/swift/linux/x86_64/swiftrt.o', needed by 'lib/libswiftDemangle.so', missing when building swift from source

This is a different issue, with a likely different cause. What is the failing command you see exactly, if you remove that symlink?

@unwrapped_monad, did you ever figure out your issue?