From owner-freebsd-ports@freebsd.org Fri Aug 17 10:56:30 2018 Return-Path: Delivered-To: freebsd-ports@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 ADD1A1066405 for ; Fri, 17 Aug 2018 10:56:30 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay107.isp.belgacom.be (mailrelay107.isp.belgacom.be [195.238.20.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EC7477455 for ; Fri, 17 Aug 2018 10:56:29 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3A3PQ67RDUq6dz8hOolPGRUyQJP3N1i/DPJgcQr6?= =?us-ascii?q?AfoPdwSPT7ocbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBV?= =?us-ascii?q?cuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx?= =?us-ascii?q?7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswR?= =?us-ascii?q?XTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3?= =?us-ascii?q?sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qi?= =?us-ascii?q?qp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2?= =?us-ascii?q?pMRshfWSxfDI2hbIUADeQBMulEoIfyvFYOsRmzCRWwCO/z1jNEmHn71rA63e?= =?us-ascii?q?Q7FgHG2RQtEcwLsnTQsd74KqASUeeuzKbWyDXMdfVW2Szg44XPbhAhoPOMXb?= =?us-ascii?q?ZrfMTR00kgCR3Kg0iNp4LrJT+V0f4Ns2eC4udmSOmhhWknqwRrrTiuwMchkp?= =?us-ascii?q?XGhocNylDA+iR12ps1Jd6+RUVmYtCkCINduiKYOodsQ84vQntktDs5x7Ebo5?= =?us-ascii?q?K3YSkHxZchyhXCcfKIaZKI7QjmVOuJJDd4g29qd6ynihap9Eig1vX8Vs6p0F?= =?us-ascii?q?ZWtiZFksfDtnQK1xHL6ciIUP99/kak2TmRzQDT7ftIIVw1larZL54t2KI/lp?= =?us-ascii?q?0UsUTYACD2nV/5jKmNdkk+/eio8evnbq3npp+aKYB0lhnzP6csl8ClAOk1Mx?= =?us-ascii?q?ICU3WY9OihzrHv4Ez0TbZSgv0ziKbZsZTaJcoBpq6+Bg9Yypoj6xe9Dzeiy9?= =?us-ascii?q?kYk2MHI0xbdx2clIjmJkvCIPfiDfewm1isiitkx+jaPr39BZXANnbDkK3/cr?= =?us-ascii?q?lj8EFc0xc8wclH55JTELEBPOnzV1T/tNzCEBA2LRe7w/36B9ln0YMeQ22PUe?= =?us-ascii?q?elN/b7t0OP4KoUI/WBfoITvDf+K+Rts/f1pXQ8gVsNO7Sqi8g5cne9S8iBJw?= =?us-ascii?q?2yZn33j9IIF3xC6hY/TujCpkePXBRoSzC1Ra1qtWJzM56vEYqWHtPlu7eGxi?= =?us-ascii?q?ruW8QOPm0=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BlBwBFqHZb/6i1QldcHAEBAQQBAQo?= =?us-ascii?q?BAYNPY38ojFiLPgEBggwzAYkMhBGDdoZKKoRNAoNFIjcVAQIBAQIBAQIBbBw?= =?us-ascii?q?MQg4BgWQkAYJeAQU6HCMQCw4KCSUPKh4GE4MjggWqNYg7gimJL4IAhCSKVgK?= =?us-ascii?q?ICYU9jTQJhimJLCCCBowyK4pggUmIKiKBUk0wCIMkCY1yglo9MIN3iX4BAQ?= X-IPAS-Result: =?us-ascii?q?A2BlBwBFqHZb/6i1QldcHAEBAQQBAQoBAYNPY38ojFiLP?= =?us-ascii?q?gEBggwzAYkMhBGDdoZKKoRNAoNFIjcVAQIBAQIBAQIBbBwMQg4BgWQkAYJeA?= =?us-ascii?q?QU6HCMQCw4KCSUPKh4GE4MjggWqNYg7gimJL4IAhCSKVgKICYU9jTQJhimJL?= =?us-ascii?q?CCCBowyK4pggUmIKiKBUk0wCIMkCY1yglo9MIN3iX4BAQ?= Received: from 168.181-66-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.66.181.168]) by relay.skynet.be with ESMTP; 17 Aug 2018 12:55:20 +0200 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 w7HAtJgd077352; Fri, 17 Aug 2018 12:55:19 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Fri, 17 Aug 2018 12:55:18 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Anton Shterenlikht Cc: freebsd-ports@freebsd.org Subject: Re: DEFAULT_VERSIONS=gcc=8 results in gfortran7 Message-ID: <20180817125518.6059ecba@kalimero.tijl.coosemans.org> In-Reply-To: <20180817102453.GA28396@jail0199.vps.exonetric.net> References: <20180817102453.GA28396@jail0199.vps.exonetric.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 10:56:30 -0000 On Fri, 17 Aug 2018 10:24:53 +0000 Anton Shterenlikht wrote: > I got no replies from fortran@, reposting here. > > I'm building with synth. > jrmarino says this should work, > i.e. the problem is not in synth. > > I have DEFAULT_VERSIONS=gcc=8 in synth make.conf: > > # cat /usr/local/etc/synth/LiveSystem-make.conf > DEVELOPER=yes > FFLAGS+= -O2 -pipe -march=bdver2 -mtune=bdver2 > FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize > FFLAGS+= -g > DEFAULT_VERSIONS=gcc=8 > > However, when building net/mpich, gfortran7 is used: > > -------------------------------------------------- > -- CONFIGURE_ENV > -------------------------------------------------- > PKG_CONFIG=pkgconf > F77="gfortran7" > FC="gfortran7" > > Here's the full log: > > http://cmplx.uk/net___mpich.log > > Should setting DEFAULT_VERSIONS=gcc=8 in make.conf > be sufficient to force the use of gfortran8? > > Looking at /usr/ports/Mk/Uses/fortran.mk, my answer is yes. "make DEFAULT_VERSIONS=gcc=8 -V FC" prints gfortran8 here so it should work. Make sure you don't set DEFAULT_VERSIONS elsewhere and that the make.conf is actually used (insert a .error directive or something and check that it fails).