[Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 4 03:25:00 GMT 2010



------- Comment #8 from jvdelisle at gcc dot gnu dot org  2010-01-04 03:25 -------
OK, I could not get the script to run for some reason.

However, I manually performed the steps in the script:

   gfortran-4 -c juinit2.f 
   ar -r libex.a juinit2.o
   gfortran-4 bug.f -L. -lex -o bug
   ./bug

and I get the bad result.  Doing this with g77 works fine.  The issue seems
related to trying to use juinit2.o from the created library libex.a

Sorry this took me a while to see what this was about.  I resproduced this
problem on Cygwin.  I have not tried on Linux yet.


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-04 03:25:21
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42568



More information about the Gcc-bugs mailing list