This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]