ruki
ruki
Sorry, I forgot it, I will try fix ci in these days.
I have fixed it, but it need xmake dev version.
try 1.4?
这里也是,位置不对
> 这个要在长路径+多中文文件名的情况下才能复现 如果是长路径,其实现在已经是 ansi 了。。长路径会走 file list 作为 args,不走终端命令行。 https://github.com/xmake-io/xmake/blob/2f3f1a02d2e28f77e1da4a7291fe01a0642f2a74/xmake/modules/core/tools/link.lua#L133 https://github.com/xmake-io/xmake/blob/2f3f1a02d2e28f77e1da4a7291fe01a0642f2a74/xmake/core/base/winos.lua#L171
> 我把ansi改成utf-8,它竟然好了,可能要探测一下看看原本输入的编码是什么,否则出现非英文字符可能会出问题 xmake 内部所有字符串都是 utf8,除非是写文件 显式指定了 ansi 。。
不知道,我这边也没换环境复现。。先确认是否只有 lld-link.exe 支持 utf8 不支持 ansi,如果只是这一个特例,那就只能针对它单独处理。
Therefore, use packages from the xmake-repo repository as much as possible.
you can add `-vD` to see verbose logs and debug it. https://github.com/xmake-io/xmake/blob/2b88ba37fa0a9957b8ab24cf1bf6da59e2c39f21/xmake/toolchains/llvm/xmake.lua#L66 or try and wait this patch. https://github.com/xmake-io/xmake/pull/6380
I have improved it. https://github.com/xmake-io/xmake/pull/6471 ``` xmake f -p cross --cross=x86_64-pc-linux-gnu --toolchain=llvm --sdk=C:\xxx\llvm -cvD ``` but std header has been not supported yet