Date: Tue, 10 May 2022 20:56:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263902] math/blas 3.10.1: linker error Message-ID: <bug-263902-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263902 Bug ID: 263902 Summary: math/blas 3.10.1: linker error Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fortran@FreeBSD.org Reporter: kidon@posteo.de Flags: maintainer-feedback?(fortran@FreeBSD.org) Assignee: fortran@FreeBSD.org Building math/blas on FreeBSD 13.0 with Poudriere fails. The make configuration: USE_PACKAGE_DEPENDS=3Dyes BATCH=3Dyes WRKDIRPREFIX=3D/wrkdirs PORTSDIR=3D/usr/ports PACKAGES=3D/packages DISTDIR=3D/distfiles FORCE_PACKAGE=3Dyes PACKAGE_BUILDING=3Dyes PACKAGE_BUILDING_FLAVORS=3Dyes WRKDIRPREFIX=3D/tmp/ports DEFAULT_VERSIONS+=3Dssl=3Dbase python=3D3.9 php=3D7.3 gcc=3D12 llvm=3D13 OPTIONS_SET=3DSNDIO OPTIONS_UNSET=3DICONV ALSA AVAHI AVX2 BASH CPUFLAGS CPU_OPTS CUPS DBUS DEBU= G DOCS EXAMPLES FLAC FONTCONFIG GNOME GSTREAMER HAL JACK JAVA JPEG2000 LDAP MANPAG= ES NLS NOTIFY OPTIMIZED_CFLAGS POLICYKIT PULSEAUDIO PROFILE SNDIO SPEEX TEST T= ESTS VIDEO_WAYLAND VIM_OPTIONS WAYLAND ZSH OPENCV The log: /bin/mkdir -p /tmp/ports/usr/ports/math/blas/work/.build -- The Fortran compiler identification is GNU 12.1.0 -- The C compiler identification is Clang 11.0.1 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/local/bin/gfortran12 - skipped -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking if build type is 'Coverage' -- Checking if build type is 'Coverage': 0 -- Performing Test _frecursiveFlag -- Performing Test _frecursiveFlag - Success -- Build tests: OFF -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing functio= n. -- Build deprecated routines: ON -- Build single precision real: ON -- Build double precision real: ON -- Build single precision complex: ON -- Build double precision complex: ON -- Using supplied NETLIB BLAS implementation -- Using supplied NETLIB LAPACK implementation -- Detecting Fortran/C Interface Failed to compile -- Verifying Fortran/C Compiler Compatibility Failed to compile CMake Warning (dev) at /usr/local/share/cmake/Modules/FortranCInterface.cmake:309 (message): No FortranCInterface mangling known for VerifyFortran Call Stack (most recent call first): /usr/local/share/cmake/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER) This warning is for project developers. Use -Wno-dev to suppress it. -- Verifying Fortran/C Compiler Compatibility - Failed CMake Error at /usr/local/share/cmake/Modules/FortranCInterface.cmake:391 (message): The Fortran compiler: /usr/local/bin/gfortran12 and the C compiler: /usr/bin/cc failed to compile a simple test project using both languages. The output was: Change Dir: /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC Run Build Command(s):/usr/bin/make -f Makefile VerifyFortranC && /usr/local/bin/cmake -S/usr/local/share/cmake/Modules/FortranCInterface/Ver= ify -B/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erifyC --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC /usr/local/bin/cmake -S/usr/local/share/cmake/Modules/FortranCInterface/Verify -B/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erifyC --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/bin/cmake -E cmake_progress_start /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC/CMakeFiles 5 /usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend cd /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/share/cmake/Modules/FortranCInterface/Verify /usr/local/share/cmake/Modules/FortranCInterface/Verify /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake Scanning dependencies of target VerifyFortran /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build [ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /usr/local/bin/gfortran12=20 -I/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erifyC -O -Wl,-rpath=3D/usr/local/lib/gcc12 -frecursive -O2 -DNDEBUG -O2 -c /usr/local/share/cmake/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o [ 40%] Linking Fortran static library libVerifyFortran.a /usr/local/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake /usr/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=3D1 /usr/local/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /usr/local/bin/ranlib libVerifyFortran.a [ 40%] Built target VerifyFortran /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend cd /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/share/cmake/Modules/FortranCInterface/Verify /usr/local/share/cmake/Modules/FortranCInterface/Verify /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build [ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o /usr/bin/cc=20 -I/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erifyC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -MD -MT CMakeFiles/VerifyFortranC.dir/main.c.o -MF CMakeFiles/VerifyFortranC.dir/main.c.o.d -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /usr/local/share/cmake/Modules/FortranCInterface/Verify/main.c [ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o /usr/bin/cc=20 -I/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erifyC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -MD -MT CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -MF CMakeFiles/VerifyFortranC.dir/VerifyC.c.o.d -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /usr/local/share/cmake/Modules/FortranCInterface/Verify/VerifyC.c [100%] Linking C executable VerifyFortranC /usr/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=3D1 /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20 -Wl,-rpath=3D/usr/local/lib/gcc12 -L/usr/local/lib/gcc12 -B/usr/local/bin -fstack-protector-strong CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC -L/usr/local/= bin=20 -L/usr/local/lib/gcc12/gcc/x86_64-portbld-freebsd13.0/12.1.0=20 -L/usr/local/x86_64-portbld-freebsd13.0/lib libVerifyFortran.a -lgfortran = -lm -lssp_nonshared -lquadmath -lm=20 /usr/local/bin/ld: CMakeFiles/VerifyFortranC.dir/main.c.o: in function `main': main.c:(.text+0xa): undefined reference to `VerifyFortran' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263902-7788>