digitalmars.D.announce - LDC 1.39.0-beta1
Glad to announce the first beta for LDC 1.39. Major changes: * Based on D 2.109.0. * LLVM for prebuilt packages bumped to v18.1.6. * Support for LLVM 11-14 was dropped. The CLI options `-passmanager` and `-opaque-pointers` were removed. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.39.0-beta1 Please help test, and thanks to all contributors & sponsors!
Jun 03
On Monday, 3 June 2024 at 19:42:42 UTC, kinke wrote:Glad to announce the first beta for LDC 1.39. Major changes: * Based on D 2.109.0. * LLVM for prebuilt packages bumped to v18.1.6. * Support for LLVM 11-14 was dropped. The CLI options `-passmanager` and `-opaque-pointers` were removed. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.39.0-beta1 Please help test, and thanks to all contributors & sponsors!1.38.0 work fine with `-mtriple=x86_64-w64-mingw32 -march=x86-64` from linux. v1.39.0-beta1 throw this error: ```sh call void __assert_fail(ptr .str, ptr .str.8, i32 8860, ptr Incorrect number of arguments passed to called function! call void __assert_fail(ptr .str.23, ptr .str.8, i32 8858, LLVM ERROR: Broken module found, compilation aborted! llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/ldc2/bin/ldc2+0x6dcb697) (/usr/local/ldc2/bin/ldc2+0x6dc948c) ./nptl/pthread_kill.c:44:76 ./signal/../sysdeps/posix/raise.c:27:6 const&, bool) (/usr/local/ldc2/bin/ldc2+0x6d34372) llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) ld-temp.o:0:0 llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/usr/local/ldc2/bin/ldc2+0x6b9a214) (/usr/local/ldc2/bin/ldc2+0x70a1696) (/usr/local/ldc2/bin/ldc2+0x713100e) ldc::CodeGenerator::writeAndFreeLLModule(char const*) (/usr/local/ldc2/bin/ldc2+0x71300da) (/usr/local/ldc2/bin/ldc2+0x7130b47) (/usr/local/ldc2/bin/ldc2+0x3b6f238) (/usr/local/ldc2/bin/ldc2+0x3b0dae1) (/usr/local/ldc2/bin/ldc2+0x3b72de0) _D2rt6dmain212_d_run_main2UAAamPUQgZiZ6runAllMFZv (/usr/local/ldc2/bin/ldc2+0x72eb63d) (/usr/local/ldc2/bin/ldc2+0x72eb418) (/usr/local/ldc2/bin/ldc2+0x72eb22d) ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3 ./csu/../csu/libc-start.c:347:5 Error: Error executing /usr/local/ldc2/bin/ldc2: Aborted ```
Jun 03