Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Failed cfi tests on new Windows 32bit MSVC buildbot #46729

Open Quuxplusone opened 4 years ago

Quuxplusone commented 4 years ago
Bugzilla Link PR47760
Status NEW
Importance P normal
Reported by Christian Kühnel (kuhnel@google.com)
Reported on 2020-10-07 23:38:39 -0700
Last modified on 2020-10-07 23:39:13 -0700
Version unspecified
Hardware PC Windows 2000
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

When setting up a new 32bit WIndows buildbot with MSVC, I noticed a few of the cfi tests are failing. The buildbot is currently in staging as I want to resolve the failing tests before moving it to production.

http://lab.llvm.org:8014/#/builders/27

Quuxplusone commented 4 years ago
******************** TEST 'cfi-standalone-lld-i386 :: stats.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1';      Q:/clang-x86-ninja-win10/stage1/./bin/clang.exe    -
fuse-ld=lld -flto  -fsanitize=cfi  -fvisibility=hidden -gline-tables-only -
gcodeview -gcolumn-info -fsanitize-stats -o C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-
i386\Output\stats.cpp.tmp C:\volumes\buildbot\clang-x86-ninja-
win10\llvm\compiler-rt\test\cfi\stats.cpp
: 'RUN: at line 2';   env SANITIZER_STATS_PATH=C:\volumes\buildbot\clang-x86-
ninja-win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-
i386\Output\stats.cpp.tmp.stats  C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-i386\Output\stats.cpp.tmp
: 'RUN: at line 3';   sanstats C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-
i386\Output\stats.cpp.tmp.stats | FileCheck C:\volumes\buildbot\clang-x86-ninja-
win10\llvm\compiler-rt\test\cfi\stats.cpp
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "Q:/clang-x86-ninja-win10/stage1/./bin/clang.exe" "-fuse-ld=lld" "-flto" "-
fsanitize=cfi" "-fvisibility=hidden" "-gline-tables-only" "-gcodeview" "-
gcolumn-info" "-fsanitize-stats" "-o" "C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-
i386\Output\stats.cpp.tmp" "C:\volumes\buildbot\clang-x86-ninja-
win10\llvm\compiler-rt\test\cfi\stats.cpp"
$ ":" "RUN: at line 2"
$ "env" "SANITIZER_STATS_PATH=C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-
i386\Output\stats.cpp.tmp.stats" "C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-i386\Output\stats.cpp.tmp"
$ ":" "RUN: at line 3"
$ "sanstats" "C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-i386\Output\stats.cpp.tmp.stats"
$ "FileCheck" "C:\volumes\buildbot\clang-x86-ninja-win10\llvm\compiler-
rt\test\cfi\stats.cpp"
# command stderr:
C:\volumes\buildbot\clang-x86-ninja-win10\llvm\compiler-
rt\test\cfi\stats.cpp:19:12: error: CHECK: expected string not found in input

 // CHECK: stats.cpp:[[@LINE+1]] {{_?}}vcall cfi-vcall 37

           ^

<stdin>:1:1: note: scanning from here

<error> 'C:\volumes\buildbot\clang-x86-ninja-win10\stage1\projects\compiler-
rt\test\cfi\Standalone-lld-i386\Output\stats.cpp.pdb': An unknown error has
occurred. HRESULT: 0x8007007E: Calling NoRegCoCreate

^

<stdin>:1:1: note: with "@LINE+1" equal to "20"

<error> 'C:\volumes\buildbot\clang-x86-ninja-win10\stage1\projects\compiler-
rt\test\cfi\Standalone-lld-i386\Output\stats.cpp.pdb': An unknown error has
occurred. HRESULT: 0x8007007E: Calling NoRegCoCreate

^

<stdin>:3:22: note: possible intended match here

0x0000000000401120 <invalid>:0 <invalid> cfi-nvcall 51

                     ^

Input file: <stdin>

Check file: C:\volumes\buildbot\clang-x86-ninja-win10\llvm\compiler-
rt\test\cfi\stats.cpp

-dump-input=help explains the following input dump.

Input was:

<<<<<<

            1: <error> 'C:\volumes\buildbot\clang-x86-ninja-win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-i386\Output\stats.cpp.pdb': An unknown error has occurred. HRESULT: 0x8007007E: Calling NoRegCoCreate

check:19'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found

check:19'1
with "@LINE+1" equal to "20"

            2: cfi-vcall 37

check:19'0     ~~~~~~~~~~~~

            3: 0x0000000000401120 <invalid>:0 <invalid> cfi-nvcall 51

check:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

check:19'2                          ?                                 possible
intended match

            4: 0x000000000040118e <invalid>:0 <invalid> cfi-derived-cast 24

check:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            5: 0x00000000004011d4 <invalid>:0 <invalid> cfi-unrelated-cast 81

check:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>>>>

error: command failed with exit status: 1

--

********************
Quuxplusone commented 4 years ago
******************** TEST 'cfi-standalone-lld-thinlto-i386 :: stats.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1';      Q:/clang-x86-ninja-win10/stage1/./bin/clang.exe    -
fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -gline-tables-only -
gcodeview -gcolumn-info -fsanitize-stats -o C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-
i386\Output\stats.cpp.tmp C:\volumes\buildbot\clang-x86-ninja-
win10\llvm\compiler-rt\test\cfi\stats.cpp
: 'RUN: at line 2';   env SANITIZER_STATS_PATH=C:\volumes\buildbot\clang-x86-
ninja-win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-
i386\Output\stats.cpp.tmp.stats  C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-i386\Output\stats.cpp.tmp
: 'RUN: at line 3';   sanstats C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-
i386\Output\stats.cpp.tmp.stats | FileCheck C:\volumes\buildbot\clang-x86-ninja-
win10\llvm\compiler-rt\test\cfi\stats.cpp
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "Q:/clang-x86-ninja-win10/stage1/./bin/clang.exe" "-fuse-ld=lld" "-flto=thin"
"-fsanitize=cfi" "-fvisibility=hidden" "-gline-tables-only" "-gcodeview" "-
gcolumn-info" "-fsanitize-stats" "-o" "C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-
i386\Output\stats.cpp.tmp" "C:\volumes\buildbot\clang-x86-ninja-
win10\llvm\compiler-rt\test\cfi\stats.cpp"
$ ":" "RUN: at line 2"
$ "env" "SANITIZER_STATS_PATH=C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-
i386\Output\stats.cpp.tmp.stats" "C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-i386\Output\stats.cpp.tmp"
$ ":" "RUN: at line 3"
$ "sanstats" "C:\volumes\buildbot\clang-x86-ninja-
win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-i386\Output\stats.cpp.tmp.stats"
$ "FileCheck" "C:\volumes\buildbot\clang-x86-ninja-win10\llvm\compiler-
rt\test\cfi\stats.cpp"
# command stderr:
C:\volumes\buildbot\clang-x86-ninja-win10\llvm\compiler-
rt\test\cfi\stats.cpp:19:12: error: CHECK: expected string not found in input

 // CHECK: stats.cpp:[[@LINE+1]] {{_?}}vcall cfi-vcall 37

           ^

<stdin>:1:1: note: scanning from here

<error> 'C:\volumes\buildbot\clang-x86-ninja-win10\stage1\projects\compiler-
rt\test\cfi\Standalone-lld-thinlto-i386\Output\stats.cpp.pdb': An unknown error
has occurred. HRESULT: 0x8007007E: Calling NoRegCoCreate

^

<stdin>:1:1: note: with "@LINE+1" equal to "20"

<error> 'C:\volumes\buildbot\clang-x86-ninja-win10\stage1\projects\compiler-
rt\test\cfi\Standalone-lld-thinlto-i386\Output\stats.cpp.pdb': An unknown error
has occurred. HRESULT: 0x8007007E: Calling NoRegCoCreate

^

<stdin>:3:22: note: possible intended match here

0x0000000000401110 <invalid>:0 <invalid> cfi-nvcall 51

                     ^

Input file: <stdin>

Check file: C:\volumes\buildbot\clang-x86-ninja-win10\llvm\compiler-
rt\test\cfi\stats.cpp

-dump-input=help explains the following input dump.

Input was:

<<<<<<

            1: <error> 'C:\volumes\buildbot\clang-x86-ninja-win10\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-i386\Output\stats.cpp.pdb': An unknown error has occurred. HRESULT: 0x8007007E: Calling NoRegCoCreate

check:19'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found

check:19'1
with "@LINE+1" equal to "20"

            2: cfi-vcall 37

check:19'0     ~~~~~~~~~~~~

            3: 0x0000000000401110 <invalid>:0 <invalid> cfi-nvcall 51

check:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

check:19'2                          ?                                 possible
intended match

            4: 0x000000000040117e <invalid>:0 <invalid> cfi-derived-cast 24

check:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            5: 0x00000000004011c4 <invalid>:0 <invalid> cfi-unrelated-cast 81

check:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>>>>

error: command failed with exit status: 1

--

********************