We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSYS2 updated their LLVM compilers to version 19. I thought I'll try to build ElmerFEM with LLVM Flang again.
Compilation fails with errors like the following: https://github.com/mmuetzel/elmerfem/actions/runs/11840878380/job/32995797740#step:7:2088
[1223/3114] Building Fortran object fhutiter/src/CMakeFiles/fhuti.dir/huti_cgs.F90.obj FAILED: fhutiter/src/CMakeFiles/fhuti.dir/huti_cgs.F90.obj fmodules/huti_cgs.mod D:\a\_temp\msys64\clang64\bin\flang.exe -ID:\a\elmerfem\elmerfem\fhutiter\src -ID:/a/elmerfem/elmerfem/build -ID:/a/elmerfem/elmerfem/build/fhutiter/src -O3 -module-dirfmodules -ffixed-line-length-72 -c fhutiter/src/CMakeFiles/fhuti.dir/huti_cgs.F90-pp.f90 -o fhutiter/src/CMakeFiles/fhuti.dir/huti_cgs.F90.obj error: loc("D:/a/elmerfem/elmerfem/fhutiter/src/huti_cgs.F90":755:7): C:/M/B/src/flang-19.1.3.src/lib/Optimizer/CodeGen/TargetRewrite.cpp:501: not yet implemented: passing argument or result on the stack in indirect calls LLVM ERROR: aborting PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: D:/a/_temp/msys64/clang64/bin/flang -fc1 -triple x86_64-w64-windows-gnu -emit-obj -I D:\\a\\elmerfem\\elmerfem\\fhutiter\\src -I D:/a/elmerfem/elmerfem/build -I D:/a/elmerfem/elmerfem/build/fhutiter/src -ffixed-line-length=72 -mrelocation-model pic -pic-level 2 -target-cpu x86-64 -fversion-loops-for-stride -module-dir fmodules -resource-dir D:/a/_temp/msys64/clang64/lib/clang/19 -mframe-pointer=none -O3 -o fhutiter/src/CMakeFiles/fhuti.dir/huti_cgs.F90.obj -x f95-cpp-input fhutiter/src/CMakeFiles/fhuti.dir/huti_cgs.F90-pp.f90
That is very likely not an issue in ElmerFEM. It is more likely just a feature that the rather new LLVM Flang doesn't support yet.
I thought I'll leave this here as an issue just to document that. Feel free to close it if you like.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MSYS2 updated their LLVM compilers to version 19. I thought I'll try to build ElmerFEM with LLVM Flang again.
Compilation fails with errors like the following:
https://github.com/mmuetzel/elmerfem/actions/runs/11840878380/job/32995797740#step:7:2088
That is very likely not an issue in ElmerFEM. It is more likely just a feature that the rather new LLVM Flang doesn't support yet.
I thought I'll leave this here as an issue just to document that.
Feel free to close it if you like.
The text was updated successfully, but these errors were encountered: