------- Comment #15 from davek at gcc dot gnu dot org  2010-01-04 16:36 -------
(In reply to comment #14)
> (In reply to comment #12)
> > COMMON symbols don't cause members to be pulled in from library archives.  
> > You
> > can omit "-L. -lex" from the final link altogether and get the same result:
> > it's unused.  So the reference from bug.o to _jindx2 doesn't cause the 
> > library
> > archive member to be drawn into the final link.
> > 
> 
> Comment #1 seems to contradict your assertion here.  To repeat, 
> 
> laptop:kargl[207] gfc4x -c a2.f
> laptop:kargl[208] ar -cru libex.a a2.o
> laptop:kargl[209] gfc4x -o z a1.f -L. -lex
> laptop:kargl[210] ./z
>  chars=abcdeabcdeabcdeabcdeabcde
>  *missingBlockData* loaded common block

I can't tell anything from that.  What is gfc4x, and what are a1.f and a2.f?


-- 


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

Reply via email to