* 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 0aecf7ff0d81930d3d46daf1c0552441b793d904)’ using Fortran compiler: ‘flang-new version 17.0.0 (https://github.com/llvm/llvm-project.git 0aecf7ff0d81930d3d46daf1c0552441b793d904)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-flang/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-flang/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-flang/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 0x000000000128e137 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/clang-trunk/bin/flang-new+0x128e137) #1 0x000000000128c09e llvm::sys::RunSignalHandlers() (/usr/local/clang-trunk/bin/flang-new+0x128c09e) #2 0x000000000128ea4a SignalHandler(int) Signals.cpp:0:0 #3 0x00007f698fa3ea00 __restore_rt (/lib64/libc.so.6+0x3ea00) #4 0x00000000017c3e35 Fortran::frontend::CodeGenAction::executeAction() (/usr/local/clang-trunk/bin/flang-new+0x17c3e35) #5 0x00000000012ba30c Fortran::frontend::FrontendAction::execute() (/usr/local/clang-trunk/bin/flang-new+0x12ba30c) #6 0x00000000012ab31e Fortran::frontend::CompilerInstance::executeAction(Fortran::frontend::FrontendAction&) (/usr/local/clang-trunk/bin/flang-new+0x12ab31e) #7 0x00000000012bd74b Fortran::frontend::executeCompilerInvocation(Fortran::frontend::CompilerInstance*) (/usr/local/clang-trunk/bin/flang-new+0x12bd74b) #8 0x0000000000f1b67c fc1_main(llvm::ArrayRef, char const*) (/usr/local/clang-trunk/bin/flang-new+0xf1b67c) #9 0x0000000000f19656 main (/usr/local/clang-trunk/bin/flang-new+0xf19656) #10 0x00007f698fa29510 __libc_start_call_main (/lib64/libc.so.6+0x29510) #11 0x00007f698fa295c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c9) #12 0x0000000000f19085 _start (/usr/local/clang-trunk/bin/flang-new+0xf19085) 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 0aecf7ff0d81930d3d46daf1c0552441b793d904) 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/drglg_mod-2fd567 flang-new: note: diagnostic msg: /tmp/drglg_mod-2fd567.sh flang-new: note: diagnostic msg: ******************** make[1]: *** [/data/gannet/ripley/R/R-flang/etc/Makeconf:217: drglg_mod.o] Error 254 make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-flang/bgw/src' ERROR: compilation failed for package ‘bgw’ * removing ‘/data/gannet/ripley/R/packages/tests-flang/Libs/bgw-lib/bgw’ Command exited with non-zero status 1 Time 0:11.90, 6.28 + 0.75