[LLVMdev] bugpoint question
Reed Kotler
rkotler at mips.com
Fri Nov 22 21:18:53 PST 2013
In that case it tries to do something but fails.
rkotler at ubuntu-rkotler:~/testmips16$
/home/rkotler/llvmw/install/bin/bugpoint casts.bc -llc-safe
--safe-tool-args -target=mips-linux-gnu -mcpu=mips16
-mips16-constant-islands
Read input file : 'casts.bc'
*** All input ok
Initializing execution environment: Found llc:
/home/rkotler/llvmw/install/bin/llc
Running the code generator to test for a crash: <llc>
Generating reference output from raw program: <llc><llc><gcc>
Error running tool:
/usr/bin/gcc -x assembler
bugpoint-test-program-11c4f38.bc-e506eb6.llc.s -x none -o
bugpoint-test-program-11c4f38.bc-e506eb6.llc.s-9c21d3d.gcc.exe -lm -O2
-Wl,-R.
gcc: error: bugpoint-test-program-11c4f38.bc-e506eb6.llc.s: No such file
or directory
*** There is a bug running the "safe" backend. Either debug it (for
example with the -run-jit bugpoint option, if JIT is being used as the
"safe" backend), or fix the error some other way.
*** Debugging code generator crash!
Checking to see if we can delete global inits: <llc>
- Removing all global inits hides problem!
*** Attempting to reduce the number of global variables in the testcase
Checking for crash with only these global variables: .str .str1 .str2
.str3 .str4 .str5 .str6 .str7 .str8 .str9... <40 total>: <llc>
Checking for crash with only these blocks: entry cond.true cond.false
cond.end cond.true9 cond.false12 cond.end13 cond.true20 cond.false24
cond.end25... <20 total>: Cannot find `opt' in PATH!
simplifycfg failed!
On 11/22/2013 07:14 PM, Hal Finkel wrote:
> ----- Original Message -----
>> From: "reed kotler" <rkotler at mips.com>
>> To: LLVMdev at cs.uiuc.edu
>> Sent: Friday, November 22, 2013 8:40:24 PM
>> Subject: [LLVMdev] bugpoint question
>>
>> This is my first time using bugpoint. I'm getting the following
>> error:
>>
>> /home/rkotler/llvmw/install/bin/bugpoint -run-llc casts.bc
>> --tool-args
>> -target mips-linux-gnu -mcpu=mips16 -mips16-constant-islands
>> Read input file : 'casts.bc'
>> *** All input ok
>> Initializing execution environment: Found llc:
>> /home/rkotler/llvmw/install/bin/llc
>> Sorry, I can't automatically select a safe interpreter!
>
> Try using -llc-safe instead of -run-llc. (or specify one of the other "safe" backend options). You may need to specify --safe-tool-args also.
>
> -Hal
>
>>
>> Exiting.
>> rkotler at ubuntu-rkotler:~/testmips16$
>>
>> Any ideas?
>>
>> TIA.
>>
>> Reed
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
More information about the llvm-dev
mailing list