This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25622] undefined reference to `_gfortran_st_set_nml_var_dim'
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2006 18:54:30 -0000
- Subject: [Bug libfortran/25622] undefined reference to `_gfortran_st_set_nml_var_dim'
- References: <bug-25622-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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