------- Comment #1 from kargl at gcc dot gnu dot org 2010-01-01 00:46 ------- Can you please read how to submit a bug report? I can't find anywhere were it states that a Bourne shell script should be submitted. It simply makes it almost impossible to read the actual bug report. In fact, all the crap with nm and ar is just unneeded cluttered.
% gfc4x -c a2.f90 % ar -cur libex.a a2.o % gfc4x -o z a1.f90 -L. -lex % ./z chars=abcdefghijklmnopqrst<remainder deleted> *missingBlockData* loaded common block % gfc4x -c a2.f90 a1.f90 % ./z chars=abcdefghijklmnopqrst<remainder deleted> *missingBlockData* loaded common block % gfortran44 -c a2.f90 % ar -cur libex.a a2.o % gfortran44 -o z a1.f90 -L. -lex % ./z chars=abcdefghijklmnopqrst<remainder deleted> *missingBlockData* loaded common block % gfortran44 -o z a1.f90 a2.f90 % ./z chars=abcdefghijklmnopqrst<remainder deleted> *missingBlockData* loaded common block Appears to work for me. Where did you get your copy of gfortran? -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42568