* installing *source* package ‘bgw’ ... ** package ‘bgw’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘clang version 17.0.0 (https://github.com/llvm/llvm-project.git 78d91df452d669570e120cb5c3d5febf7f17475d)’ using Fortran compiler: ‘flang-new version 17.0.0 (https://github.com/llvm/llvm-project.git 78d91df452d669570e120cb5c3d5febf7f17475d)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-flang2/bgw/src' /usr/local/clang-trunk/bin/clang -I"/data/gannet/ripley/R/R-flang/include" -DNDEBUG -isystem /usr/local/clang-trunk/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c bgw_c_progs.c -o bgw_c_progs.o /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c dgletc_bgw_no_write.f90 -o dgletc_bgw_no_write.o /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c dglfg_bgw.f90 -o dglfg_bgw.o /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c dmdc.f90 -o dmdc.o /usr/local/clang-trunk/bin/flang-new -fpic -O2 -pedantic -c drglg_mod.f95 -o drglg_mod.o error: loc("/data/gannet/ripley/R/packages/tests-flang2/bgw/src/drglg_mod.f95":231:5): redefinition of symbol named 'dg7lit_m_' error: Lowering to LLVM IR failed error: loc("/data/gannet/ripley/R/packages/tests-flang2/bgw/src/drglg_mod.f95":11:5): cannot be converted to LLVM IR: missing `LLVMTranslationDialectInterface` registration for dialect for op: func.func error: failed to create the LLVM module PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: /usr/local/clang-trunk/bin/flang-new -fc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelocation-model pic -pic-level 1 -target-cpu x86-64 -pedantic -O2 -o drglg_mod.o -x f95-cpp-input drglg_mod.f95 #0 0x000000000128e1c7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/clang-trunk/bin/flang-new+0x128e1c7) #1 0x000000000128c12e llvm::sys::RunSignalHandlers() (/usr/local/clang-trunk/bin/flang-new+0x128c12e) #2 0x000000000128eada SignalHandler(int) Signals.cpp:0:0 #3 0x00007fb013a3ea00 __restore_rt (/lib64/libc.so.6+0x3ea00) #4 0x00000000017c7985 Fortran::frontend::CodeGenAction::executeAction() (/usr/local/clang-trunk/bin/flang-new+0x17c7985) #5 0x00000000012ba55c Fortran::frontend::FrontendAction::execute() (/usr/local/clang-trunk/bin/flang-new+0x12ba55c) #6 0x00000000012ab42e Fortran::frontend::CompilerInstance::executeAction(Fortran::frontend::FrontendAction&) (/usr/local/clang-trunk/bin/flang-new+0x12ab42e) #7 0x00000000012bd99b Fortran::frontend::executeCompilerInvocation(Fortran::frontend::CompilerInstance*) (/usr/local/clang-trunk/bin/flang-new+0x12bd99b) #8 0x0000000000f1caec fc1_main(llvm::ArrayRef, char const*) (/usr/local/clang-trunk/bin/flang-new+0xf1caec) #9 0x0000000000f1b585 main (/usr/local/clang-trunk/bin/flang-new+0xf1b585) #10 0x00007fb013a29510 __libc_start_call_main (/lib64/libc.so.6+0x29510) #11 0x00007fb013a295c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c9) #12 0x0000000000f1b065 _start (/usr/local/clang-trunk/bin/flang-new+0xf1b065) flang-new: error: unable to execute command: Segmentation fault (core dumped) flang-new: error: flang frontend command failed due to signal (use -v to see invocation) flang-new version 17.0.0 (https://github.com/llvm/llvm-project.git 78d91df452d669570e120cb5c3d5febf7f17475d) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/clang-trunk/bin flang-new: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: flang-new: note: diagnostic msg: /tmp/RtmpqpvTUw/working_dir/drglg_mod-bf8c61 flang-new: note: diagnostic msg: /tmp/RtmpqpvTUw/working_dir/drglg_mod-bf8c61.sh flang-new: note: diagnostic msg: ******************** make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:217: drglg_mod.o] Error 254 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-flang2/bgw/src' ERROR: compilation failed for package ‘bgw’ * removing ‘/data/gannet/ripley/R/packages/tests-flang2/bgw.Rcheck/bgw’