From owner-freebsd-fortran@freebsd.org Sun May 6 23:22:02 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFB60FCA3DE for ; Sun, 6 May 2018 23:22:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 71F97799F4 for ; Sun, 6 May 2018 23:22:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2BA5FFCA3DD; Sun, 6 May 2018 23:22:01 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 044CCFCA3DC for ; Sun, 6 May 2018 23:22:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90EBC799EF for ; Sun, 6 May 2018 23:22:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DBB6511252 for ; Sun, 6 May 2018 23:21:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w46NLxOC014656 for ; Sun, 6 May 2018 23:21:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w46NLxNh014655 for fortran@FreeBSD.org; Sun, 6 May 2018 23:21:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fortran@FreeBSD.org Subject: [Bug 228007] math/lapack: switch to flang Date: Sun, 06 May 2018 23:22:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: robert.ayrapetyan@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2018 23:22:02 -0000 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.=