From owner-freebsd-fortran@FreeBSD.ORG Fri Oct 11 13:44:34 2013 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 ESMTP id 7D4F340A; Fri, 11 Oct 2013 13:44:34 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C7CC261C; Fri, 11 Oct 2013 13:44:34 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id r9BDiPdG019825; Fri, 11 Oct 2013 06:44:25 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id r9BDiPc1019824; Fri, 11 Oct 2013 06:44:25 -0700 (PDT) (envelope-from sgk) Date: Fri, 11 Oct 2013 06:44:25 -0700 From: Steve Kargl To: Anton Shterenlikht Subject: Re: lang/gcc built in poudriere: /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to 'sinhl@FBSD_1.3' Message-ID: <20131011134424.GA19792@troutmask.apl.washington.edu> References: <201310111107.r9BB73dx080515@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201310111107.r9BB73dx080515@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: fortran@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2013 13:44:34 -0000 On Fri, Oct 11, 2013 at 12:07:03PM +0100, Anton Shterenlikht wrote: > I've never seen this error before: > > $ gfortran46 z.f90 > /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `sinhl@FBSD_1.3' > /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `coshl@FBSD_1.3' > /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `tanhl@FBSD_1.3' > collect2: ld returned 1 exit status > $ > > I've built lang/gcc inside a poudriere, > then installed on another box, and got > this error. > > Any ideas? > The math library on the poudriere box has sinhl, coshl, and tanhl. The math library on the 'another box' is missing sinhl, coshl, and tanhl. -- Steve