From owner-freebsd-hackers@freebsd.org Thu Apr 20 16:53:08 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F40A9D4807E for ; Thu, 20 Apr 2017 16:53:07 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92D2313B5 for ; Thu, 20 Apr 2017 16:53:06 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: ce902245-25e9-11e7-b96e-2378c10e3beb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id ce902245-25e9-11e7-b96e-2378c10e3beb; Thu, 20 Apr 2017 16:52:59 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v3KGqsqL001444; Thu, 20 Apr 2017 10:52:54 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1492707174.56859.1.camel@freebsd.org> Subject: Re: How to get rid of the conflict between /usr/local/lib/gcc49/libgcc_s.so.1 and /lib/libgcc_s.so.1 From: Ian Lepore To: Yuri , Freebsd hackers list Date: Thu, 20 Apr 2017 10:52:54 -0600 In-Reply-To: <2978fd74-4544-db57-f4f2-9300949e4764@rawbw.com> References: <2978fd74-4544-db57-f4f2-9300949e4764@rawbw.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 16:53:08 -0000 On Thu, 2017-04-20 at 09:35 -0700, Yuri wrote: > Currently, FreeBSD can't run software that includes both fortran and  > clang-built parts that use exceptions. > > The immediate reason is that /usr/local/lib/gcc49/libgfortran.so.3  > requires a newer version of libgcc, > /usr/local/lib/gcc49/libgcc_s.so.1,  > but the older version /lib/libgcc_s.so.1 is used by the rest of the > system. > > The immediate message is: ImportError: /lib/libgcc_s.so.1: version  > GCC_4.6.0 required by /usr/local/lib/gcc49/libgfortran.so.3 not found > > libgcc update us impossible due to the licensing change, libgcc is > now GPL. > > > One or only thing that is used in libgcc is the low level Unwind  > functionality. There are some alternative unwind implementations, > for  > example https://github.com/pathscale/libunwind with the MIT license. > > Anybody has an idea how to solve this problem? > > > One example of failure is  > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217459, but most  > science software is affected. > > A PR about this with lots more info and some potential fixes (or at least workarounds) is: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120 -- Ian