Date: Sun, 06 May 2018 23:22:00 +0000 From: bugzilla-noreply@freebsd.org To: fortran@FreeBSD.org Subject: [Bug 228007] math/lapack: switch to flang Message-ID: <bug-228007-37611-1lZU9XhkJC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228007-37611@https.bugs.freebsd.org/bugzilla/> References: <bug-228007-37611@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228007 --- Comment #5 from robert.ayrapetyan@gmail.com --- The gfortran's issue I'm talking about is related to: ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found from gfortran.so library -like errors, you can find recent examples here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196862 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217459 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209985 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211889 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207750 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196491 Also, I've personally got into this issue trying to build Python's Keras and mlpack recently. Note also gcc46 is not provided by FreeBSD ports\packages anymore, so the problem become even more actual. So far I've tested\recompiled 4 ports, including this one, with no issues: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228008 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228009 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228011 I wouldn't like users of the recently added port (math/mlpack) deal with: "-L/usr/local/lib/gcc6 -Wl,-rpath,/usr/local/lib:/usr/local/lib/gcc6" tricks to compile their own code with clang in FreeBSD just because mention= ed libs above depend on a broken libgcc_s.so\gfortran. If FreeBSD goes with clang in a long-term, flang is the only option there. = As per https://github.com/flang-compiler/flang/wiki: Flang+LLVM is a production-quality Fortran solution designed to be co-insta= lled and is fully interoperable with Clang C++. Flang single-core and OpenMP performance is now on par with GNU Fortran. Fl= ang has implemented Fortran 2003 and has a near full implementation of OpenMP through version 4.5 targeting multicore CPUs. Not sure how close is that to the reality (not close enough as per your feedback), but we need to start this movement and sooner is better (will catch\fix more issues\bugs in a shorten interval if people begin to move). Thanks! --=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-228007-37611-1lZU9XhkJC>