Follow-up Comment #1, sr #111172 (group autoconf):

Just to add, one needs to run `./configure CC=nvc CXX=nvc++ F77=nvfortran` to
reproduce the issue.

Configure will then abort with:
```
checking for nvfortran option to produce PIC... 
checking if nvfortran static flag  works... yes
checking if nvfortran supports -c -o file.o... yes
checking if nvfortran supports -c -o file.o... (cached) yes
checking whether the nvfortran linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking how to get verbose linking output from nvfortran... -v
checking for Fortran 77 libraries of nvfortran...
-lsr-complexity-limit=131072
-L/p/software/default/stages/2025/software/NVHPC/24.9-CUDA-12/Linux_aarch64/24.9/compilers/lib
-L/p/software/jedi/stages/2025/software/CUDA/12/stubs/lib64
-L/p/software/jedi/stages/2025/software/CUDA/12/lib
-L/p/software/jedi/stages/2025/software/numactl/2.0.18-GCCcore-13.3.0/lib
-L/p/software/jedi/stages/2025/software/libtool/2.4.7-GCCcore-13.3.0/lib
-L/p/software/jedi/stages/2025/software/Perl/5.38.2-GCCcore-13.3.0/lib
-L/p/software/jedi/stages/2025/software/binutils/2.42-GCCcore-13.3.0/lib
-L/p/software/jedi/stages/2025/software/zlib/1.3.1-GCCcore-13.3.0/lib
-L/p/software/fs/jedi/stages/2025/software/NVHPC/24.9-CUDA-12/Linux_aarch64/24.9/compilers/lib
-L/usr/lib64
-L/p/software/fs/jedi/stages/2025/software/GCCcore/13.3.0/bin/../lib/gcc/aarch64-unknown-linux-gnu/13.3.0/
-L/p/software/fs/jedi/stages/2025/software/GCCcore/13.3.0/bin/../lib/gcc/aarch64-unknown-linux-gnu/13.3.0//../../../../lib64
-lnvf -lnvomp -ldl -latomic -lnvhpcatm -lpthread -lnvcpumath -lnvc -lrt -lm
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in
'/p/home/jusers/reuter1/jedi/Projects/git/autotools-playground':
configure: error: linking to Fortran libraries from C fails
See 'config.log' for more details
```


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111172>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to