Hi Luis-

If I recall correctly:  The ExtUtils::F77 is used to check for
fortran and the libraries needed to compile a Perl XS module.
As such, the output of the libraries is washed through the
ExtUtil::MakeMaker libs() routine which will drop libraries
that do not exist.

Are you using the libraries for another purpose (i.e. non-perl XS)?
If so, please submit a bug report to the CPAN bug for ExtUtils::F77
and include the failure that the current extra-but-no-op libraries
causes.

--Chris

On 2/24/2016 21:56, Luis Mochan wrote:
I just made tests on another computer where I have ExtUtils::F77
version 1.18 installed and I downloaded version 1.19.


   $ perl -MExtUtils::F77 -e ''

   ExtUtils::F77: Version 1.18
   Loaded ExtUtils::F77 version 1.18
   Found compiler f77
   Found compiler gfortran
   ExtUtils::F77: Using system=Linux compiler=GNU
   Runtime: -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib -lgfortran -lm
   ExtUtils::F77: Validating -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib 
-lgfortran -lm   [ok]
   ExtUtils::F77: Compiler: gfortran
   ExtUtils::F77: Cflags:

   $ perl -Mblib -MExtUtils::F77 -e ''

   ExtUtils::F77: Version 1.19
   Loaded ExtUtils::F77 version 1.19
   Found compiler f77
   Found compiler gfortran
   ExtUtils::F77: gfortran version 5.3.1
   ExtUtils::F77: gfortran version 5.3.1
   ExtUtils::F77: Using system=Linux compiler=GNU
   Runtime: -L/usr/lib/gcc/x86_64-linux-gnu/5 -lgcc_ext.10.5 -lgcc_s.10.5  
-lquadmath -L/usr/lib -lgfortran -lm
   Found compiler=GNU - skipping validation of 
-L/usr/lib/gcc/x86_64-linux-gnu/5 -lgcc_ext.10.5 -lgcc_s.10.5  -lquadmath 
-L/usr/lib -lgfortran -lm
   ExtUtils::F77: Compiler: gfortran
   ExtUtils::F77: Cflags:

Again, version 1.19 adds the non-existing libraries  -lgcc_ext.10.5
-lgcc_s.10.5

I checked the diffs on the two sources of F77.pm (attached)
I guess the problem is in the lines:
            if ($compiler eq 'GNU') { # Special gfortran case since it seems to 
have lots of random libs
               print "Found compiler=$compiler - skipping validation of $Runtime 
\n";
}else {
               $ok = validate_libs($Runtime) if $flibs ne "" ;
           }
and
     # Sigh special case random extra gfortran libs to avoid PERL_DL_NONLAZY 
meltdowns. KG 25/10/2015
     $append = "";
     if ($compiler eq 'gfortran' && $version >= 4.9) { # Add extra libs for 
gfortran versions >= 4.9
#    if ($compiler eq 'gfortran' && $Config{osname} =~ /darwin/ && $Config{osvers} 
>=14) { # code variant for OS X only
        $append = "-lgcc_ext.10.5 -lgcc_s.10.5 -lquadmath";
     }
     return( "-L$dir $append -L/usr/lib -l$lib -lm" );

Regards,
Luis




------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140


_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to