From owner-freebsd-fortran@freebsd.org Sun Feb 21 16:42: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 ADCDFAAF439 for ; Sun, 21 Feb 2016 16:42:57 +0000 (UTC) (envelope-from thierry@pompo.net) 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 9878B10F2 for ; Sun, 21 Feb 2016 16:42:57 +0000 (UTC) (envelope-from thierry@pompo.net) Received: by mailman.ysv.freebsd.org (Postfix) id 984ABAAF438; Sun, 21 Feb 2016 16:42: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 97C63AAF437; Sun, 21 Feb 2016 16:42:57 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from mx1b.lautre.net (etna.lautre.net [80.67.160.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.lautre.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DA8B10F1; Sun, 21 Feb 2016 16:42:56 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thierry@pompo.net) by mx1b.lautre.net (Postfix) with ESMTPSA id 4F1A87E1EA; Sun, 21 Feb 2016 17:42:54 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 2F6325BB434; Sun, 21 Feb 2016 17:42:52 +0100 (CET) Date: Sun, 21 Feb 2016 17:42:51 +0100 From: Thierry Thomas To: Anton Shterenlikht Cc: fortran@freebsd.org, freebsd-ports@freebsd.org, tijl@FreeBSD.org Subject: Re: help make port for opencoarrays Message-ID: <20160221164250.GC2122@graf.pompo.net> Mail-Followup-To: Anton Shterenlikht , fortran@freebsd.org, freebsd-ports@freebsd.org, tijl@FreeBSD.org References: <201602172250.u1HMoa7n063845@mech-as222.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201602172250.u1HMoa7n063845@mech-as222.men.bris.ac.uk> X-Operating-System: FreeBSD 10.3-BETA2 amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.5.23 (2014-03-12) 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: Sun, 21 Feb 2016 16:42:57 -0000 Hello, [+ tijl@ to Cc: as maintainer of net/mpich] Le mer 17 fév 16 à 23:50:37 +0100, Anton Shterenlikht écrivait : > Please help/advise > > https://github.com/sourceryinstitute/opencoarrays > > It requires mpich built with at least gcc5.3, > more specifically mpif90 built with gcc5.3 or gcc6. > net/mpich has FORTRAN_USES=fortran, which I understand > triggers lang/gcc. > > Is it a good idea (or at all possible) to add > an option to net/mpich to choose a particular > gcc version? > > Any other advice? ATM Fortran in FreeBSD is in a very bad shape, and, as you know, we encounter difficulties with several ports (french/aster, cad/salome, etc.) caused by a mix between clang and Gcc, and thus libstdc++ / libc++. If building mpich with a newer Gcc could solve the problem with opencoarrays, I'm afraid it would cause uncompatibilities in other dependencies - but unfortunately I cannot suggest a better alternative! -- Th. Thomas. From owner-freebsd-fortran@freebsd.org Sun Feb 21 21:51:32 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 121BCAB0AC5 for ; Sun, 21 Feb 2016 21:51:32 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) 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 E59911C3F for ; Sun, 21 Feb 2016 21:51:31 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mailman.ysv.freebsd.org (Postfix) id E1D11AB0AC3; Sun, 21 Feb 2016 21:51:31 +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 C92A4AB0AC1 for ; Sun, 21 Feb 2016 21:51:31 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA9F1C3C for ; Sun, 21 Feb 2016 21:51:30 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x235.google.com with SMTP id g62so133886834wme.0 for ; Sun, 21 Feb 2016 13:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:cc:reply-to:in-reply-to; bh=CPcH2R0SsQPMtbbyh7W20ZVYHxn4M7bIwM10lQGcVjQ=; b=hM1LmsdwlFnCK84ABjHiVw+VZelJS0D/cUr/Yi7z7GzWFgNR6JgIxgiLnuHK/g2lSn 4I95yoRsMxEGHgNOrg82I7fnR/ZQV2L3jDKm7vGGVMi/joTJNaY5hpwBd2FOFZ5f8LYd pq1iTfCL15WfYF/8qcaLD52c3bp9NgNJXuhrRAG6M1vewMziTmgXzGfFoaohQmcm9VzN varLnfQvwDPgDJPzzv8WzSuEMoZK7/WR6ewndzxrOYviPREeY88EHEOjf5S2BmCiu4G9 RjTTpgRtZiSetdHoptTwMhoVIUx/FevGQLfIgzzBSMz21q/QzUZraupFTvCI4iXmytDb 8Xcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=CPcH2R0SsQPMtbbyh7W20ZVYHxn4M7bIwM10lQGcVjQ=; b=kbmgP6+ixujOttrVcg69D0K5/ajEoP5A+CWujt9PdhkdqnQqdFtjpemP0POUlhA2OA 078OO8oY1vhI260/O8h53WedHldca/Sk4SeHJLpgsiUIiPQctXKHlzt6UDI8ajqjeSjH rvzk8lC+vctmDCZiROWkgk4FpHCfSgjXbpIjOMOKx9gEUPSFSR5RZwm3PnIoE6XANVGV pIPqFGjjNn4eYsWTr9rENdFw6n3rUBFgbCeK+89Ep95s3XUv/G6d3Md5bklCnJIWpllF q7eQRVlPic/gzD1Z6sOSCc0lVli/MoIQ7PUgCnE/P5PMTU6ABNjswv5aJasHsuBKDbpg 6F1Q== X-Gm-Message-State: AG10YOTQuve+oxVaxLpuLtRvchPaMliK1pSWNORFkBmV62hC6wadGQ0eF9WpTrhQanlt6q3p X-Received: by 10.194.23.7 with SMTP id i7mr24326301wjf.9.1456091489488; Sun, 21 Feb 2016 13:51:29 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id t205sm18159293wmt.23.2016.02.21.13.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Feb 2016 13:51:28 -0800 (PST) Date: Sun, 21 Feb 2016 13:51:28 -0800 (PST) X-Google-Original-Date: Sun, 21 Feb 2016 21:51:27 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u1LLpSbJ085897; Sun, 21 Feb 2016 21:51:28 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u1LLpRBB085896; Sun, 21 Feb 2016 21:51:27 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201602212151.u1LLpRBB085896@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk, thierry@FreeBSD.org Subject: Re: help make port for opencoarrays Cc: fortran@freebsd.org, freebsd-ports@freebsd.org, tijl@FreeBSD.org Reply-To: mexas@bris.ac.uk In-Reply-To: <20160221164250.GC2122@graf.pompo.net> 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: Sun, 21 Feb 2016 21:51:32 -0000 >From thierry@pompo.net Sun Feb 21 17:36:47 2016 > >Hello, > >[+ tijl@ to Cc: as maintainer of net/mpich] > >Le mer 17 fév 16 à 23:50:37 +0100, Anton Shterenlikht > écrivait : >> Please help/advise >> >> https://github.com/sourceryinstitute/opencoarrays >> >> It requires mpich built with at least gcc5.3, >> more specifically mpif90 built with gcc5.3 or gcc6. >> net/mpich has FORTRAN_USES=fortran, which I understand >> triggers lang/gcc. >> >> Is it a good idea (or at all possible) to add >> an option to net/mpich to choose a particular >> gcc version? >> >> Any other advice? > >ATM Fortran in FreeBSD is in a very bad shape, and, as you know, we >encounter difficulties with several ports (french/aster, cad/salome, >etc.) caused by a mix between clang and Gcc, and thus libstdc++ / >libc++. My impression over the last several years was actually that GCC on FreeBSD has become very stable, at least on amd64. Building ports with complex dependencies is about how GCC integrated with the ports system. So I'd say Fortran itself is all right. Also, I naively thought that ports which use GCC do not use any part of clang. >If building mpich with a newer Gcc could solve the problem with >opencoarrays, I'm afraid it would cause uncompatibilities in other >dependencies - but unfortunately I cannot suggest a better alternative! Well, I'm only asking for an option in the port. The default will not change. I'll have a go locally and see what happens. But I'm not sure what option to use to build with e.g. GCC6. Is it this line? FORTRAN_USES= fortran Or are you saying that building mpich with non-default gcc is problematic because all its dependencies should be built with the same gcc version? Thanks Anton From owner-freebsd-fortran@freebsd.org Mon Feb 22 09:06:10 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 ED7DBAAF277 for ; Mon, 22 Feb 2016 09:06:09 +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 D34E4175A for ; Mon, 22 Feb 2016 09:06:09 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CFB32AAF275; Mon, 22 Feb 2016 09:06:09 +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 CF247AAF274; Mon, 22 Feb 2016 09:06:09 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay116.isp.belgacom.be (mailrelay116.isp.belgacom.be [195.238.20.143]) (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 B2AE01759; Mon, 22 Feb 2016 09:06:08 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DbAgAHzspW/yiK8VFeDoMsUm26VAENgWghhWwCgTM5FAEBAQEBAQFkJ4RBAQEBAwE6HCMQCw4KCSUPKh4GE4gSDAq2LQEBAQEBAQEDAQEBAQEBGopNiG8FlweFV4d+aH1Kg3mIVI5JHgEBQoMpPDsuiDABAQE 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 10:01:51 +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 u1M91nGC091834; Mon, 22 Feb 2016 10:01:50 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 22 Feb 2016 10:01:49 +0100 From: Tijl Coosemans To: Anton Shterenlikht Cc: thierry@FreeBSD.org, fortran@freebsd.org, freebsd-ports@freebsd.org, theraven@FreeBSD.org Subject: Re: help make port for opencoarrays Message-ID: <20160222100149.05fbca90@kalimero.tijl.coosemans.org> In-Reply-To: <201602212151.u1LLpRBB085896@mech-as222.men.bris.ac.uk> References: <20160221164250.GC2122@graf.pompo.net> <201602212151.u1LLpRBB085896@mech-as222.men.bris.ac.uk> 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 09:06:10 -0000 On Sun, 21 Feb 2016 13:51:28 -0800 (PST) Anton Shterenlikht wrote: > From thierry@pompo.net Sun Feb 21 17:36:47 2016 >> Le mer 17 f_v 16 _ 23:50:37 +0100, Anton Shterenlikht >> _crivait_: >>> Please help/advise >>> >>> https://github.com/sourceryinstitute/opencoarrays >>> >>> It requires mpich built with at least gcc5.3, >>> more specifically mpif90 built with gcc5.3 or gcc6. >>> net/mpich has FORTRAN_USES=fortran, which I understand >>> triggers lang/gcc. >>> >>> Is it a good idea (or at all possible) to add >>> an option to net/mpich to choose a particular >>> gcc version? >>> >>> Any other advice? >> >> ATM Fortran in FreeBSD is in a very bad shape, and, as you know, we >> encounter difficulties with several ports (french/aster, cad/salome, >> etc.) caused by a mix between clang and Gcc, and thus libstdc++ / >> libc++. 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). >> If building mpich with a newer Gcc could solve the problem with >> opencoarrays, I'm afraid it would cause uncompatibilities in other >> dependencies - but unfortunately I cannot suggest a better alternative! > > Well, I'm only asking for an option in the port. > The default will not change. > > I'll have a go locally and see what happens. > But I'm not sure what option to use to build > with e.g. GCC6. Is it this line? > > FORTRAN_USES= fortran > > Or are you saying that building mpich with > non-default gcc is problematic because all > its dependencies should be built with the > same gcc version? Users can change ports tree default versions by setting DEFAULT_VERSIONS in /etc/make.conf: DEFAULT_VERSIONS= gcc=5 DEFAULT_VERSIONS is handled in /usr/ports/Mk/bsd.default-versions.mk and /usr/ports/Mk/Uses/fortran.mk uses it to select the Fortran compiler. So with the line above the Fortran part of net/mpich will be built with lang/gcc5. In your opencoarray port I think you can do something like this: ... USES= fortran ... .include .if ${GCC_DEFAULT:R} < 5 IGNORE= This port requires that the default GCC version is 5 or higher .endif ... .include From owner-freebsd-fortran@freebsd.org Mon Feb 22 09:50:19 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 62D05AB0798 for ; Mon, 22 Feb 2016 09:50:19 +0000 (UTC) (envelope-from theraven@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 4F0761EDA for ; Mon, 22 Feb 2016 09:50:19 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4B62FAB0797; Mon, 22 Feb 2016 09:50:19 +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 4AE6EAB0796; Mon, 22 Feb 2016 09:50:19 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 216F71ED9; Mon, 22 Feb 2016 09:50:17 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.0.7] (cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id u1M9o7jf096327 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Feb 2016 09:50:09 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150] claimed to be [192.168.0.7] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: help make port for opencoarrays From: David Chisnall In-Reply-To: <20160222100149.05fbca90@kalimero.tijl.coosemans.org> Date: Mon, 22 Feb 2016 09:50:01 +0000 Cc: Anton Shterenlikht , thierry@FreeBSD.org, fortran@freebsd.org, freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <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> To: Tijl Coosemans X-Mailer: Apple Mail (2.2104) 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 09:50:19 -0000 On 22 Feb 2016, at 09:01, Tijl Coosemans wrote: >=20 > 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. Mixing libstdc++ = and libc++ is fine if both sit on top of libcxxrt and no standard = library types cross library boundaries, but is problematic otherwise = (the good news is that you=E2=80=99ll get linker failures if they do try = to cross library boundaries, unless they=E2=80=99re thrown as = exceptions). David 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?