[llvm-bugs] [Bug 26345] New: FAIL: cfi :: cross-dso/dlopen.cpp (27647 of 27652)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 27 12:04:03 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26345

            Bug ID: 26345
           Summary: FAIL: cfi :: cross-dso/dlopen.cpp (27647 of 27652)
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: eugeni.stepanov at gmail.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160127/6fd3624d/attachment.html>


More information about the llvm-bugs mailing list