This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2010 03:25:22 -0000
- Subject: [Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library
- References: <bug-42568-18131@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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