[Llvm-bgq-discuss] Compiling NAMD with bgclang crashes the compiler

Hal Finkel hfinkel at anl.gov
Tue May 27 03:22:56 CDT 2014


Phil,

I just wanted to let you know that I've not forgotten about these...

The "Instruction does not dominate all uses!" errors from ComputeMsm.C are gone in the latest build, so is the "CallGraph Pass Manager" crash from msm_longrng_sprec-75c91a.c.

The crash in the "Machine Loop Invariant Code Motion" is, unfortunately, still present. I'm working on a reduction now.

Do you have an update on the runtime problems you mentioned in your other e-mail?

Thanks again,
Hal

----- Original Message -----
> From: "Phil Miller" <mille121 at illinois.edu>
> To: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Wednesday, May 14, 2014 12:46:01 PM
> Subject: [Llvm-bgq-discuss] Compiling NAMD with bgclang crashes the compiler
> 
> 
> 
> 
> I'm trying to compile NAMD using bgclang, and have encountered
> compiler crashes on three of its source files. These crashes are
> each distinct, and so may provide an interesting looks at lingering
> bugs in the compiler port.
> 
> A summary of the reports is as follows
> ======
> 1. <eof> parser at end of file
> 2. Code generation
> 3. Running pass 'Function Pass Manager' on module 'src/Output.C'.
> 4. Running pass 'Machine Loop Invariant Code Motion' on function
> '@_ZNK7Lattice18wrap_nearest_deltaE6Vector'
> clang: error: unable to execute command: Segmentation fault (core
> dumped)
> clang: error: clang frontend command failed due to signal (use -v to
> see invocation)
> ======
> 1. <eof> parser at end of file
> 2. Per-module optimization passes
> 3. Running pass 'CallGraph Pass Manager' on module
> 'src/msm_longrng_sprec.c'.
> clang: error: unable to execute command: Aborted (core dumped)
> clang: error: clang frontend command failed due to signal (use -v to
> see invocation)
> ======
> Instruction does not dominate all uses!
> %332 = insertelement <4 x float> undef, float %sub183, i32 0, !dbg
> !21275
> %329 = insertelement <4 x float> %332, float %328, i32 1, !dbg !21275
> Instruction does not dominate all uses!
> %539 = insertelement <4 x float> undef, float %sub445, i32 0, !dbg
> !21307
> %536 = insertelement <4 x float> %539, float %535, i32 1, !dbg !21307
> Instruction does not dominate all uses!
> %586 = insertelement <4 x float> undef, float %sub518, i32 0, !dbg
> !21316
> %583 = insertelement <4 x float> %586, float %582, i32 1, !dbg !21316
> fatal error: error in backend: Broken function found, compilation
> aborted!
> clang: error: clang frontend command failed with exit code 70 (use -v
> to see invocation)
> 
> ======
> 
> Full details, including pre-processed source and the compilation
> transcript with the diagnostic output can be found at
> vesta:/home/phil/bgclang-namd-crash.tar
> 
> 
> When I drop '-O3' from the compilation commands, all three files
> compile without any reported error. Whether they're compiled
> correctly or not is undetermined (due to other missing xlc/gcc
> features that NAMD uses, which I'll email about separately).
> 
> _______________________________________________
> 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