[LLVMbugs] [Bug 15242] New: bugpoint fails checks when compiled with cmake+sharedlibs+debug

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 12 01:51:53 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15242

            Bug ID: 15242
           Summary: bugpoint fails checks when compiled with
                    cmake+sharedlibs+debug
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: bugpoint
          Assignee: unassignedbugs at nondot.org
          Reporter: arnaud.adegm at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The fails only happen when the build is configured with debug _and_ shared
libs.

This is not a spurious failure as it as been reproducable for several monthes.


$ gcc --version
gcc (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3

$ cmake --version
cmake version 2.8.9

$ git clone http://llvm.org/git/llvm.git llvm.git
...
$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_SHARED_LIBS:BOOL=1
-DLLVM_TARGETS_TO_BUILD:STRING=X86 ../llvm.git
...
$ make -j4 && make check-llvm
...
[100%] Running the LLVM regression tests
FAIL: LLVM :: BugPoint/crash-narrowfunctiontest.ll (394 of 7306)
******************** TEST 'LLVM :: BugPoint/crash-narrowfunctiontest.ll' FAILED
********************
Script:
--
/home/local/aadgrand/tmp/build/bin/./bugpoint -load
/home/local/aadgrand/tmp/build/lib/./BugpointPasses.so
/home/local/aadgrand/tmp/llvm.git/test/BugPoint/crash-narrowfunctiontest.ll
-output-prefix
/home/local/aadgrand/tmp/build/test/BugPoint/Output/crash-narrowfunctiontest.ll.tmp
-bugpoint-crashcalls -silence-passes > /dev/null
--
Exit Code: 1
Command Output (stderr):
--
simplifycfg failed!
--

********************
FAIL: LLVM :: BugPoint/metadata.ll (509 of 7306)
******************** TEST 'LLVM :: BugPoint/metadata.ll' FAILED
********************
Script:
--
/home/local/aadgrand/tmp/build/bin/./bugpoint -load
/home/local/aadgrand/tmp/build/lib/./BugpointPasses.so
/home/local/aadgrand/tmp/llvm.git/test/BugPoint/metadata.ll -output-prefix
/home/local/aadgrand/tmp/build/test/BugPoint/Output/metadata.ll.tmp
-bugpoint-crashcalls -silence-passes > /dev/null
/home/local/aadgrand/tmp/build/bin/./llvm-dis
/home/local/aadgrand/tmp/build/test/BugPoint/Output/metadata.ll.tmp-reduced-simplified.bc
-o - | /home/local/aadgrand/tmp/build/bin/./FileCheck
/home/local/aadgrand/tmp/llvm.git/test/BugPoint/metadata.ll
--
Exit Code: 1
Command Output (stderr):
--
simplifycfg failed!
--

********************
FAIL: LLVM :: BugPoint/remove_arguments_test.ll (510 of 7306)
******************** TEST 'LLVM :: BugPoint/remove_arguments_test.ll' FAILED
********************
Script:
--
/home/local/aadgrand/tmp/build/bin/./bugpoint -load
/home/local/aadgrand/tmp/build/lib/./BugpointPasses.so
/home/local/aadgrand/tmp/llvm.git/test/BugPoint/remove_arguments_test.ll
-output-prefix
/home/local/aadgrand/tmp/build/test/BugPoint/Output/remove_arguments_test.ll.tmp
-bugpoint-crashcalls -silence-passes
/home/local/aadgrand/tmp/build/bin/./llvm-dis
/home/local/aadgrand/tmp/build/test/BugPoint/Output/remove_arguments_test.ll.tmp-reduced-simplified.bc
-o - | /home/local/aadgrand/tmp/build/bin/./FileCheck
/home/local/aadgrand/tmp/llvm.git/test/BugPoint/remove_arguments_test.ll
--
Exit Code: 1
Command Output (stdout):
--
Read input file      :
'/home/local/aadgrand/tmp/llvm.git/test/BugPoint/remove_arguments_test.ll'
*** All input ok
Running selected passes on program to test for crash: Execute failed: Program
could not be executed
Dumped core

*** Debugging optimizer crash!
Checking to see if these passes crash: -bugpoint-crashcalls: Execute failed:
Program could not be executed
Dumped core

*** Found crashing pass: -bugpoint-crashcalls
Emitted bitcode to
'/home/local/aadgrand/tmp/build/test/BugPoint/Output/remove_arguments_test.ll.tmp-passes.bc'

*** You can reproduce the problem with: opt
/home/local/aadgrand/tmp/build/test/BugPoint/Output/remove_arguments_test.ll.tmp-passes.bc
-load /home/local/aadgrand/tmp/build/lib/./BugpointPasses.so
-bugpoint-crashcalls
Checking for crash with only these blocks: : --
Command Output (stderr):
--
simplifycfg failed!
--

********************
Testing Time: 42.64s
********************
Failing Tests (3):
    LLVM :: BugPoint/crash-narrowfunctiontest.ll
    LLVM :: BugPoint/metadata.ll
    LLVM :: BugPoint/remove_arguments_test.ll

  Expected Passes    : 5279
  Expected Failures  : 28
  Unsupported Tests  : 1996
  Unexpected Failures: 3
make[3]: *** [test/CMakeFiles/check-llvm] Error 1
make[2]: *** [test/CMakeFiles/check-llvm.dir/all] Error 2
make[1]: *** [test/CMakeFiles/check-llvm.dir/rule] Error 2
make: *** [check-llvm] Error 2

-- 
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/20130212/fa5cbdd2/attachment.html>


More information about the llvm-bugs mailing list