[flang-commits] [flang] [llvm] [openmp] [OpenMP][Flang] Add integer-kind wrappers to omp_lib (PR #213505)
Paul Osmialowski via flang-commits
flang-commits at lists.llvm.org
Wed Sep 2 07:52:01 PDT 2026
pawosm-arm wrote:
Cannot build SNbone after this PR:
```
flang -O3 -mcpu=native -fopenmp -DWITHOMP -o SNaCFE.x Basic_CommonBlock.o Basic_Abort.o Basic_CheckError.o CommonBlock.o Method_Krylov.o GenerateXb.o PrintSummary.o Verify.o Zero.o Import_PMesh.o BuildAngleCubature.o AssembleNZmatrix.o StencilNZmatrix.o SolveWGS.o FGMRES_Threaded.o SolveWGS_PassThrough_AVE1.o SolveWGS_PassThrough_AVE2.o SolveWGS_PassThrough_AVE3.o SolveWGS_PassThrough_PC.o ApplyA_AVE1_Tet_SUPG.o ApplyA_AVE2_Tet_SUPG.o Driver.F90
/usr/bin/ld: /tmp/Driver-414a6d.o: in function `_QQmain':
FIRModule:(.text+0x3a4): undefined reference to `_QMomp_libPomp_set_num_threads_i4'
flang-24: error: linker command failed with exit code 1 (use -v to see invocation)
```
I'm not sure we should introduce changes that break the old codebases. In the Fortran world, 'old' is the sacred word.
https://github.com/llvm/llvm-project/pull/213505
More information about the flang-commits
mailing list