Well, the LDC code is rather straight forward on this: CMakeLists.txt:452 set(LDC_DYNAMIC_COMPILE "AUTO" CACHE STRING "Support dynamic compilation (ON|OFF). Enabled by default; not supported for LLVM >= 12.")
It turns out this is due to the internal ORCv1 API (dropped with LLVM 12) vs ORCv2 (added with LLVM 7). In LDC this is known-disabled since https://github.com/ldc-developers/ldc/commit/d8bc064cfbc766347d563cb139a72d238312bd38#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a This is known upstream https://github.com/ldc-developers/ldc/issues/3747 https://github.com/ldc-developers/ldc/pull/3184 Not a Problem for Debian yet until LLVM>=12 is the default. For now we should be able to get this working by forcing llvm-11-dev ** Bug watch added: github.com/ldc-developers/ldc/issues #3747 https://github.com/ldc-developers/ldc/issues/3747 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1951845 Title: 1.28.0-1 FTBFS in Jammy - libldc-jit.so not built To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ldc/+bug/1951845/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
