This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Multiple occurences of __floatsisf in libgcc.a
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Subject: Multiple occurences of __floatsisf in libgcc.a
- From: Kazu Hirata <kazu at hxi dot com>
- Date: Wed, 28 Mar 2001 22:06:01 -0500
Hi,
I am playing with the gcc-3.0 from CVS.
I see multiple occurences of __floatsisf in libgcc.a, one in _floatdisf.o
and another in _si_to_sf.o. The one in _floatdisf.o causes an infinite
loop. That is, the int-float conversion function depends on itself.
__si_to_sf does the job correctly but appears later in the library than
_floatdisf.o, resulting in _floatdisf.o being linked instead. I think this
is a bug in the build machinery. Is there any suggestion on how to fix
this?
By the way, the above is pretty much the same as:
http://gcc.gnu.org/ml/gcc-bugs/2000-10/msg00211.html
Thanks,
Kazu Hirata