From owner-freebsd-fortran@freebsd.org Mon Feb 22 12:13:57 2016 Return-Path: Delivered-To: freebsd-fortran@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 8E59FAB0629 for ; Mon, 22 Feb 2016 12:13:57 +0000 (UTC) (envelope-from tijl@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 78B46193A for ; Mon, 22 Feb 2016 12:13:57 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 76342AB0626; Mon, 22 Feb 2016 12:13:57 +0000 (UTC) Delivered-To: fortran@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 75B1CAB0625; Mon, 22 Feb 2016 12:13:57 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay111.isp.belgacom.be (mailrelay111.isp.belgacom.be [195.238.20.138]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F9E91937; Mon, 22 Feb 2016 12:13:55 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CqAgBc+spW/yiK8VFegzqBMA+6UQENgWaGDQKBOTkUAQEBAQEBAWQnhEIBAQQ6HCMQCw4KCSUPKh4GE4get0MBAQEBAQEEAQEBARyKTIhvBZcHjVVojhSOSR4BAUKDZTsuiDABAQE Received: from 40.138-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.138.40]) by relay.skynet.be with ESMTP; 22 Feb 2016 13:12:40 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id u1MCCbrq029445; Mon, 22 Feb 2016 13:12:38 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 22 Feb 2016 13:12:37 +0100 From: Tijl Coosemans To: David Chisnall Cc: Anton Shterenlikht , thierry@FreeBSD.org, fortran@freebsd.org, freebsd-ports@freebsd.org Subject: Re: help make port for opencoarrays Message-ID: <20160222131237.7b284f6d@kalimero.tijl.coosemans.org> In-Reply-To: <7219F774-9964-40EB-A983-33CF1013987C@FreeBSD.org> References: <20160221164250.GC2122@graf.pompo.net> <201602212151.u1LLpRBB085896@mech-as222.men.bris.ac.uk> <20160222100149.05fbca90@kalimero.tijl.coosemans.org> <7219F774-9964-40EB-A983-33CF1013987C@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 12:13:57 -0000 On Mon, 22 Feb 2016 09:50:01 +0000 David Chisnall wrote: > On 22 Feb 2016, at 09:01, Tijl Coosemans wrote: >> I think Fortran is fine. It's C++ that's in a bad shape. I think the >> lang/gcc* ports need to be modified so libstdc++ sits on top of libcxxrt >> instead of libsupc++. Maybe David can say more about that (CCed). > > Ideally, they should be modified to just use libc++. I thought that bapt > had done this, but I might have misremembered. Now I remember he created USES=compiler:gcc-c++11-lib which modifies CXXFLAGS and LDFLAGS so g++ uses libc++ headers and library. That works inside the ports tree but it still leaves g++ cumbersome to use on the command line. What about libcompiler_rt, should the gcc ports use that library too (for its personality function for instance)? The base system still seems to be using the unwind implementation from gcc. Will that change at some point?