From owner-freebsd-fortran@FreeBSD.ORG Mon Sep 8 20:59:37 2014 Return-Path: Delivered-To: fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64548428 for ; Mon, 8 Sep 2014 20:59:37 +0000 (UTC) Received: from nm14-vm0.bullet.mail.bf1.yahoo.com (nm14-vm0.bullet.mail.bf1.yahoo.com [98.139.213.164]) (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 08FB61B88 for ; Mon, 8 Sep 2014 20:59:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1410209967; bh=BnxdYyJ6wup2qy2ECQIsxOd9UINBG8Lkh46O8MsyAtc=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:From:Subject; b=r9QkL+pWnXv6ROYs7XMRO6qaRzzsyaMx3MsnEfdaz8qURDydTsx8qbdp57KuMsoTfbMLDZOSdqqkNWq2wF/so/Y2iwwhNP5Gq16VwJOoh6ruj0TLvTc75tCys2lTLwNxaxwIxDBH8AfH0IpMSScXjr0HNisNd8PQcg6N2a2pSbsnTJx9+I1n6E+7PRj54dsFWOtuTbRip8lFzoYYFhR947qQJI31eWYRpetnWlVSAXfnV9h9GyNHtiBp4d4lEbBsOAuPZEvcMFLMge3DhO1YRYgfwxp/6jKFBxV7Z3OU3FxBwn1g3pJAfg7TujdT99qysIl/iV+9PBAGE910mkeGXA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=E/MvqTSB4oIUmpEf1THt6jm/7oEThYAUguoF8IpGO4KzWulLUzf7nI3x8v8/fnkHvZn0TiH3OcWuq4bp4oP/q4XnhkfqdKyC5w5SvmakrGS3Kwu4n2ENCpyfx+QDCOYZPUMmLglKUkHfWxxQEi+cZPuLf2qNPijcCw6ucAu00kyaUZwoHCAcy5npYRU+Xc3M8mN+cEgvbxlTPSFula2kdeYWcDF+Km2wUcGvTZllSxZx4o9/Elw9Md1WIJULXQ9yKicFto5w4K1m/ULUfh4SqKcVrIJzLkGWA0F5z29ew6xd1VIirxJW6Zpix9mfL0MQfK0i8/NfmYpKFXlHBujVng==; Received: from [98.139.212.149] by nm14.bullet.mail.bf1.yahoo.com with NNFMP; 08 Sep 2014 20:59:27 -0000 Received: from [98.139.213.10] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 08 Sep 2014 20:59:27 -0000 Received: from [127.0.0.1] by smtp110.mail.bf1.yahoo.com with NNFMP; 08 Sep 2014 20:59:27 -0000 X-Yahoo-Newman-Id: 747661.48821.bm@smtp110.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: p9LwEJ8VM1lrq2VHvFoykIoRq3krFV43L5xLYcyTQHwT6KT T0gpmuIL8Y1YX02RZOadB5jGwHJalELA8JPLmXsT.PXVhXhGME6cQ5in4evA t_J0o12XwcaCEq1gGVqD1WTRarcfYnFKSKLxl_KYKJcT9H1ZbdmntGDCKrIf tAItplRCxQ0u5uDFDEh7kPLBQOVnNDP2UFZ3ty6mqr4wnzu44K5wncS3KTYJ syWmie5qcnA.CfBme1EwUV2hZWLfJ3DWUDfwxjE54sGjvp6H_Xdjh1lfzqKD 1GCFiEMnX7995axecoqQImTZ6IaJYS5vS_2xO6J6HTpnHLxYoM31c47owKZH hDZb1inK2VkIpn1xkiULLgBenPTvS.zarpCj0SQRixB_xZ6IIBiVVR43BtPe ZfsgRIxTPZwfmfbM4wb3uFsXD2gpq3uhwNO6GQ2TLG3_7ZUZyjvsnynZnM8C ignH69lUiNpPPmPu3K2CuusntmOxBTesJrXGIBneI_Abv8TmCeX1N6locVCt keCUY44BHUrP7cjkIepjzlsJf.ub8fYe7LAOM0LiVpKbm1lav6hdt7I_xG8C HJEGgBbmoy3iMhknuLLFS4fOefEYjfeqwj3_au5BQvHIwuByLleQuiipOqeB mksuZKzr6ilHOI9cLsGyiczzuTqJeBr46XEKjHvRlNQmrzgWn0JNZINTpeSv q3NX7 X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <540E18DB.3020006@freebsd.org> Date: Mon, 08 Sep 2014 16:00:11 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: fortran@FreeBSD.org Subject: Help with gfortran Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 20:59:37 -0000 Hi; I had a try at resurrecting the long-ago-extinct elmer-fem port. WIP: https://people.freebsd.org/~pfg/ports/elmerfem.tar.gz Unfortunately I seem stuck in an error: ____ ... gfortran47 -Wl,-rpath=/usr/local/lib/gcc47 -fPIC -I. -Ibinio -I../binio -c ViewFactors.f90 gfortran47 -L. -L/usr/ports/cad/elmerfem/work/stage/usr/local/elmer/lib \ -o ViewFactors ViewFactors.o mpi_stubs.o \ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a -L/usr/local/lib -lblas -L/usr/lib -lc++ -lm -lgcc_s -lgcc_s /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__getf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__floatunditf@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__subtf3@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__multf3@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__unordtf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__lttf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__addtf3@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__gttf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__divtf3@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__letf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__netf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__floatditf@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__trunctfdf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__eqtf2@GCC_4.6.0' /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so: undefined reference to `__floatsitf@GCC_4.6.0' collect2: error: ld returned 1 exit status gmake[4]: *** [ViewFactors] Error 1 gmake[4]: Leaving directory `/usr/ports/cad/elmerfem/work/elmerfem-code-6853-trunk/fem/src' gmake[3]: *** [all-recursive] Error 1 ... ____ This is FreeBSD 10 and I don't have gcc46 installed. I took the time to rebuild blas, lapack and arpack, which are dependencies. Any idea what is going on and, most importantly, how to fix it? Regards, Pedro. From owner-freebsd-fortran@FreeBSD.ORG Mon Sep 8 21:12:33 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7D729D6 for ; Mon, 8 Sep 2014 21:12:33 +0000 (UTC) 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 "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 640B61D74 for ; Mon, 8 Sep 2014 21:12:29 +0000 (UTC) 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 9BD9F7E0E0 for ; Mon, 8 Sep 2014 23:12:26 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id 213FB71E58A; Mon, 8 Sep 2014 23:12:26 +0200 (CEST) Date: Mon, 8 Sep 2014 23:12:26 +0200 From: Thierry Thomas To: freebsd-fortran@freebsd.org Subject: Re: Help with gfortran Message-ID: <20140908211226.GA98814@graf.pompo.net> Mail-Followup-To: freebsd-fortran@freebsd.org References: <540E18DB.3020006@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <540E18DB.3020006@freebsd.org> X-Operating-System: FreeBSD 10.0-STABLE 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.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 21:12:33 -0000 Le lun 8 sep 14 à 23:00:11 +0200, Pedro Giffuni écrivait : > Hi; Hello Pedro, > I had a try at resurrecting the long-ago-extinct elmer-fem port. > WIP: > > https://people.freebsd.org/~pfg/ports/elmerfem.tar.gz > > Unfortunately I seem stuck in an error: > ____ > ... > gfortran47 -Wl,-rpath=/usr/local/lib/gcc47 -fPIC -I. -Ibinio > -I../binio -c ViewFactors.f90 This line is OK: you got "-Wl,-rpath=/usr/local/lib/gcc47" from $FFLAGS. > gfortran47 -L. -L/usr/ports/cad/elmerfem/work/stage/usr/local/elmer/lib \ > -o ViewFactors ViewFactors.o mpi_stubs.o \ > -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a > -L/usr/local/lib -lblas -L/usr/lib -lc++ -lm -lgcc_s -lgcc_s This one is not: $FFLAGS is missing! (for some reason, there is 46 in the name of these symbols, even if they belong to Gcc47!) Best regards, -- Th. Thomas. From owner-freebsd-fortran@FreeBSD.ORG Mon Sep 8 21:33:01 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5E512FA for ; Mon, 8 Sep 2014 21:33:01 +0000 (UTC) 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 "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1B331FBC for ; Mon, 8 Sep 2014 21:33:00 +0000 (UTC) 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 5D8127E0CD for ; Mon, 8 Sep 2014 23:32:59 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id 8E8A471E38C; Mon, 8 Sep 2014 23:32:58 +0200 (CEST) Date: Mon, 8 Sep 2014 23:32:58 +0200 From: Thierry Thomas To: freebsd-fortran@freebsd.org Subject: Re: Help with gfortran Message-ID: <20140908213258.GA48391@graf.pompo.net> Mail-Followup-To: freebsd-fortran@freebsd.org References: <540E18DB.3020006@freebsd.org> <20140908211226.GA98814@graf.pompo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140908211226.GA98814@graf.pompo.net> X-Operating-System: FreeBSD 10.0-STABLE 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.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 21:33:02 -0000 Le lun 8 sep 14 à 23:12:26 +0200, Thierry Thomas écrivait : > > gfortran47 -L. -L/usr/ports/cad/elmerfem/work/stage/usr/local/elmer/lib \ > > -o ViewFactors ViewFactors.o mpi_stubs.o \ > > -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a > > -L/usr/local/lib -lblas -L/usr/lib -lc++ -lm -lgcc_s -lgcc_s > > This one is not: $FFLAGS is missing! Sorry, I meant $LDFLAGS for this one! -- Th. Thomas. From owner-freebsd-fortran@FreeBSD.ORG Wed Sep 10 01:29:10 2014 Return-Path: Delivered-To: fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 748EA38F for ; Wed, 10 Sep 2014 01:29:10 +0000 (UTC) Received: from nm35-vm3.bullet.mail.bf1.yahoo.com (nm35-vm3.bullet.mail.bf1.yahoo.com [72.30.238.75]) (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 1770B6BA for ; Wed, 10 Sep 2014 01:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1410312164; bh=bVsrYAMon4vl/Bocjw3udEPP68JY5Qwc5dzCoJgXue4=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:From:Subject; b=ooUvnsDEdVYoDvSmCcMI7gqGNvcZZ5Zd5kDY2xylUEHqiAf4y3hXTWcarKPAgZcDkwnqYHzmN2jhWuLJahuoQ/S7+sX9e6bcop6/qe8FRDrQ0wYB8eA30Yc0gXSxzAf/Aa10oDv2lW8a8km7tDJY+w7KCw1LscV8cVcvctAKOUthjvJREGkuDO09sNKBNiZdeKC6H+Tk8chsOeaHpwuRkIEWuhutspxjfOhNLsBkMqQBbAkB8gIhMXGmCSpSpGbfVOvrdaUtefjfq8y/2NWF1iMFyV2EkqR1PqIfxLs+HTsBIiRMTyJOuiHnaTfDJPdkE4X19G07iBBU3fJBt0QKWA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=WFYCBI8WShxintnn3Qzj9lM0xUOy6QEzHuuo/5ZNvbybKs9Fp2LEQr6611UF/Ml5Z9ysjkVbxVlHgFGr5r883VNXCyqUN612xcGCjeEjDlI3Zz1A1DzFTdYhBVw/DCVm5v/FDoL+E+PSiFIj3oHlqV8zIIKGZ2y6RpFsX24iELCVDClAl6kx1eNo6JhGxLU3Eriwwin9X1iQWG0E7NT8pW/02Cr/cQAiNToV1UdeU7dQ8adNNTT8ktUmmG4kAVbqeMA5KwvBGyoE2XF5D1ns3UUBblXIXxGmrpaI9V+tJJssJpGndinX2dtG4X3nGExKrJ0cnYbpOQBTdspj0XPGDQ==; Received: from [98.139.215.142] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 10 Sep 2014 01:22:44 -0000 Received: from [98.139.213.9] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 10 Sep 2014 01:22:44 -0000 Received: from [127.0.0.1] by smtp109.mail.bf1.yahoo.com with NNFMP; 10 Sep 2014 01:22:44 -0000 X-Yahoo-Newman-Id: 145608.42478.bm@smtp109.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: EvgE7JEVM1n5dm4b_C5mjd.5kzPpzj6u_diIYE7vBN9virQ IPnFDO5yPwq3GM8LFgMzL9u_32jCRbK3wEm_rKNrR1AK_wzk0MQ_34gDU5o2 hXq9W8nVFIDJmWxs1QKkvEjCbnOHlnNdeIYC5bSQL_s8WyQrAXFrEpCHrBLF boI0kK7V8fvbPTcVSeIptkF9qpc_gACnvPnCjcOZQoIMcuCa67rIycEV.72X kJbYZepcxRF.IS.DopzaGQFRAdilHb8PVQjFStWj.CmJh.kT.tY8hMlHAuUa JuzKVu2TeqV1FMKVoAFCXk5aN2r5EtFurFG2755p49UnYosZeJ3rGjc9wwrx TtpViOJbP.3dYJVJUwdZJFZM.IsqqURlo31b00MTdyRW_FlWz8vi94aC5HlR wWtzjsoSN6jpOCslzJEyZLK4xoIu8fjQb9LRuQBMVPEETNsgJ1XpRAX0VAqo Tn8PhJDPC81FkMVAFP3atAMQ_Wb4YSE9CgLuKFJ0KCHAAA0.miYX1BIi1bIV Y8cWXP2Mp3K2ssIN02kBx4fUR2NITltZv8v6i.omBOi3qlKRdnLlWNdFR_Lw 8d0ZhpB37Yu4IJiyb4vizkolnrTLj8o9M_OwDGj1zs3.nrmoOEDp9hlR..cG j5kim3JWi X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <540FA812.1050606@freebsd.org> Date: Tue, 09 Sep 2014 20:23:30 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: fortran@FreeBSD.org Subject: Re: Help with gfortran References: <540E18DB.3020006@freebsd.org> In-Reply-To: <540E18DB.3020006@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 01:29:10 -0000 JFYI ... I found it. On 09/08/14 16:00, Pedro Giffuni wrote: > Hi; > > I had a try at resurrecting the long-ago-extinct elmer-fem port. > WIP: > > https://people.freebsd.org/~pfg/ports/elmerfem.tar.gz > > Unfortunately I seem stuck in an error: > ____ > ... > gfortran47 -Wl,-rpath=/usr/local/lib/gcc47 -fPIC -I. -Ibinio > -I../binio -c ViewFactors.f90 > gfortran47 -L. > -L/usr/ports/cad/elmerfem/work/stage/usr/local/elmer/lib \ > -o ViewFactors ViewFactors.o mpi_stubs.o \ > -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a > -L/usr/local/lib -lblas -L/usr/lib -lc++ -lm -lgcc_s -lgcc_s The main problem was that it was trying to link the C++ libraries here at the end and it was finding libstdc++. In this port I am using gfortran with clang. I did as in the windows case, I just removed the C++ stuff and now I got it to build. I still have to do some testing before I finish the port. While here, I think it should be possible to drop libstdc++ into an independent port and have all the g++ ports use libc++ by default. Pedro. From owner-freebsd-fortran@FreeBSD.ORG Wed Sep 10 02:26:41 2014 Return-Path: Delivered-To: fortran@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E15151D7; Wed, 10 Sep 2014 02:26:41 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask.apl.washington.edu", Issuer "troutmask.apl.washington.edu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A4C3EC27; Wed, 10 Sep 2014 02:26:38 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id s8A2QWf6070327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Sep 2014 19:26:32 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id s8A2QW7e070326; Tue, 9 Sep 2014 19:26:32 -0700 (PDT) (envelope-from sgk) Date: Tue, 9 Sep 2014 19:26:32 -0700 From: Steve Kargl To: Pedro Giffuni Subject: Re: Help with gfortran Message-ID: <20140910022632.GA70317@troutmask.apl.washington.edu> References: <540E18DB.3020006@freebsd.org> <540FA812.1050606@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <540FA812.1050606@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: fortran@FreeBSD.org X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 02:26:42 -0000 On Tue, Sep 09, 2014 at 08:23:30PM -0500, Pedro Giffuni wrote: > > While here, I think it should be possible to drop libstdc++ into an > independent port and have all the g++ ports use libc++ by default. > I'm no expert on this, but I suspect that g++ will be unhappy with libc++. libstdc++ and libc++ simply are incompatible. -- Steve From owner-freebsd-fortran@FreeBSD.ORG Wed Sep 10 03:18:31 2014 Return-Path: Delivered-To: fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2A321EF for ; Wed, 10 Sep 2014 03:18:30 +0000 (UTC) Received: from nm12-vm0.bullet.mail.bf1.yahoo.com (nm12-vm0.bullet.mail.bf1.yahoo.com [98.139.213.140]) by mx1.freebsd.org (Postfix) with ESMTP id A45CA8E8 for ; Wed, 10 Sep 2014 03:18:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1410319103; bh=vdrqvu3uy4hAfP9pS4/JzxpUZVcplGn8UhUA4Ue6GXA=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:From:Subject; b=fsUcfdO1C0Oh/JyXioVDoYFqB3Rj5d6VUIFlv8UZFQN9+dwSy5sD6v/BSrzk/+yFM1Cn02C3wL3FG3h8BfDx2mfQ277mEgFHVKXu6WnBDkuSCwPC7PmhbRtDPb7wBuhPRJDJ0r+tubNUoflGRqVk/ifZGd8kt9SUpg/18asbzhLwZ1KahG16iJeAokSpQcoDTyII3vasIsUWxsCD10cbPOqS76PhN5sBqEEUIm6SofVVFY0JlNR1uoZaRx8HEpw2/pnBcr9XhlRZmLliUtNM23OW0LPiz30icW8dKKUg1sEKUGdzp3Je6eSjew9JW87qJy+0dbs5lgByeVxrKFjxww== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=aJtR4d9cXjEOLwY59AtqBs7k/kKk1ydrIk1tVY/GE2E14prj6l53TSt+ii+rSPa9K4bUNrwxjgHHksdU+4DKYwg58lofJg8bCBTl3Sw5Fcnxx2a7vOhO/zwpDO38m3DxQxo8PzcNQGZ6TYsm8Amp25O7K8Fr74216vyaUAYVmuqah8noMlkensZQAsfNmsT13jJRFGzYHMArhcsBH1skkjYotkZnwCr5YmRnuE6CRK7WtZRvucRdDA6CUCCCxDWceZKjoJDU/11UjeA7zpvDm0uiVPhKQgCPilTTjUPMSWPmbiBqTj5dQrA22jIgF/BddHnREnXCI+dIjaGmZGiX2w==; Received: from [98.139.212.150] by nm12.bullet.mail.bf1.yahoo.com with NNFMP; 10 Sep 2014 03:18:23 -0000 Received: from [68.142.230.72] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 10 Sep 2014 03:18:23 -0000 Received: from [127.0.0.1] by smtp229.mail.bf1.yahoo.com with NNFMP; 10 Sep 2014 03:18:23 -0000 X-Yahoo-Newman-Id: 417469.1053.bm@smtp229.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: NjaxbIMVM1mBjAhj8CEzwyxWuCRhbKMYPSXSJHekgl2hk5y BGnshVg2rdvMh.RUarc7YzzyiJwB5xsUsnZHHyFGvXLV7bXCdgXdRXcGtGLZ Xa.u4iHML2mOZ_INghQ.K1IfuI60Uiv04uBPSiSapSBPBkjLcPlDX1ThX0Oh gfGqPM5jANg.Jq7vwjCV95xaHttx4lZofrjzTpFf8PoJRmg4Zkz6e9ubdVfz 8Gt6pTI.MLkf0f6Yfji4ePSjc47eDQkhyQ3lOMbEnhT3vrU8Wu5XPMpZgmv8 44WnEePjJB5OKkixI88oahYtcTWRZrckPDmb6sqQkpVaNohsYto0sDTXNR85 xRb9EtAJyfKxJ6dlt_BznOV3uaxpMFQoglu_uJms_St6l0UCT2Dki58S_EIQ k8H7c3xBHLILNZSgknYGqM8fca3c68xUdxnBSY16y7yLnI1WMu2UP9l.zJvn S9TEY6nHV1Rr6KQBZHkaNa4gCk5s3AGovCA6b8zk19xHpXdSUL7qUc1WgTA0 CJ4HPJiSxNrW2eHsY_7.rNJNd0BduT5jCRvaQTKsS0BBGdrki84p7HnnsWzW I7pDIgploOr3GG1BcZnDpLeTRv0vcSMI- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <540FC32E.6000305@freebsd.org> Date: Tue, 09 Sep 2014 22:19:10 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Steve Kargl Subject: Re: Help with gfortran References: <540E18DB.3020006@freebsd.org> <540FA812.1050606@freebsd.org> <20140910022632.GA70317@troutmask.apl.washington.edu> In-Reply-To: <20140910022632.GA70317@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: fortran@FreeBSD.org X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 03:18:31 -0000 On 09/09/14 21:26, Steve Kargl wrote: > On Tue, Sep 09, 2014 at 08:23:30PM -0500, Pedro Giffuni wrote: >> While here, I think it should be possible to drop libstdc++ into an >> independent port and have all the g++ ports use libc++ by default. >> > I'm no expert on this, but I suspect that g++ will be unhappy with > libc++. libstdc++ and libc++ simply are incompatible. > It should be somewhat like using stlport with g++ and libc++ supports the standards well enough that it should just work. At least the contrary; having libstdc++ work compatibly with clang, is already possible: http://clang.llvm.org/cxx_status.html "Clang's C++11 mode can be used withlibc++ or with gcc's libstdc++, but patches are needed to makelibstdc++-4.4 work with Clang in C++11 mode. Patches are also needed to makelibstdc++-4.6 andlibstdc++-4.7 work with Clang releases prior to version 3.2 in C++11 mode.thread_localsupport currently requires the C++ runtime library from g++-4.8 or later." This said, I am not an expert either. Pedro. From owner-freebsd-fortran@FreeBSD.ORG Wed Sep 10 03:40:47 2014 Return-Path: Delivered-To: fortran@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B631EB6C; Wed, 10 Sep 2014 03:40:47 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask.apl.washington.edu", Issuer "troutmask.apl.washington.edu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78C43C20; Wed, 10 Sep 2014 03:40:47 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id s8A3ek8a070583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Sep 2014 20:40:46 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id s8A3ekSC070582; Tue, 9 Sep 2014 20:40:46 -0700 (PDT) (envelope-from sgk) Date: Tue, 9 Sep 2014 20:40:46 -0700 From: Steve Kargl To: Pedro Giffuni Subject: Re: Help with gfortran Message-ID: <20140910034045.GB70488@troutmask.apl.washington.edu> References: <540E18DB.3020006@freebsd.org> <540FA812.1050606@freebsd.org> <20140910022632.GA70317@troutmask.apl.washington.edu> <540FC32E.6000305@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <540FC32E.6000305@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: fortran@FreeBSD.org X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 03:40:47 -0000 On Tue, Sep 09, 2014 at 10:19:10PM -0500, Pedro Giffuni wrote: > > On 09/09/14 21:26, Steve Kargl wrote: > > On Tue, Sep 09, 2014 at 08:23:30PM -0500, Pedro Giffuni wrote: > >> While here, I think it should be possible to drop libstdc++ into an > >> independent port and have all the g++ ports use libc++ by default. > >> > > I'm no expert on this, but I suspect that g++ will be unhappy with > > libc++. libstdc++ and libc++ simply are incompatible. > > > > It should be somewhat like using stlport with g++ and libc++ > supports the standards well enough that it should just work. The problem is that libc++ doesn't support GNU C++. > At least the contrary; having libstdc++ work compatibly with > clang, is already possible: > > http://clang.llvm.org/cxx_status.html > I suspect that that is not even close to what is needed. Last time I tried to use news/pan, it died a miserable death. It uses a g++-ism, which clang does not support, and from what I've inferred from a certain developer clang will never support this g++-ism. When the gcc to clang switch was pulled, news/pan would not build with clang. So someone had the brilliant idea to simpy use g++ with news/pan. Unfortunately, one also needs to re-compile some (all?) libraries, which are written in C++, that news/pan uses because libstdc++ and libc++ are incompatible. I've been down that road. I now use thunderbird to read USENET. :( -- Steve