Hello !
I built my C library with -flto=full flag, and i pass -flto=full to ldc too.
But on the link stage i get this error:
ld.lld: error: unified LTO compilation must use compatible bitcode modules (use -funified-lto)
Any way ldc supports unified lto ?
I checked that i do not pass -funified-lto to clang and there's no option in ld.lld to disable unified lto.
Hello !
I built my C library with
-flto=fullflag, and i pass-flto=fullto ldc too.But on the link stage i get this error:
ld.lld: error: unified LTO compilation must use compatible bitcode modules (use -funified-lto)Any way ldc supports unified lto ?
I checked that i do not pass
-funified-ltoto clang and there's no option inld.lldto disable unified lto.