[Llvm-bgq-discuss] Hitting assertion during compilation

Hal Finkel hfinkel at anl.gov
Tue Aug 27 15:32:12 CDT 2013


Dan,

Can you please point me to the source files? (normally, when hitting a crash like this, the compiler produces a preprocessed source file and a build script, do you have those?)

Thanks,
Hal

----- Original Message -----
> Hi,
> 
> I've been using the clang port to blue gene/q for its c++11 features.
> While working on my software today I started to hit an assertion
> during compilation:
> 
> clang:
> /gpfs/vesta-home/hfinkel/src/llvm-trunk/lib/CodeGen/LiveVariables.cpp:133:
> void llvm::LiveVariables::HandleVirtRegUse(unsigned int,
> llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion
> `MRI->getVRegDef(reg) && "Register use before def!"' failed.
> 
> It happens on a number of source files which I believe I was able to
> compile just fine earlier today. I get a back trace and other
> information which I can upload to the mailing list if its useful.
> 
> Did anything change with the installed version of clang today? Please
> let me know how I can help.
> 
> ---
> Dan Schatzberg
> _______________________________________________
> llvm-bgq-discuss mailing list
> llvm-bgq-discuss at lists.alcf.anl.gov
> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-bgq-discuss mailing list