INFO:2025-03-09T11:57:45Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD d84dc8ff93e9..0f732481accc main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 0f732481accc [clang][bytecode] Fix getting pointer element type in __builtin_memcmp (#130485) INFO:2025-03-09T11:57:49Z:root:syncing... Deleted branch merge (was d84dc8ff93e9). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2025-03-09T11:57:50Z:root:building ninja: Entering directory `out/gn' [1/118] CXX obj/clang/lib/AST/ByteCode/AST.InterpBuiltin.o [2/118] AR lib/libclangAST.a [3/118] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [4/118] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [5/118] LINK ./bin/modularize [6/118] LINK ./bin/pp-trace [7/118] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [8/118] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [9/118] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [10/118] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [11/118] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [12/118] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [13/118] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [14/118] STAMP obj/clang-tools-extra/unittests/unittests.stamp [15/118] LINK ./bin/clang-apply-replacements [16/118] LINK ./bin/clang-include-fixer [17/118] LINK ./bin/clang-doc [18/118] LINK ./bin/clangd [19/118] LINK ./bin/clang-change-namespace [20/118] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [21/118] LINK ./bin/find-all-symbols [22/118] LINK ./bin/dexp [23/118] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [24/118] LINK ./bin/clang-move [25/118] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [26/118] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [27/118] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [28/118] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [29/118] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [30/118] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [31/118] LINK ./bin/clangd-indexer [32/118] LINK ./bin/clang-query [33/118] LINK ./bin/clangd-xpc-test-client [34/118] LINK ./bin/clang-reorder-fields [35/118] LINK ./bin/clang-tidy [36/118] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [37/118] STAMP obj/clang-tools-extra/clangd/test/test.stamp [38/118] LINK obj/clang/unittests/Support/ClangSupportTests [39/118] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [40/118] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [41/118] LINK obj/clang/unittests/InstallAPI/InstallAPITests [42/118] LINK obj/clang/unittests/Format/FormatTests [43/118] LINK obj/clang/unittests/CrossTU/CrossTUTests [44/118] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [45/118] LINK obj/clang/unittests/Index/IndexTests [46/118] LINK obj/clang/unittests/Lex/LexTests [47/118] LINK obj/clang/unittests/Rewrite/RewriteTests [48/118] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [49/118] LINK obj/clang/unittests/Serialization/SerializationTests [50/118] LINK obj/clang/unittests/Sema/SemaTests [51/118] LINK obj/clang/unittests/Frontend/FrontendTests [52/118] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [53/118] LINK obj/clang/unittests/AST/ByteCode/InterpTests [54/118] LINK obj/clang/unittests/Tooling/ToolingTests [55/118] LINK obj/clang/unittests/Driver/ClangDriverTests [56/118] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [57/118] LINK obj/clang/unittests/AST/ASTTests [58/118] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [59/118] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [60/118] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [61/118] SOLINK ./lib/libclang.dylib [62/118] LINK obj/clang/unittests/libclang/libclangTests [63/118] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [64/118] STAMP obj/clang/unittests/unittests.stamp [65/118] LINK ./bin/clang-diff [66/118] LINK ./bin/clang-installapi [67/118] LINK ./bin/diagtool [68/118] LINK ./bin/clang-refactor [69/118] LINK ./bin/clang-scan-deps [70/118] LINK ./bin/clang-extdef-mapping [71/118] LINK ./bin/clang-import-test [72/118] LINK ./bin/c-index-test [73/118] LINK ./bin/clang-check [74/118] LINK ./bin/clang [75/118] LINK ./bin/clang-repl [76/118] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [77/118] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [78/118] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [79/118] STAMP obj/clang/tools/driver/clang-cl.stamp [80/118] STAMP obj/clang/tools/driver/clangxx.stamp [81/118] STAMP obj/clang/tools/driver/clang-cpp.stamp [82/118] STAMP obj/clang/tools/driver/symlinks.stamp [83/118] STAMP obj/clang.stamp [84/118] STAMP obj/clang-tools-extra/test/test.stamp [85/118] STAMP obj/bolt/test/test.stamp [86/118] STAMP obj/clang/test/test.stamp [87/118] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [88/118] STAMP stage2_ios_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [89/118] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [90/118] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [91/118] STAMP stage2_iossim_x64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [92/118] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [93/118] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [94/118] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [95/118] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [96/118] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [97/118] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [98/118] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [99/118] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [100/118] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [101/118] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [102/118] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [103/118] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [104/117] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [105/114] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [106/111] LINK ./bin/lldb-server [107/111] LINK ./bin/lldb-test [108/111] LINK ./bin/lldb-dap [109/111] LINK ./bin/lldb [110/111] STAMP obj/lldb/test/test.stamp [111/111] STAMP obj/default.stamp INFO:2025-03-09T11:58:05Z:root:analyze skipping analyze because previous build was not green INFO:2025-03-09T11:58:05Z:root:testing INFO:2025-03-09T11:58:05Z:root:test check-clang ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:473: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21005 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 546.06s Total Discovered Tests: 46757 Skipped : 35 (0.07%) Unsupported : 114 (0.24%) Passed : 46574 (99.61%) Expectedly Failed: 34 (0.07%) INFO:2025-03-09T12:07:42Z:root:test check-clang-tools ninja: Entering directory `out/gn' [0/2] ACTION //clang-tools-extra/test:check-clang-tools(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 999 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 57.69s Total Discovered Tests: 1423 Unsupported : 3 (0.21%) Passed : 1419 (99.72%) Expectedly Failed: 1 (0.07%) INFO:2025-03-09T12:08:46Z:root:test check-clangd ninja: Entering directory `out/gn' [0/2] ACTION //clang-tools-extra/clangd/test:check-clangd(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 99 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 17.93s Total Discovered Tests: 1371 Unsupported: 7 (0.51%) Passed : 1364 (99.49%) INFO:2025-03-09T12:09:07Z:root:test check-lld ninja: Entering directory `out/gn' [0/2] ACTION //lld/test:check-lld(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:512: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 3067 tests, 8 workers -- Testing: FAIL: lld :: ELF/loongarch-relax-call36-2.s (1 of 3067) ******************** TEST 'lld :: ELF/loongarch-relax-call36-2.s' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 4: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp && split-file /Users/thakis/src/llvm-project/lld/test/ELF/loongarch-relax-call36-2.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp && cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp + split-file /Users/thakis/src/llvm-project/lld/test/ELF/loongarch-relax-call36-2.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp + cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36-2.s.tmp RUN: at line 5: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.o a.s:10:16: error: invalid variant 'plt' call36 ifunc@plt # enable ifunc, not relaxed ^ a.s:11:21: error: invalid variant 'plt' tail36 $t0, ifunc@plt # enable ifunc, not relaxed ^ -- ******************** Testing: FAIL: lld :: ELF/loongarch-relax-call36.s (2 of 3067) ******************** TEST 'lld :: ELF/loongarch-relax-call36.s' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 4: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36.s.tmp && split-file /Users/thakis/src/llvm-project/lld/test/ELF/loongarch-relax-call36.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36.s.tmp && cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36.s.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36.s.tmp + split-file /Users/thakis/src/llvm-project/lld/test/ELF/loongarch-relax-call36.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36.s.tmp + cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/loongarch-relax-call36.s.tmp RUN: at line 6: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.64.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=loongarch64 -mattr=+relax a.s -o a.64.o a.s:4:17: error: invalid variant 'plt' tail36 $t0, a@plt # relaxed. la64: b ^ a.s:15:17: error: invalid variant 'plt' call36 _start@plt # relaxed. la64: bl ^ a.s:16:22: error: invalid variant 'plt' tail36 $t0, _start@plt # relaxed. la64: b ^ a.s:19:17: error: invalid variant 'plt' call36 _start@plt # relaxed. la64: bl ^ a.s:20:22: error: invalid variant 'plt' tail36 $t0, _start@plt # relaxed. la64: b ^ a.s:23:17: error: invalid variant 'plt' call36 _start@plt # exceed range, not relaxed ^ a.s:24:21: error: invalid variant 'plt' tail36 $t0,_start@plt # exceed range, not relaxed ^ -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): lld :: ELF/loongarch-relax-call36-2.s lld :: ELF/loongarch-relax-call36.s Testing Time: 53.99s Total Discovered Tests: 3067 Unsupported : 25 (0.82%) Passed : 3039 (99.09%) Expectedly Failed: 1 (0.03%) Failed : 2 (0.07%) FAILED: gen/lld/test/run-lit python3 bin/llvm-lit -sv ../../lld/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-lld']' returned non-zero exit status 1.