------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2006-01-01 18:54 ------- Subject: Re: undefined reference to `_gfortran_st_set_nml_var_dim'
> > Hmm, there really has not been any change in libgfortran which could have > > caused this. > > Agreed. Looking at transfer.o, we seem to somehow have lost the > "_gfortran_" prefix: > > 00003a48 T st_set_nml_var > 00003c0c T st_set_nml_var_dim Ok, I see what happened. I had CFLAGS set to "-g -O0" when I did the build. This exposed a bug in transfer.c. At -O0, the assembler output for st_set_nml_var and st_set_nml_var_dim has already been output before the renames are attempted causing the renames to fail. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25622