phuang wrote: I still cannot repro the problem locally, but base on th log in http://45.33.8.238/linux/155432/step_6.txt . Looks like clang tries to search runtime library at "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a" (It is the OldPath in https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChain.cpp#L771). Not sure why the file does exist on the gn bot. Maybe it is not a clean build. I workarounded the problem by adding "-ohos" suffix in the runtime library like android.
@kpdev @nico , could you please take a look the new PR https://github.com/llvm/llvm-project/pull/120159 Thanks. https://github.com/llvm/llvm-project/pull/118192 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits