[Llvm-bgq-discuss] trouble with clang on BGQ IO nodes
Biddiscombe, John A.
biddisco at cscs.ch
Tue Mar 25 08:13:02 CDT 2014
Greetings
I discovered today that the clang I was using was not the 20140309 release I thought I was using, but in fact the slightly older 20140207 because I had not updated the symlink 'current' to point to the newer version.
I fixed that and then discovered that the 20140309 bgclang segfaults if you run it on an IO node . It works fine if you compile on the login node.
Is this expected? (previously I was able to compiled either on login or IO nodes without issue)
JB
clang -O2 -fopenmp -L/gpfs/bbp.cscs.ch/home/biddisco/bgas/apps/clang/bgclang/omp/lib/ stream.c -o stream_c.exe
0 libLLVM-3.5.0svn.so 0x00000fff998b61e8 llvm::sys::PrintStackTrace(_IO_FILE*) + 4281858696
1 libLLVM-3.5.0svn.so 0x00000fff998b6484
2 libLLVM-3.5.0svn.so 0x00000fff998b6900
3 0x00000fff9a5e0418 __kernel_sigtramp_rt64 + 0
4 clang 0x0000000010214af0 _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeESA_SA_ + 4271468400
5 libLLVM-3.5.0svn.so 0x00000fff998c61dc llvm::Timer::init(llvm::StringRef) + 4281920764
6 clang 0x0000000010402a18 clang::CodeGenAction::CreateASTConsumer(clang::CompilerInstance&, llvm::StringRef) + 4273435544
7 clang 0x00000000101dabf0 clang::FrontendAction::CreateWrappedASTConsumer(clang::CompilerInstance&, llvm::StringRef) + 4271239776
8 clang 0x00000000101dc4e4 clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) + 4271246140
9 clang 0x00000000101a8750 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 4271036552
10 clang 0x0000000010185490 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4270899376
11 clang 0x0000000010179f74 cc1_main(char const**, char const**, char const*, void*) + 4270853924
12 clang 0x00000000101829ec main + 4270888772
13 libc.so.6 0x00000fff97b3bcf8
14 libc.so.6 0x00000fff97b3bef0 __libc_start_main + 4293374496
Stack dump:
0. Program arguments: /gpfs/bbp.cscs.ch/home/biddisco/bgas/apps/clang/bgclang/r203443-20140309/bin/clang -cc1 -fopenmp -triple powerpc64-unknown-linux-gnu -S -disable-free -main-file-name stream.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -no-integrated-as -mconstructor-aliases -target-cpu ppc64 -target-linker-version 2.20.51.0.2 -resource-dir /gpfs/bbp.cscs.ch/home/biddisco/bgas/apps/clang/bgclang/r203443-20140309/bin/../lib/clang/3.5.0 -internal-isystem /usr/local/include -internal-isystem /gpfs/bbp.cscs.ch/home/biddisco/bgas/apps/clang/bgclang/r203443-20140309/bin/../lib/clang/3.5.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -fno-dwarf-directory-asm -fdebug-compilation-dir /gpfs/bbp.cscs.ch/home/biddisco/bgas/clang/build/stream -ferror-limit 19 -fmessage-length 161 -mstackrealign -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /tmp/stream-fbdca0.s -x c stream.c
clang: error: unable to execute command: Floating point exception (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.5.0 (trunk)
Target: powerpc64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/stream-d2f913.c
clang: note: diagnostic msg: /tmp/stream-d2f913.sh
clang: note: diagnostic msg:
********************
make: *** [stream_c.exe] Error 254
--
John Biddiscombe, email:biddisco @.at.@ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20140325/cb36e393/attachment.html>
More information about the llvm-bgq-discuss
mailing list