A GNU tool for automatically configuring source code
Go to file
Frédéric Bérat 18090ed2d8 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-40719

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-06-13 15:37:51 +02:00
.gitignore Import rpm: c8s 2023-02-27 12:21:25 -05:00
0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch Backport: Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit 2024-06-13 15:37:51 +02:00
autoconf-2.69-perl-5.22-autoscan.patch Auto sync2gitlab import of autoconf-2.69-29.el8.src.rpm 2022-05-26 00:53:44 -04:00
autoconf-init.el Auto sync2gitlab import of autoconf-2.69-29.el8.src.rpm 2022-05-26 00:53:44 -04:00
autoconf.spec Backport: Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit 2024-06-13 15:37:51 +02:00
ci.fmf CI testing: Add the OSCI configuration 2023-03-22 13:06:26 +01:00
config.site Auto sync2gitlab import of autoconf-2.69-29.el8.src.rpm 2022-05-26 00:53:44 -04:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 10:27:46 -08:00
sources Auto sync2gitlab import of autoconf-2.69-29.el8.src.rpm 2022-05-26 00:53:44 -04:00