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: 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.