pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: math/blas not compiling due to gcc7 error
On Sat, Aug 15, 2020 at 2:11 AM Connor McLaughlan <cont6pro3%gmail.com@localhost> wrote:
>
> I am unsure if this is an error of blas by calling the undefined
> reference in libgfortran.so or by gcc7 to have experienced an error
> during building of its fortran compiler.
>
I'm also getting a fortran error during configuring for math/coinmp:
configure: C++ compiler options are: -O2 -D_FORTIFY_SOURCE=2
-I/usr/pkg/include -I/usr/include -DCOINUTILS_BUILD
configure: Trying to determine Fortran compiler name
checking for sparc64--netbsd-xlf_r... gfortran
checking for sparc64--netbsd-xlf_r... (cached) gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
configure: WARNING: The flags FFLAGS="" do not work. I will now just
try '-O', but you might want to set FFLAGS manually.
configure: WARNING: This value for FFLAGS does not work. I will
continue with empty FFLAGS, but you might want to set FFLAGS manually.
configure: Fortran compiler options are:
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...
-L/usr/pkgsrc/math/coinmp/work/.buildlink/lib
-L/usr/pkg/gcc7/lib/gcc/sparc64--netbsd/7.5.0
-L/usr/pkg/gcc7/lib/gcc/sparc64--netbsd/7.5.0/../../..
-R/usr/pkg/gcc7/sparc64--netbsd/lib/. -R/usr/pkg/gcc7/lib/. -lgfortran
-lm -lgcc_s
configure: Corrected Fortran libraries:
-L/usr/pkgsrc/math/coinmp/work/.buildlink/lib
-L/usr/pkg/gcc7/lib/gcc/sparc64--netbsd/7.5.0
-L/usr/pkg/gcc7/lib/gcc/sparc64--netbsd/7.5.0/../../..
-R/usr/pkg/gcc7/sparc64--netbsd/lib/. -R/usr/pkg/gcc7/lib/. -lgfortran
-lm
checking for dummy main to link with Fortran libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for CoinUtils
*** Error code 1
Stop.
bmake[2]: stopped in /usr/pkgsrc/math/coinmp
*** Error code 1
Stop.
bmake[1]: stopped in /usr/pkgsrc/math/coinmp
*** Error code 1
So i guess the fortran part of my lang/gcc7 is broken?
Regards,
Connor
Home |
Main Index |
Thread Index |
Old Index