Closed as not planned
Description
As described in the title, it would be the error referring to trying to link using ld.lld
, unlike other platforms.
This was a test with Zig (LLVM 15.0.7) toolchain.
https://gist.github.com/kassane/7e9a2da137e13eb6e1dbab726693bdb7
$ zig c++ -std=c++20 -fmodules -fbuiltin-module-map -fmodules-ts -Xclang -emit-module-interface -c moduleTest.cpp -o moduleTest.pcm
LLD Link... ld.lld: error: /home/kassane/.cache/zig/o/ec639bf9d5e7c589c4e222dd65d28017/moduleTest.o:995: unclosed quote
Fix:
$ cp $(zig c++ -std=c++20 -fmodules -fbuiltin-module-map -fmodules-ts -Xclang -emit-module-interface -c moduleTest.cpp -o moduleTest.pcm 2>&1 | grep "ld.lld: error" | sed 's/.*error: \(.*\):[0-9]\+.*/\1/g') moduleTest.pcm