-
Notifications
You must be signed in to change notification settings - Fork 1.6k
0.3.25: OpenBLAS is not LTO ready #4318
New issue
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
Comments
In attachment is extracted stderr with all compile and link time warnings openblas.warnnings.txt |
duplicate of #4128 |
Anyway most if not all of these warnings originate from building OpenBLAS without a Fortran compiler, which leads to the inclusion of f2c-converted versions of an older LAPACK as a fallback. Back when I did that conversion, I embedded a default header in all files although it contains some declarations only useful for complex function types. This will eventually get cleaned up, but there are something like a thousand files affected. |
Nope .. this is not the case. |
definitely something going wrong with that when your log has .c files under lapack-netlib being processed and no indication of gfortran actually getting called on anything |
Please one more time have look on attached file with extracted warnings. [tkloczko@pers-jacek tmp]$ grep '\.f ' openblas.warnnings.txt
754 | if (*n == 0 || (*alpha == 0.f || *k == 0) && *beta == 1.f) {
2298 | if (skl > 1.f && sva[1] < big / skl || skl < 1.f && sva[f2cmax(n2,1)] >
1117 | r__1)) || tol < 0.f && (r__3 = e[m - 1], abs(r__3)) <= thresh)
1149 | ) || tol < 0.f && (r__3 = e[ll], abs(r__3)) <= thresh) {
872 | } else if (*dmin__ < 0.f && *dmin1 > 0.f && z__[(*n0 - 1 << 2) - *pp] <
629 | if (*sigma == 0.f && abs(*x) < thresh || abs(*x) == *sigma && *y == 0.f) {
1098 | r__1)) || tol < 0.f && (r__3 = e[m - 1], abs(r__3)) <= thresh)
1130 | ) || tol < 0.f && (r__3 = e[ll], abs(r__3)) <= thresh) {
2237 | if (skl > 1.f && sva[1] < big / skl || skl < 1.f && sva[f2cmax(n2,1)] >
1067 | if (*ns < jw || s.r == 0.f && s.i == 0.f) {
1085 | if (*ns < jw || s.r == 0.f && s.i == 0.f) {
1321 | .r != 0.f || h__[i__5].i != 0.f) || h__[i__7].r ==
1322 | 0.f && h__[i__7].i == 0.f) {
680 | if (g->r == 0.f && g->i == 0.f || sisnan_(&r__1)) {
760 | if (*n == 0 || (*alpha == 0.f || *k == 0) && *beta == 1.f) {
462 | if (f2cmin(*m,*n) == 0 || tau->r == 0.f && tau->i == 0.f) {
1571 | } else if (*anorm > 1.f && onorm < 1.f || *anorm < 1.f && onorm > 1.f)
1783 | } else if (*anorm > 1.f && onorm < 1.f || *anorm < 1.f && onorm > 1.f) |
that is entirely my point - none of these .c files should have been compiled if there was a usable fortran compiler present |
Just checked cmake output and indeed I see:
However in CMakeConfigureLog.yaml I see only kind: "message-v1"
backtrace:
- "/usr/share/cmake/Modules/CheckLanguage.cmake:93 (message)"
- "cmake/f_check.cmake:24 (check_language)"
- "cmake/prebuild.cmake:89 (include)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
checks:
- "Looking for a Fortran compiler"
message: |
Looking for a Fortran compiler passed with the following output:
-- The Fortran compiler identification is GNU 13.2.1
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran - skipped
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CheckFortran
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- "/usr/share/cmake/Modules/CMakeDetermineFortranCompiler.cmake:179 (CMAKE_DETERMINE_COMPILER_ID)"
- "cmake/f_check.cmake:26 (enable_language)"
- "cmake/prebuild.cmake:89 (include)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
message: |
Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" succeeded.
Compiler: /usr/bin/gfortran
Build flags: -O2;-g;-grecord-gcc-switches;-pipe;-Wall;-Werror=format-security;-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3;-Wp,-D_GLIBCXX_ASSERTIONS;-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1;-fstack-protector-strong;-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1;-fno-omit-frame-pointer;-mno-omit-leaf-frame-pointer;-m64;-mtune=generic;-fasynchronous-unwind-tables;-fstack-clash-protection;-fcf-protection;-fdata-sections;-ffunction-sections;-flto=auto;-flto-partition=none;-I/usr/lib64/gfortran/modules
Id flags: -v
The output was:
0
Driving: /usr/bin/gfortran -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules -v CMakeFortranCompilerId.F -l gfortran -l m -shared-libgcc
Using built-in specs.
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1
Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1
COLLECT_GCC=/usr/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC)
COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-Werror=format-security' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-shared-libgcc' '-march=x86-64' '-dumpdir' 'a-'
/usr/libexec/gcc/x86_64-redhat-linux/13/f951 CMakeFortranCompilerId.F -ffixed-form -cpp=/tmp/cc3nzwBr.f90 -quiet -v -I /usr/lib64/gfortran/modules -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS CMakeFortranCompilerId.F -quiet -dumpdir a- -dumpbase CMakeFortranCompilerId.F -dumpbase-ext .F -mno-omit-leaf-frame-pointer -m64 -mtune=generic -march=x86-64 -g -grecord-gcc-switches -O2 -Wall -Werror=format-security -version -fstack-protector-strong -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIE -iplugindir=/usr/lib/gcc/x86_64-redhat-linux/13/plugin -fplugin=annobin -fintrinsic-modules-path /usr/lib/gcc/x86_64-redhat-linux/13/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o - |
as -v -I /usr/lib64/gfortran/modules --gdwarf-5 --64 -o /tmp/ccIxvBh8.o
GNU assembler version 2.41 (x86_64-redhat-linux) using BFD version version 2.41-8.fc40
f951: Warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for Fortran
GNU Fortran (GCC) version 13.2.1 20231011 (Red Hat 13.2.1-4) (x86_64-redhat-linux)
compiled by GNU C version 13.2.1 20231011 (Red Hat 13.2.1-4), GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP
warning: GMP header version 6.2.1 differs from library version 6.3.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Versions of loaded plugins:
annobin: Version 12.30
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/13/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib64/gfortran/modules
/usr/lib/gcc/x86_64-redhat-linux/13/finclude
/usr/lib/gcc/x86_64-redhat-linux/13/include
/usr/local/include
/usr/include
End of search list.
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/13/libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-Werror=format-security' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-shared-libgcc' '-march=x86-64' '-dumpdir' 'a-'
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-Werror=format-security' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-shared-libgcc' '-march=x86-64' '-dumpdir' 'a.'
/usr/libexec/gcc/x86_64-redhat-linux/13/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuWQeuI.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -flto=auto --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/13/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/13 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../.. /tmp/ccIxvBh8.o -lgfortran -lm -lgcc_s -lgcc --as-needed -lquadmath --no-as-needed -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/13/crtend.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o
/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -fresolution=/tmp/ccuWQeuI.res -flinker-output=exec /tmp/ccIxvBh8.o
/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -fresolution=/tmp/ccuWQeuI.res -flinker-output=exec /tmp/ccIxvBh8.o
/usr/bin/gfortran @/tmp/cc1xwi11
Using built-in specs.
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1
Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1
COLLECT_GCC=/usr/bin/gfortran
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC)
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-O2' '-fcf-protection=full' '-fPIE' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Werror=format-security' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto-partition=none' '-v' '-shared-libgcc' '-march=x86-64' '-o' '/tmp/ccBlIN3e.lto.o' '-fresolution=/tmp/ccuWQeuI.res' '-flinker-output=exec'
/usr/libexec/gcc/x86_64-redhat-linux/13/lto1 -quiet -dumpbase ./a.lto.o -mno-omit-leaf-frame-pointer -m64 -mtune=generic -march=x86-64 -g -g -grecord-gcc-switches -O2 -O2 -Werror=format-security -version -fno-openmp -fno-openacc -fcf-protection=full -fPIE -fstack-protector-strong -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fdata-sections -ffunction-sections -flto-partition=none -fresolution=/tmp/ccuWQeuI.res -flinker-output=exec -iplugindir=/usr/lib/gcc/x86_64-redhat-linux/13/plugin -fplugin=annobin @/tmp/cc1khATq -o - |
as -v --gdwarf-5 --64 -o /tmp/ccBlIN3e.lto.o
GNU assembler version 2.41 (x86_64-redhat-linux) using BFD version version 2.41-8.fc40
GNU GIMPLE (GCC) version 13.2.1 20231011 (Red Hat 13.2.1-4) (x86_64-redhat-linux)
compiled by GNU C version 13.2.1 20231011 (Red Hat 13.2.1-4), GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP
warning: GMP header version 6.2.1 differs from library version 6.3.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Versions of loaded plugins:
annobin: Version 12.30
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/../lib64/:/lib/../lib64/../lib64/:/usr/lib/../lib64/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-O2' '-fcf-protection=full' '-fPIE' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Werror=format-security' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto-partition=none' '-v' '-shared-libgcc' '-march=x86-64' '-o' '/tmp/ccBlIN3e.lto.o' '-fresolution=/tmp/ccuWQeuI.res' '-flinker-output=exec' '-dumpdir' './a.lto.o.'
COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-Werror=format-security' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-shared-libgcc' '-march=x86-64' '-dumpdir' 'a.'
Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "a.out"
The Fortran compiler identification is GNU, found in:
/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/3.27.7/CompilerIdFortran/a.out
-
kind: "try_compile-v1"
backtrace:
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
- "/usr/share/cmake/Modules/CMakeTestFortranCompiler.cmake:20 (CMAKE_DETERMINE_COMPILER_ABI)"
- "cmake/f_check.cmake:26 (enable_language)"
- "cmake/prebuild.cmake:89 (include)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
checks:
- "Detecting Fortran compiler ABI info"
directories:
source: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44"
binary: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44"
cmakeVariables:
CMAKE_Fortran_FLAGS: "-O2 -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules"
buildResult:
variable: "CMAKE_Fortran_ABI_COMPILED"
cached: true
stdout: |
Change Dir: '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_091fe/fast
/usr/bin/gmake -f CMakeFiles/cmTC_091fe.dir/build.make CMakeFiles/cmTC_091fe.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44'
Building Fortran object CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o
/usr/bin/gfortran -O2 -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules -v -c /usr/share/cmake/Modules/CMakeFortranCompilerABI.F90 -o CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o
Using built-in specs.
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1
Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1
COLLECT_GCC=/usr/bin/gfortran
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC)
COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-c' '-o' 'CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_091fe.dir/'
/usr/libexec/gcc/x86_64-redhat-linux/13/f951 /usr/share/cmake/Modules/CMakeFortranCompilerABI.F90 -cpp=/tmp/ccyXMOj8.f90 -quiet -v -I /usr/lib64/gfortran/modules -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS /usr/share/cmake/Modules/CMakeFortranCompilerABI.F90 -quiet -dumpdir CMakeFiles/cmTC_091fe.dir/ -dumpbase CMakeFortranCompilerABI.F90.F90 -dumpbase-ext .F90 -mno-omit-leaf-frame-pointer -m64 -mtune=generic -march=x86-64 -g -grecord-gcc-switches -O2 -Wall -version -fstack-protector-strong -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIE -iplugindir=/usr/lib/gcc/x86_64-redhat-linux/13/plugin -fplugin=annobin -fintrinsic-modules-path /usr/lib/gcc/x86_64-redhat-linux/13/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o - |
as -v -I /usr/lib64/gfortran/modules --gdwarf-5 --64 -o CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o
GNU assembler version 2.41 (x86_64-redhat-linux) using BFD version version 2.41-8.fc40
GNU Fortran (GCC) version 13.2.1 20231011 (Red Hat 13.2.1-4) (x86_64-redhat-linux)
compiled by GNU C version 13.2.1 20231011 (Red Hat 13.2.1-4), GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP
warning: GMP header version 6.2.1 differs from library version 6.3.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Versions of loaded plugins:
annobin: Version 12.30
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/13/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib64/gfortran/modules
/usr/lib/gcc/x86_64-redhat-linux/13/finclude
/usr/lib/gcc/x86_64-redhat-linux/13/include
/usr/local/include
/usr/include
End of search list.
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-c' '-o' 'CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.'
Linking Fortran executable cmTC_091fe
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_091fe.dir/link.txt --verbose=1
/usr/bin/gfortran -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -v -O2 -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o -o cmTC_091fe
Driving: /usr/bin/gfortran -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -v -O2 -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o -o cmTC_091fe -l gfortran -l m -shared-libgcc
Using built-in specs.
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-ld
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1
Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1
COLLECT_GCC=/usr/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC)
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/13/libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-flto=auto' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-o' 'cmTC_091fe' '-shared-libgcc' '-march=x86-64' '-pie' '-dumpdir' 'cmTC_091fe-'
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-flto=auto' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-o' 'cmTC_091fe' '-shared-libgcc' '-march=x86-64' '-pie' '-dumpdir' 'cmTC_091fe.'
/usr/libexec/gcc/x86_64-redhat-linux/13/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJM2LZk.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -flto=auto -flto=auto --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_091fe /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/Scrt1.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o -L/usr/lib/gcc/x86_64-redhat-linux/13 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../.. --gc-sections --as-needed -z now --build-id=sha1 CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o -lgfortran -lm -lgcc_s -lgcc --as-needed -lquadmath --no-as-needed -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o
/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -fresolution=/tmp/ccJM2LZk.res -flinker-output=pie CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o
/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -fresolution=/tmp/ccJM2LZk.res -flinker-output=pie CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o
/usr/bin/gfortran @/tmp/ccHfuAIh
Using built-in specs.
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-ld
Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1
Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1
COLLECT_GCC=/usr/bin/gfortran
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC)
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-O2' '-fcf-protection=full' '-fPIE' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto-partition=none' '-shared-libgcc' '-march=x86-64' '-pie' '-o' '/tmp/ccDSFJWV.lto.o' '-fresolution=/tmp/ccJM2LZk.res' '-flinker-output=pie' '-pie'
/usr/libexec/gcc/x86_64-redhat-linux/13/lto1 -quiet -dumpbase ./cmTC_091fe.lto.o -mno-omit-leaf-frame-pointer -m64 -mtune=generic -march=x86-64 -g -g -grecord-gcc-switches -O2 -O2 -version -fno-openmp -fno-openacc -fcf-protection=full -fPIE -flto-partition=none -fuse-linker-plugin -fstack-protector-strong -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fdata-sections -ffunction-sections -flto-partition=none -fresolution=/tmp/ccJM2LZk.res -flinker-output=pie -iplugindir=/usr/lib/gcc/x86_64-redhat-linux/13/plugin -fplugin=annobin @/tmp/cc92Pw60 -o - |
as -v --gdwarf-5 --64 -o /tmp/ccDSFJWV.lto.o
GNU assembler version 2.41 (x86_64-redhat-linux) using BFD version version 2.41-8.fc40
GNU GIMPLE (GCC) version 13.2.1 20231011 (Red Hat 13.2.1-4) (x86_64-redhat-linux)
compiled by GNU C version 13.2.1 20231011 (Red Hat 13.2.1-4), GMP version 6.2.1, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP
warning: GMP header version 6.2.1 differs from library version 6.3.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Versions of loaded plugins:
annobin: Version 12.30
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/../lib64/:/lib/../lib64/../lib64/:/usr/lib/../lib64/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-O2' '-fcf-protection=full' '-fPIE' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto-partition=none' '-shared-libgcc' '-march=x86-64' '-pie' '-o' '/tmp/ccDSFJWV.lto.o' '-fresolution=/tmp/ccJM2LZk.res' '-flinker-output=pie' '-pie' '-dumpdir' './cmTC_091fe.lto.o.'
COLLECT_GCC_OPTIONS='-flto=auto' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-o' 'cmTC_091fe' '-shared-libgcc' '-march=x86-64' '-pie' '-dumpdir' 'cmTC_091fe.'
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44'
exitCode: 0
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
- "/usr/share/cmake/Modules/CMakeTestFortranCompiler.cmake:20 (CMAKE_DETERMINE_COMPILER_ABI)"
- "cmake/f_check.cmake:26 (enable_language)"
- "cmake/prebuild.cmake:89 (include)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
message: |
Parsed Fortran implicit include dir info: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib64/gfortran/modules]
add: [/usr/lib/gcc/x86_64-redhat-linux/13/finclude]
add: [/usr/lib/gcc/x86_64-redhat-linux/13/include]
add: [/usr/local/include]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib64/gfortran/modules] ==> [/usr/lib64/gfortran/modules]
collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/13/finclude] ==> [/usr/lib/gcc/x86_64-redhat-linux/13/finclude]
collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/13/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/13/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/lib64/gfortran/modules;/usr/lib/gcc/x86_64-redhat-linux/13/finclude;/usr/lib/gcc/x86_64-redhat-linux/13/include;/usr/local/include;/usr/include]
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
- "/usr/share/cmake/Modules/CMakeTestFortranCompiler.cmake:20 (CMAKE_DETERMINE_COMPILER_ABI)"
- "cmake/f_check.cmake:26 (enable_language)"
- "cmake/prebuild.cmake:89 (include)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
message: |
Parsed Fortran implicit link information:
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
ignore line: [Change Dir: '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44']
ignore line: []
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_091fe/fast]
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_091fe.dir/build.make CMakeFiles/cmTC_091fe.dir/build]
ignore line: [gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-KPnc44']
ignore line: [Building Fortran object CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o]
ignore line: [/usr/bin/gfortran -O2 -g -grecord-gcc-switches -pipe -Wall -Wp -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wp -D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules -v -c /usr/share/cmake/Modules/CMakeFortranCompilerABI.F90 -o CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o]
ignore line: [Using built-in specs.]
ignore line: [Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1]
ignore line: [Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1]
ignore line: [COLLECT_GCC=/usr/bin/gfortran]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-redhat-linux]
ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran objc obj-c++ ada go d m2 lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC) ]
ignore line: [COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-c' '-o' 'CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_091fe.dir/']
ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/13/f951 /usr/share/cmake/Modules/CMakeFortranCompilerABI.F90 -cpp=/tmp/ccyXMOj8.f90 -quiet -v -I /usr/lib64/gfortran/modules -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS /usr/share/cmake/Modules/CMakeFortranCompilerABI.F90 -quiet -dumpdir CMakeFiles/cmTC_091fe.dir/ -dumpbase CMakeFortranCompilerABI.F90.F90 -dumpbase-ext .F90 -mno-omit-leaf-frame-pointer -m64 -mtune=generic -march=x86-64 -g -grecord-gcc-switches -O2 -Wall -version -fstack-protector-strong -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIE -iplugindir=/usr/lib/gcc/x86_64-redhat-linux/13/plugin -fplugin=annobin -fintrinsic-modules-path /usr/lib/gcc/x86_64-redhat-linux/13/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o - |]
ignore line: [ as -v -I /usr/lib64/gfortran/modules --gdwarf-5 --64 -o CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o]
ignore line: [GNU assembler version 2.41 (x86_64-redhat-linux) using BFD version version 2.41-8.fc40]
ignore line: [GNU Fortran (GCC) version 13.2.1 20231011 (Red Hat 13.2.1-4) (x86_64-redhat-linux)]
ignore line: [ compiled by GNU C version 13.2.1 20231011 (Red Hat 13.2.1-4) GMP version 6.2.1 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [warning: GMP header version 6.2.1 differs from library version 6.3.0.]
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Versions of loaded plugins:]
ignore line: [ annobin: Version 12.30]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/13/include-fixed"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/lib64/gfortran/modules]
ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/13/finclude]
ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/13/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-v' '-c' '-o' 'CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.']
ignore line: [Linking Fortran executable cmTC_091fe]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_091fe.dir/link.txt --verbose=1]
ignore line: [/usr/bin/gfortran -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -v -O2 -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o -o cmTC_091fe ]
ignore line: [Driving: /usr/bin/gfortran -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -v -O2 -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o -o cmTC_091fe -l gfortran -l m -shared-libgcc]
ignore line: [Using built-in specs.]
ignore line: [Reading specs from /usr/lib/rpm/redhat/redhat-hardened-ld]
ignore line: [Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1]
ignore line: [Reading specs from /usr/lib/rpm/redhat/redhat-annobin-cc1]
ignore line: [COLLECT_GCC=/usr/bin/gfortran]
ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-redhat-linux]
ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran objc obj-c++ ada go d m2 lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-13.2.1-20231011/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-offload-defaulted --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC) ]
ignore line: [Reading specs from /usr/lib/gcc/x86_64-redhat-linux/13/libgfortran.spec]
ignore line: [rename spec lib to liborig]
ignore line: [COLLECT_GCC_OPTIONS='-flto=auto' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-o' 'cmTC_091fe' '-shared-libgcc' '-march=x86-64' '-pie' '-dumpdir' 'cmTC_091fe-']
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/13/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/13/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/13/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-flto=auto' '-flto-partition=none' '-fuse-linker-plugin' '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '-v' '-O2' '-g' '-grecord-gcc-switches' '-pipe' '-Wall' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-fstack-protector-strong' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-fno-omit-frame-pointer' '-mno-omit-leaf-frame-pointer' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection=full' '-fdata-sections' '-ffunction-sections' '-flto=auto' '-flto-partition=none' '-I' '/usr/lib64/gfortran/modules' '-o' 'cmTC_091fe' '-shared-libgcc' '-march=x86-64' '-pie' '-dumpdir' 'cmTC_091fe.']
link line: [ /usr/libexec/gcc/x86_64-redhat-linux/13/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJM2LZk.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -flto=auto -flto=auto --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_091fe /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/Scrt1.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o -L/usr/lib/gcc/x86_64-redhat-linux/13 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../.. --gc-sections --as-needed -z now --build-id=sha1 CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o -lgfortran -lm -lgcc_s -lgcc --as-needed -lquadmath --no-as-needed -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o]
arg [/usr/libexec/gcc/x86_64-redhat-linux/13/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/libexec/gcc/x86_64-redhat-linux/13/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/13/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccJM2LZk.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lquadmath] ==> ignore
arg [-plugin-opt=-pass-through=-lm] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-flto=auto] ==> ignore
arg [-flto=auto] ==> ignore
arg [--build-id] ==> ignore
arg [--no-add-needed] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_091fe] ==> ignore
arg [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/Scrt1.o]
arg [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o]
arg [/usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o]
arg [-L/usr/lib/gcc/x86_64-redhat-linux/13] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/13]
arg [-L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64]
arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
arg [-L/usr/lib/gcc/x86_64-redhat-linux/13/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/13/../../..]
arg [--gc-sections] ==> ignore
arg [--as-needed] ==> ignore
arg [-znow] ==> ignore
arg [--build-id=sha1] ==> ignore
arg [CMakeFiles/cmTC_091fe.dir/CMakeFortranCompilerABI.F90.o] ==> ignore
arg [-lgfortran] ==> lib [gfortran]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lquadmath] ==> lib [quadmath]
arg [--no-as-needed] ==> ignore
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o]
arg [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o]
collapse obj [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/Scrt1.o] ==> [/usr/lib64/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o] ==> [/usr/lib64/crti.o]
collapse obj [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o] ==> [/usr/lib64/crtn.o]
collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/13] ==> [/usr/lib/gcc/x86_64-redhat-linux/13]
collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64] ==> [/usr/lib64]
collapse library dir [/lib/../lib64] ==> [/lib64]
collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/13/../../..] ==> [/usr/lib]
implicit libs: [gfortran;m;gcc_s;gcc;quadmath;m;gcc_s;gcc;c;gcc_s;gcc]
implicit objs: [/usr/lib64/Scrt1.o;/usr/lib64/crti.o;/usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o;/usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o;/usr/lib64/crtn.o]
implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/13;/usr/lib64;/lib64;/usr/lib]
implicit fwks: []
-
kind: "try_compile-v1"
backtrace:
- "cmake/prebuild.cmake:1373 (try_compile)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
directories:
source: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build/CMakeFiles/CMakeTmp"
binary: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build/CMakeFiles/CMakeTmp"
cmakeVariables:
CMAKE_ASM_FLAGS: "-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none"
CMAKE_C_FLAGS: "-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none"
buildResult:
variable: "GETARCH_RESULT"
cached: true
stdout: |
Change Dir: '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build/CMakeFiles/CMakeTmp'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_54478/fast
/usr/bin/gmake -f CMakeFiles/cmTC_54478.dir/build.make CMakeFiles/cmTC_54478.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_54478.dir/getarch.c.o
/usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_PARALLEL_MAKE=0 -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build" -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25" -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu" -o CMakeFiles/cmTC_54478.dir/getarch.c.o -c /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/getarch.c
In file included from /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/getarch.c:1716:
/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/cpuid_x86.c: In function ‘get_cacheinfo’:
/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/cpuid_x86.c:433:9: warning: variable ‘numcalls’ set but not used [-Wunused-but-set-variable]
433 | int numcalls;
| ^~~~~~~~
/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/cpuid_x86.c: In function ‘get_coretype’:
/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/cpuid_x86.c:2236:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
2236 | if (model == 10 || model == 12)
| ^~
/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/cpuid_x86.c:2240:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
2240 | return CORE_SKYLAKEX;
| ^~~~~~
Building ASM object CMakeFiles/cmTC_54478.dir/cpuid.S.o
/usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_PARALLEL_MAKE=0 -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build" -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25" -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu" -o CMakeFiles/cmTC_54478.dir/cpuid.S.o -c /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/cpuid.S
Linking C executable cmTC_54478
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_54478.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/cmTC_54478.dir/getarch.c.o CMakeFiles/cmTC_54478.dir/cpuid.S.o -o cmTC_54478
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch_build/CMakeFiles/CMakeTmp'
exitCode: 0
-
kind: "try_compile-v1"
backtrace:
- "cmake/prebuild.cmake:1416 (try_compile)"
- "cmake/system.cmake:163 (include)"
- "CMakeLists.txt:97 (include)"
directories:
source: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch2_build/CMakeFiles/CMakeTmp"
binary: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch2_build/CMakeFiles/CMakeTmp"
cmakeVariables:
CMAKE_C_FLAGS: "-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none"
buildResult:
variable: "GETARCH2_RESULT"
cached: true
stdout: |
Change Dir: '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch2_build/CMakeFiles/CMakeTmp'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_69718/fast
/usr/bin/gmake -f CMakeFiles/cmTC_69718.dir/build.make CMakeFiles/cmTC_69718.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch2_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_69718.dir/getarch_2nd.c.o
/usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_PARALLEL_MAKE=0 -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch2_build" -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25" -I"/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu" -o CMakeFiles/cmTC_69718.dir/getarch_2nd.c.o -c /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/getarch_2nd.c
Linking C executable cmTC_69718
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_69718.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/cmTC_69718.dir/getarch_2nd.c.o -o cmTC_69718
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/getarch2_build/CMakeFiles/CMakeTmp'
exitCode: 0
-
kind: "try_compile-v1"
backtrace:
- "/usr/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)"
- "/usr/share/cmake/Modules/CheckCSourceCompiles.cmake:52 (cmake_check_source_compiles)"
- "/usr/share/cmake/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)"
- "/usr/share/cmake/Modules/FindThreads.cmake:163 (_threads_check_libc)"
- "CMakeLists.txt:297 (find_package)"
checks:
- "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
directories:
source: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-FhVsoj"
binary: "/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-FhVsoj"
cmakeVariables:
CMAKE_C_FLAGS: "-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DHAVE_C11 -Wall -m64 -march=skylake-avx512 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -DF_INTERFACE_GFORT -fPIC -DSMALL_MATRIX_OPT -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=48 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION=\"\\\"0.3.25\\\"\" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16"
buildResult:
variable: "CMAKE_HAVE_LIBC_PTHREAD"
cached: true
stdout: |
Change Dir: '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-FhVsoj'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_89d8e/fast
/usr/bin/gmake -f CMakeFiles/cmTC_89d8e.dir/build.make CMakeFiles/cmTC_89d8e.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-FhVsoj'
Building C object CMakeFiles/cmTC_89d8e.dir/src.c.o
/usr/bin/gcc -DCMAKE_HAVE_LIBC_PTHREAD -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DHAVE_C11 -Wall -m64 -march=skylake-avx512 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -DF_INTERFACE_GFORT -fPIC -DSMALL_MATRIX_OPT -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=48 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION="\\"0.3.25\\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -o CMakeFiles/cmTC_89d8e.dir/src.c.o -c /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-FhVsoj/src.c
Linking C executable cmTC_89d8e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89d8e.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DHAVE_C11 -Wall -m64 -march=skylake-avx512 -mavx2 -mavx -msse -msse2 -msse3 -mssse3 -msse4.1 -DF_INTERFACE_GFORT -fPIC -DSMALL_MATRIX_OPT -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=48 -DMAX_PARALLEL_NUMBER=1 -DMAX_STACK_ALLOC=2048 -DNO_AFFINITY -DVERSION="\\"0.3.25\\"" -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/cmTC_89d8e.dir/src.c.o -o cmTC_89d8e
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-FhVsoj'
exitCode: 0 None of the test finished with non-zero exit code [tkloczko@pers-jacek CMakeFiles]$ grep exitCode CMakeConfigureLog.yaml
exitCode: 0
exitCode: 0
exitCode: 0
exitCode: 0
exitCode: 0
exitCode: 0 |
Does the end of the cmake output say "fortran lapack" or "c lapack" ? And did you set |
It is.
No I'm not using that cmake option. Here is full cmake params and output: + ASMFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1'
+ RUSTFLAGS='-C codegen-units=1 -C debuginfo=2 -C opt-level=2 -C link-arg=-fdata-sections -C link-arg=-ffunction-sections -C link-arg=-Wl,--as-needed -C link-arg=-Wl,-z,now -C link-arg=-Wl,-z,relro --cap-lints=warn'
+ VALAFLAGS=-g
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB RUSTFLAGS VALAFLAGS
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D CMAKE_Fortran_COMPILER=/usr/bin/gfortran -D BUILD_STATIC_LIBS=OFF -D BUILD_TESTING=ON -D BUILD_WITHOUT_CBLAS=OFF -D BUILD_WITHOUT_LAPACK=OFF -D CPP_THREAD_SAFETY_GEMV=OFF -D CPP_THREAD_SAFETY_TEST=OFF -D C_LAPACK=ON -D DYNAMIC_ARCH=OFF -D USE_LOCKING=OFF -D USE_PERL=ON
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at CMakeLists.txt:94 (message):
CMake support is experimental. It does not yet support all build options
and may not produce the same Makefiles that OpenBLAS ships with.
CMake Warning (dev) at cmake/system_check.cmake:13 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "LINUX" will no longer be dereferenced when the
policy is set to NEW. Since the policy is not set the OLD behavior will be
used.
Call Stack (most recent call first):
cmake/system.cmake:8 (include)
CMakeLists.txt:97 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for stdatomic.h
-- Looking for stdatomic.h - found
-- GEMM multithread threshold set to 4.
-- Multi-threading enabled with 48 threads.
-- The Fortran compiler identification is GNU 13.2.1
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran - skipped
-- Running getarch
-- GETARCH results:
CORE=SKYLAKEX
LIBCORE=skylakex
NUM_CORES=48
HAVE_MMX=1
HAVE_SSE=1
HAVE_SSE2=1
HAVE_SSE3=1
HAVE_SSSE3=1
HAVE_SSE4_1=1
HAVE_SSE4_2=1
HAVE_AVX=1
HAVE_AVX2=1
HAVE_AVX512VL=1
HAVE_FMA3=1
MAKEFLAGS += -j 48
-- Compiling a 64-bit binary.
-- Building Single Precision
-- Building Double Precision
-- Building Complex Precision
-- Building Double Complex Precision
-- /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/interface/CMakeFiles/scopy.c
-- /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/interface/CMakeFiles/snrm2.c
[...]
-- /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/lapack/CMakeFiles/ctrti2_LU.c
-- /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu/lapack/CMakeFiles/ztrti2_LU.c
-- c lapack
-- Building deprecated routines
-- Building Single Precision
-- Building Double Precision
-- Building Single Precision Complex
-- Building Double Precision Complex
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Generating openblas_config.h in include/openblas
-- Generating f77blas.h in include/openblas
-- Generating cblas.h in include/openblas
-- Copying LAPACKE header files to include/openblas
-- Configuring done (14.9s)
-- Generating done (1.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_FLAGS_RELEASE
INCLUDE_INSTALL_DIR
LIB_INSTALL_DIR
LIB_SUFFIX
SHARE_INSTALL_PREFIX
SYSCONF_INSTALL_DIR
-- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/OpenBLAS-0.3.25/x86_64-redhat-linux-gnu |
Very strange. I cannot reproduce this with my usual (opensuse-based) setup, and cannot think of anything that would make a difference on RedHat. However I notice you appear to have |
OK just sent build request ot my infra to test OpenBLAS without that option. |
In cmake output I see -- fortran lapack |
Updated stats of compile and link time warnings
|
I do not get the lto-type-mismatch warnings here with gcc/gfortran13 , and I guess the others are mostly from building lapack-test (which is a verbatim copy of the testsuite imported from Reference-LAPACK) ? |
Nope this si not the case. |
But disable strict aliasing. Long ago LTO complained about different -march passed for different CPU architectures for the same source file and generated 10x bigger "compact" artefact. |
Ok, the gcc13 snapshot build I was using yesterday probably was too old and 13.2 may have gained additional checks. But all this brings us back to my initial assessment that this is a duplicate of a known issue, #4128 . IIRC, some of these are from the "hidden" string length arguments attached in cross-language calls to Fortran code - which some compilers expect to be int, others size_t. Then OpenBLAS I believe uses its "FLOAT" macro quite liberally to address complex arrays as well, and lastly there are probably some reimplemented LAPACK functions that gained a C-style return code that is not expected by the standard headers. All of this will be addressed at some point. Unused labels or variables and questionable type conversions are typically found in LAPACK Fortran codes, where the Reference-LAPACK project has already done considerable cleanup. |
There are two variants of LTO issues. |
You can rebuild epel or fedora packages. Namely you will not get a good result even after eliminating lto warnings. |
Duplicate of #4128 |
hmm. sad that "marking as duplicate" seems to have not much of a practical effect in the gh issue tracker even when using their predefined answer for that task. |
LTO takes IR and tries to generate jmp-chained control paths, i'd trust them it tried to break apart assembly kernels at least back then. |
@kloczek for some reason your system appears to assume "long int" for the undeclared "hidden" string length arguments on the Fortran functions, while LAPACKE's lapack.h has them as size_t. This accounts for many lto errors in your log that I do not see on my system even with gcc 13.2 . Others, especially in LAPACK calls to BLAS functions, I do not understand at all,and I cannot reproduce them even if I add |
GMP mismatch means you run mix of 2 redhat GCCs, also pocket-built cmake is not trustworthy. |
I'm uisng gcc 13.2.1 almost the same as in fedora rawhide.
I'm my vendor. |
Impossible.
I'm not sure what you want to tell by above. Nevertheless you have two variants of possible source code configurations in which exact warnings are emitted. |
silencing warnings will not cure lto miscompilatipn if we trust fedora spec. |
I built gcc 13.2.0 from official gcc.gnu.org sources - rawhide may carry additional/experimental patches I assume. Maybe it makes more sense for me to try with a current development snapshot of gcc rather than trying to replicate what rawhide carried at some point. |
If you want to spend few days on building correctly your own gcc instead go to test reported issue on top od rawhide .. |
Nevertheless in attached files you cave clear output with pair of lines with mismatched declarations. |
Closed as completed? 🤔 |
Closed as duplicate, like mentioned several times already. |
Just made test with counting different types of compile time warnings
All LTO related warnings are trashing that optimisation.
In all those cases someone needs to make decision which one routines declaration is right .. this one on header file or that one used in .c flle.
Biggest number of
-Wunused-function
warnings may suggest that some functions are identifies as not used because they symbols are not part of the public ABI definition.The text was updated successfully, but these errors were encountered: