A GNU tool for automatically configuring source code
Go to file
Frédéric Bérat 0a947575b5 Backport: Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit
When compiling with ifx, a ./configure script generated by GNU Autconf
reports an error message similar to:

    checking for Fortran 77 libraries of ifx...  -loopopt=0 \
        -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 \
        -L/usr/lib/../lib64/ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib \
        -lifport -lifcoremt -limf -lsvml -lm -lipgo -lirc -lpthread \
        -lirc_s  -ldl
    configure: WARNING: FLIBS does not work
    checking for ifx flag to add single underscore to external names... none
    checking for dummy main to link with Fortran 77 libraries... unknown
    configure: error: in '/path/to/build/dir':
    configure: error: linking to Fortran libraries from C fails
    See `config.log' for more details
    make: *** [build/config.status] Error 1

Examining the config.log file shows that the error causing ./configure to exit was:

    ld: cannot find -loopopt=0

The patch drops the first 2 parameters passed to clang, i.e.:
`-mllvm -loopopt=0` parameters are dropped when checking for the libraries.

Resolves: RHEL-40739
2024-06-12 16:06:34 +02:00
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:06:05 +02:00
0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch Backport: Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit 2024-06-12 16:06:34 +02:00
autoconf-2.69-backport-runstatedir-option.patch Merged update from upstream sources 2021-01-15 12:57:54 +00:00
autoconf-2.69-bash-5-LINENO.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:06:05 +02:00
autoconf-2.69-perl-5.22-autoscan.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:06:05 +02:00
autoconf-init.el RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:06:05 +02:00
autoconf.spec Backport: Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit 2024-06-12 16:06:34 +02:00
config.site RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:06:05 +02:00
gating.yaml Add gating that references actually run tests 2021-07-08 16:59:27 +02:00
sources Merged update from upstream sources 2021-01-15 12:40:02 +00:00
STAGE2-autoconf RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:06:05 +02:00