This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
- From: "dv at vollmann dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2010 10:56:42 -0000
- Subject: [Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
- References: <bug-45053-3249@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dv at vollmann dot ch 2010-08-11 10:56 -------
Subject: Re: libgcc_s link command misses crtsavgpr_s
and crtresgpr_s for powerpc
@Ian:
> I'm surprised that it doesn't work, as libgcc/config/rs6000/t-ppccomm includes
> crtsavgpr.S and crtresgpr.S in LIB2ADD_ST. I would expect that to include the
> required functions.
Maybe the problem is that the functions are only referenced if you use
-Os. So if there's some automatism going on that collects all the
required symbols, this automatism needs to use -Os for target-optspace.
But I have no real idea how the build process works, so this is just
guessing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053