[LLVMdev] Lots of regtest failures on PPC64/Linux

Krzysztof Parzyszek kparzysz at codeaurora.org
Thu Mar 27 17:08:27 PDT 2014


On 3/26/2014 11:03 PM, Adam Nemet wrote:
>
>
> Could you please run this command manually without piping it into FileCheck and send me the output?

Seems like absence of python and opt in PATH was the problem here:

/usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load 
/usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so 
--compile-custom 
--compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py 
arg1 arg2" --output-prefix 
/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp 
/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll
Read input file      : 
'/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll'
*** All input ok
Initializing execution environment: Found command in: 
/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py
Running the code generator to test for a crash:
Error running tool:
   /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 
/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-c898032.bc
env: python: No such file or directory
*** Debugging code generator crash!
Checking for crash with only these blocks: : Cannot find `opt' in PATH!
simplifycfg failed!


After adding both to PATH:


/usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load 
/usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so 
--compile-custom 
--compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py 
arg1 arg2" --output-prefix 
/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp 
/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll
Read input file      : 
'/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll'
*** All input ok
Initializing execution environment: Found command in: 
/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py
Running the code generator to test for a crash:
Error running tool:
   /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 
/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-3a0bf46.bc
Error: arg1 arg2 
/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-3a0bf46.bc
*** Debugging code generator crash!
Checking for crash with only these blocks: : <crash>
Emitted bitcode to 
'/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-reduced-blocks.bc'

*** Attempting to reduce testcase by deleting instructions: 
Simplification Level #1

*** Attempting to reduce testcase by deleting instructions: 
Simplification Level #0

*** Attempting to perform final cleanups: <crash>
Emitted bitcode to 
'/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-reduced-simplified.bc'


With piping through FileCheck, I get
*** Debugging code generator crash!
<crash>
<crash>
but the return code is 0.


-Krzysztof


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list