Closed llvmbot closed 10 years ago
This doesn't seem to be a problem with newer versions of clang.
LEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.c clang: note: diagnostic msg: /var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.sh clang: note: diagnostic msg:
/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.sh is still:
"/opt/local/libexec/llvm-3.4/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -disable-free -main-file-name phg_coarse.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 136 -gdwarf-2 -sys-header-deps -D "HAVE_CONFIG_H" -D "AUTOTOOLS_BUILD" -O2 -ferror-limit 19 -fmessage-length 125 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -x c phg_coarse-d7092c.c
If I have time I'll browse through the Apple license to see if I can attach phg_coarse-d7092c.c here.
LEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.c clang: note: diagnostic msg: /var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.sh clang: note: diagnostic msg:
Extended Description
Steps to reproduce: compile openmpi-1.7.3 with clang 3.4 from macports then try to compile zoltan-3.8 after configuring with: ../Zoltan_v3.8/configure --prefix=... --enable-mpi --with-mpi-compilers --with-gnumake --with-id-type=ullong
... Making all in src Making all in . /Users/iljah/libraries/clang-3.4/openmpi-1.7.3/bin/mpicc -DHAVE_CONFIG_H -I. -I../../Zoltan_v3.8/src -I../src/include -I/Users/iljah/Ohjelmat/zoltan-build/src/include -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/include -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/all -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/coloring -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/ha -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/hier -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/hsfc -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/lb -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/oct -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/order -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/par -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/params -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/tpls -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/ccolamd -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/phg -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/rcb -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/reftree -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/timer -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/Utilities/Communication -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/Utilities/Timer -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/Utilities/DDirectory -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/Utilities/Memory -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/Utilities/shared -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/zz -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/graph -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/matrix -I/Users/iljah/Ohjelmat/zoltan-build/../Zoltan_v3.8/src/simple -DAUTOTOOLS_BUILD -g -O2 -MT phg_coarse.o -MD -MP -MF .deps/phg_coarse.Tpo -c -o phg_coarse.o
test -f '../../Zoltan_v3.8/src/phg/phg_coarse.c' || echo '../../Zoltan_v3.8/src/'
../../Zoltan_v3.8/src/phg/phg_coarse.c Instruction does not dominate all uses! %arrayidx1050 = getelementptr inbounds double %368, i64 %indvars.iv3136, !dbg !1433 %bound13263 = icmp ule double %arrayidx1050, %scevgep3259 Instruction does not dominate all uses! %arrayidx1050 = getelementptr inbounds double %368, i64 %indvars.iv3136, !dbg !1433 %bound03262 = icmp ule double %scevgep3256, %arrayidx1050 Broken module found, compilation aborted! 0 libLLVM-3.4.dylib 0x0000000104d29388 llvm::sys::PrintStackTrace(__sFILE) + 40 1 libLLVM-3.4.dylib 0x0000000104d29884 SignalHandler(int) + 548 2 libsystem_platform.dylib 0x00007fff953c15aa _sigtramp + 26 3 libsystem_platform.dylib 0x0000000000003c00 _sigtramp + 1791239792 4 libLLVM-3.4.dylib 0x0000000104d29646 abort + 22 5 libLLVM-3.4.dylib 0x00000001046b5066 (anonymous namespace)::Verifier::abortIfBroken() + 550 6 libLLVM-3.4.dylib 0x00000001046b4ae8 (anonymous namespace)::Verifier::runOnFunction(llvm::Function&) + 1864 7 libLLVM-3.4.dylib 0x000000010469190b llvm::FPPassManager::runOnFunction(llvm::Function&) + 347 8 libLLVM-3.4.dylib 0x0000000104691b9b llvm::FPPassManager::runOnModule(llvm::Module&) + 43 9 libLLVM-3.4.dylib 0x0000000104692179 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1081 10 libLLVM-3.4.dylib 0x000000010469258d llvm::legacy::PassManager::run(llvm::Module&) + 13 11 clang 0x0000000102cea2ce clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module, clang::BackendAction, llvm::raw_ostream) + 5694 12 clang 0x0000000102df1117 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 455 13 clang 0x0000000102e44984 clang::ParseAST(clang::Sema&, bool, bool) + 516 14 clang 0x0000000102deffaa clang::CodeGenAction::ExecuteAction() + 122 15 clang 0x0000000102b913a6 clang::FrontendAction::Execute() + 134 16 clang 0x0000000102b6bc1d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973 17 clang 0x0000000102b33c84 clang::ExecuteCompilerInvocation(clang::CompilerInstance) + 4276 18 clang 0x0000000102b2ba83 cc1_main(char const, char const, char const, void) + 835 19 clang 0x0000000102b2ff92 main + 1138 20 libdyld.dylib 0x00007fff8fe595fd start + 1 Stack dump:PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.c clang: note: diagnostic msg: /var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/phg_coarse-d7092c.sh clang: note: diagnostic msg:
make[2]: [phg_coarse.o] Error 254 make[1]: [all-recursive] Error 1 make: *** [all-recursive] Error 1
Compilation script has: "/opt/local/libexec/llvm-3.4/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -disable-free -main-file-name phg_coarse.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 136 -gdwarf-2 -sys-header-deps -D "HAVE_CONFIG_H" -D "AUTOTOOLS_BUILD" -O2 -ferror-limit 19 -fmessage-length 125 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -x c phg_coarse-d7092c.c
The preprocessed c file has: "This file contains Original Code and/or Modifications of Original Code
Zoltan is available at http://www.cs.sandia.gov/~kddevin/Zoltan_Distributions/zoltan_distrib_v3.8.tar.gz