------- 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