-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Open
Labels
Description
I got 1 failed test on Windows running ninja -v check-bolt
for the current mainline code.
Probably something changed in lld and the test AArch64/veneer-lld-abs.s
needs correction.
******************** TEST 'BOLT :: AArch64/veneer-lld-abs.s' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
d:\build-bolt\bin\llvm-mc.exe -filetype=obj -triple aarch64-unknown-unknown D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o
# executed command: 'd:\build-bolt\bin\llvm-mc.exe' -filetype=obj -triple aarch64-unknown-unknown 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o'
# note: command had no output on stdout or stderr
# RUN: at line 5
d:\build-bolt\bin\clang.exe --target=aarch64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -fno-PIC -no-pie D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe -nostdlib -fuse-ld=lld -Wl,-q
# executed command: 'd:\build-bolt\bin\clang.exe' --target=aarch64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -fno-PIC -no-pie 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.o' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe' -nostdlib -fuse-ld=lld -Wl,-q
# note: command had no output on stdout or stderr
# RUN: at line 7
d:\build-bolt\bin\llvm-objdump.exe -d D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe | d:\build-bolt\bin\filecheck.exe --check-prefix=CHECK-INPUT D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s
# executed command: 'd:\build-bolt\bin\llvm-objdump.exe' -d 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe'
# note: command had no output on stdout or stderr
# executed command: 'd:\build-bolt\bin\filecheck.exe' --check-prefix=CHECK-INPUT 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s'
# note: command had no output on stdout or stderr
# RUN: at line 8
d:\build-bolt\bin\llvm-objcopy.exe --remove-section .rela.mytext D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe
# executed command: 'd:\build-bolt\bin\llvm-objcopy.exe' --remove-section .rela.mytext 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe'
# note: command had no output on stdout or stderr
# RUN: at line 9
d:\build-bolt\bin\llvm-bolt.exe D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt
# executed command: 'd:\build-bolt\bin\llvm-bolt.exe' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt'
# .---command stdout------------
# | BOLT-INFO: Target architecture: aarch64
# | BOLT-INFO: BOLT version: f12e0380be3bd6084ae860090dc027e0281e388e
# | BOLT-INFO: first alloc address is 0x200000
# | BOLT-INFO: creating new program header table at address 0x400000, offset 0x200000
# | BOLT-INFO: enabling relocation mode
# | BOLT-INFO: static input executable detected
# | BOLT-INFO: number of removed linker-inserted veneers: 2
# | BOLT-INFO: 0 out of 5 functions in the binary (0.0%) have non-empty execution profile
# | BOLT-INFO: Starting stub-insertion pass
# | BOLT-INFO: Inserted 0 stubs in the hot area and 0 stubs in the cold area. Shared 0 times, iterated 1 times.
# `-----------------------------
# RUN: at line 10
d:\build-bolt\bin\llvm-objdump.exe -d -j .text D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt | d:\build-bolt\bin\filecheck.exe --check-prefix=CHECK-OUTPUT D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s
# executed command: 'd:\build-bolt\bin\llvm-objdump.exe' -d -j .text 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.bolt'
# note: command had no output on stdout or stderr
# executed command: 'd:\build-bolt\bin\filecheck.exe' --check-prefix=CHECK-OUTPUT 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s'
# note: command had no output on stdout or stderr
# RUN: at line 15
d:\build-bolt\bin\llvm-objcopy.exe --remove-symbol-prefix=\$d D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe
# executed command: 'd:\build-bolt\bin\llvm-objcopy.exe' '--remove-symbol-prefix=\$d' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.exe' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe'
# note: command had no output on stdout or stderr
# RUN: at line 16
d:\build-bolt\bin\llvm-bolt.exe D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe -o D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.bolt 2>&1 | d:\build-bolt\bin\filecheck.exe D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s --check-prefix=CHECK-BOLT
# executed command: 'd:\build-bolt\bin\llvm-bolt.exe' 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.exe' -o 'D:\build-bolt\tools\bolt\test\AArch64\Output\veneer-lld-abs.s.tmp.no-marker.bolt'
# note: command had no output on stdout or stderr
# executed command: 'd:\build-bolt\bin\filecheck.exe' 'D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s' --check-prefix=CHECK-BOLT
# .---command stderr------------
# | D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s:22:15: error: CHECK-BOLT: expected string not found in input
# | # CHECK-BOLT: BOLT-WARNING: missing data marker detected in veneer __AArch64AbsLongThunk_far_function
# | ^
# | <stdin>:1:1: note: scanning from here
# | BOLT-INFO: Target architecture: aarch64
# | ^
# |
# | Input file: <stdin>
# | Check file: D:\llvm-project\bolt\test\AArch64\veneer-lld-abs.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: BOLT-INFO: Target architecture: aarch64
# | check:22 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: BOLT-INFO: BOLT version: f12e0380be3bd6084ae860090dc027e0281e388e
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: BOLT-INFO: first alloc address is 0x200000
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: BOLT-INFO: creating new program header table at address 0x400000, offset 0x200000
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: BOLT-INFO: enabling relocation mode
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: BOLT-INFO: static input executable detected
# | check:22 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1