<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - FAIL: cfi :: cross-dso/dlopen.cpp (27647 of 27652)"
href="https://llvm.org/bugs/show_bug.cgi?id=26345">26345</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FAIL: cfi :: cross-dso/dlopen.cpp (27647 of 27652)
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hjl.tools@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>eugeni.stepanov@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>On Fedora 23/x86-64, I got
FAIL: cfi :: cross-dso/dlopen.cpp (27647 of 27652)
******************** TEST 'cfi :: cross-dso/dlopen.cpp' FAILED
********************
Script:
--
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DSHARED_LIB
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp1-so.so
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp1
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp1
2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp1
cast 2>&1 | FileCheck --check-prefix=CFI-CAST
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp1
dlclose 2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DB32 -DSHARED_LIB
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp2-so.so
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DB32
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp2
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp2
2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp2
cast 2>&1 | FileCheck --check-prefix=CFI-CAST
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp2
dlclose 2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DB64 -DSHARED_LIB
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp3-so.so
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DB64
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp3
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp3
2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp3
cast 2>&1 | FileCheck --check-prefix=CFI-CAST
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp3
dlclose 2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DBM -DSHARED_LIB
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp4-so.so
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DBM
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp4
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp4
2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp4
cast 2>&1 | FileCheck --check-prefix=CFI-CAST
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp4
dlclose 2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-g -DBM -DSHARED_LIB -DNOCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp5-so.so
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-g -DBM -DNOCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-ldl -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp5
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp5
2>&1 | FileCheck --check-prefix=NCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp5
cast 2>&1 | FileCheck --check-prefix=NCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp5
dlclose 2>&1 | FileCheck --check-prefix=NCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-DBM -DSHARED_LIB
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp6-so.so
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DBM
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp6
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp6
2>&1 | FileCheck --check-prefix=NCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp6
cast 2>&1 | FileCheck --check-prefix=NCFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
not --crash
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/Output/dlopen.cpp.tmp6
dlclose 2>&1 | FileCheck --check-prefix=CFI
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp
--
Exit Code: 1
Command Output (stderr):
--
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp:67:45:
warning: GCC does not allow 'aligned' attribute in this position on a function
definition [-Wgcc-compat]
extern "C" void do_nothing() __attribute__((aligned(4096))) {}
^
1 warning generated.
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp:104:10:
error: expected string not found in input
// CFI: =0=
^
<stdin>:1:1: note: scanning from here
dlopen.cpp.tmp1:
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/dlopen.cpp:97:
int main(int, char **): Assertion `handle' failed.
^
--
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 480.33s
********************
Failing Tests (1):
cfi :: cross-dso/dlopen.cpp
Expected Passes : 26735
Expected Failures : 177
Unsupported Tests : 739
Unexpected Failures: 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>