From mexas at bris.ac.uk Fri Oct 11 11:07:38 2013 From: mexas at bris.ac.uk (Anton Shterenlikht) Date: Fri, 11 Oct 2013 12:07:03 +0100 (BST) Subject: 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: <201310111107.r9BB73dx080515@mech-cluster241.men.bris.ac.uk> 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 at FBSD_1.3' /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `coshl at FBSD_1.3' /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `tanhl at 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? Thanks Anton From sgk at troutmask.apl.washington.edu Fri Oct 11 13:44:34 2013 From: sgk at troutmask.apl.washington.edu (Steve Kargl) Date: Fri, 11 Oct 2013 06:44:25 -0700 Subject: 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' In-Reply-To: <201310111107.r9BB73dx080515@mech-cluster241.men.bris.ac.uk> References: <201310111107.r9BB73dx080515@mech-cluster241.men.bris.ac.uk> Message-ID: <20131011134424.GA19792@troutmask.apl.washington.edu> 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 at FBSD_1.3' > /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `coshl at FBSD_1.3' > /usr/local/lib/gcc46/gcc/ia64-portbld-freebsd10.0/4.6.3/../../../libgfortran.so: undefined reference to `tanhl at 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