INFO:2025-03-09T09:33:25Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 99d2b3b0aa13..6fbe491e1776 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 6fbe491e1776 [lld][LoongArch] Relax call36/tail36: R_LARCH_CALL36 (#123576) INFO:2025-03-09T09:33:30Z:root:syncing... Deleted branch merge (was 99d2b3b0aa13). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2025-03-09T09:33:31Z:root:building ninja: Entering directory `out/gn' [1/46] CXX obj/lld/ELF/Arch/ELF.LoongArch.o [2/46] AR lib/liblldELF.a [3/46] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [4/46] LINK ./bin/lld [5/46] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [6/46] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [7/46] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [8/46] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [9/46] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [10/46] STAMP obj/lld/tools/lld/ld64.lld.stamp [11/46] STAMP obj/lld/unittests/unittests.stamp [12/46] STAMP obj/lld/tools/lld/wasm-ld.stamp [13/46] STAMP obj/lld/tools/lld/ld.lld.stamp [14/46] STAMP obj/lld/tools/lld/lld-link.stamp [15/46] STAMP obj/lld/tools/lld/symlinks.stamp [16/46] STAMP obj/lld/test/test.stamp [17/46] STAMP obj/lldb/test/test.stamp [18/46] STAMP obj/bolt/test/test.stamp [19/46] STAMP obj/lld.stamp [20/46] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [21/46] STAMP stage2_iossim_x64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [22/46] STAMP stage2_ios_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [23/46] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [24/46] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [25/46] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [26/46] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [27/46] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [28/46] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [29/46] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [30/46] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [31/46] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [32/46] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [33/46] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [34/46] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [35/46] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [36/46] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [37/45] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [38/42] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [39/39] STAMP obj/default.stamp INFO:2025-03-09T09:33:36Z:root:analyze gn analyze output: { "compile_targets": [], "status": "Found dependency", "test_targets": [ "//lld/test:check-lld" ] } gn analyze input: { "files": [ "//lld/ELF/Arch/LoongArch.cpp", "//lld/test/ELF/loongarch-relax-call36-2.s", "//lld/test/ELF/loongarch-relax-call36.s", "//lld/test/ELF/loongarch-relax-emit-relocs.s" ], "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//lld/test:check-lld", "//llvm/test:check-llvm" ], "additional_compile_targets": [] } INFO:2025-03-09T09:33:36Z:root:testing INFO:2025-03-09T09:33:36Z:root:skip check-clang INFO:2025-03-09T09:33:36Z:root:skip check-clang-tools INFO:2025-03-09T09:33:36Z:root:skip check-clangd INFO:2025-03-09T09:33:36Z: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: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: lld :: ELF/loongarch-relax-call36-2.s (3066 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: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: lld :: ELF/loongarch-relax-call36.s (3067 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: 55.48s 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.