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 #6 from urbanjost at comcast dot net  2010-01-02 07:50 -------
Subject: Re:  BLOCKDATA referenced in EXTERNAL not loading from library

I am using Vista. I reinstalled. No luck.

 I updated CygWin 1.7 again and did a reinstall on the developer package
and the base package; got the same result, so I used the "dummy procedure" 
kludge as a stop-gap so I  could test the rest of the code. It's about 
70,000
lines, mixes C and Fortran, uses the X11 library, has an interpreter built 
into it  ... so it's not trivial and it seems to be running fine otherwise 
(there is
a basic four-hour suite of tests and it passed).  I was pleasantly surprised 
by this.  By the way, I found several mentions of similar problems on Mac OS 
and
other places dating mostly around 2007 on the Web. Since no one else can 
reproduce this so far, and it works fine on Linux platforms and there are
many work-arounds possible I can understand this being dropped for now if 
you see fit to do so.

If anyone else can reproduce this or has any tests they want me to run on my 
platform let me know. I attached something very similar to the original
test code. If I add a dummy routine in the "blockdata" file; and a "call 
dummy()" everything loads properly. Otherwise, it runs with g77 and g95, but
fails with 4.5.0 and 4.4.3 (which it used to work with) so it seems more and 
more like something is wrong with the loader, not gfortran per-se.

Does anyone know off the bat why G77 and G95 would work and GFORTRAN would 
not?

----- Original Message ----- 
From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: <urbanjost@comcast.net>
Sent: Friday, January 01, 2010 1:35 AM
Subject: [Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading 
from library


>
>
> ------- Comment #5 from jvdelisle at gcc dot gnu dot org  2010-01-01 
> 06:35 -------
> I forgot to mention I am using Cygwin 1.7, so this is beginning to look 
> like
> some sort of installation issue.  The gfortran version 4.5 I downloaded 
> and
> installed per the gfortran wiki.
>
> The other possibility to consider is what version of Windows you are 
> using.  I
> notice some reports on the Cygwin list of Vista and Windows 7 bugs. 
> However,
> these bugs are being actively worked.
>
> Try using Cygwin setup.exe and select the reinstall option for gcc core 
> and
> gfortran.  Also install all updates that are coming in daily almost on 
> cygwin
> as the bugs are getting cleared.
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42568
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter. 


------- Comment #7 from urbanjost at comcast dot net  2010-01-02 07:50 -------
Created an attachment (id=19444)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19444&action=view)


-- 


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]