[Bug 247485] math/lapack (and math/atlas) do not build with gcc10
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 8 23:51:45 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247485
alt2600 at icloud.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alt2600 at icloud.com
--- Comment #4 from alt2600 at icloud.com ---
Created attachment 222281
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222281&action=edit
path-Makefile
Fixes build with GCC10(+?). gfortran10 has apparently went the way of strict
type checking, which will cause problems with 30+ year old fortran libraries. I
added -fallow-argument-mismatch to the F77FLAGS line in the do-build: loop to
make gfortran10 handle mismatches like and older fortran compiler would and
atlas built. I attempted other methods like adding to EXTRAFLAGS but this
seemed to break the C build. I'm guessing ATLAS checking the compiler flags
causes issue when gcc10 spits back that this is a fortran flag not a C flag.
Either way it builds now fine. not sure how lapack was fixed but it built fine
during a system update to 12.2 I just completed. Given this has no maintainer,
I might consider taking it over. Just need to play a little to see how hard it
would be to get the newest support 3.10.3 version going a little bit, and what
lapacks it expects to see to optimize against. Not sure how far things have
gone with upgrading lapack, lapacke, etc to later versions. I know those are
tough given how many things require them.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fortran
mailing list