Skip Menu |

This queue is for tickets about the ExtUtils-F77 CPAN distribution.

Report information
The Basics
Id: 104495
Status: resolved
Priority: 0/
Queue: ExtUtils-F77

People
Owner: Nobody in particular
Requestors: sisyphus [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.18



Subject: MinGW now needs to link to libquadmath.a
Hi, With the latest mingw64-runtime (version 4) libgfortran.a contains some symbols that are resolved by libquadmath.a. Hence this patch to F77.pm in ExtUtils-F77-1.17_01: ############################### --- F77.pm_orig 2015-05-18 20:00:56 +1000 +++ F77.pm 2015-05-18 20:03:29 +1000 @@ -122,7 +122,7 @@ } else { $dir = "/usr/local/lib"; } - return( "-L$dir -L/usr/lib -lgfortran -lm" ); + return( "-L$dir -L/usr/lib -lgfortran -lquadmath -lm" ); }; $F77config{MinGW}{G77}{Trail_} = 1; ############################### Note that if libquadmath.a is non-locatable, the link is automatically removed by EU::MM - so this change will not break existing builds that use the older runtime (and therefore don't need to find and link to libquadmath.a). Without this patch PDL::Slatec will fail to build. Cheers, Rob
On Mon May 18 06:25:24 2015, SISYPHUS wrote: Show quoted text
> With the latest mingw64-runtime (version 4) libgfortran.a contains > some symbols that are resolved by libquadmath.a.
Just correcting that it's actually the version of gcc (ie 4.9.2), not the version of the runtime that's making the difference. (Same action still required.) Cheers, Rob
Subject: Re: [rt.cpan.org #104495] MinGW now needs to link to libquadmath.a
Date: Mon, 18 May 2015 09:47:52 -0400
To: bug-ExtUtils-F77 [...] rt.cpan.org
From: Chris Marshall <devel.chm.01 [...] gmail.com>
Thanks for the patch, Rob. I've been added as co-maintainer for EU::F77 so I'll put that in and push an official release soon.