This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, RFA]: cygming, darwin, freebsd: Build libgcc2 TCmode complex functions
On Wed, 2010-09-01 at 14:44 +0100, IainS wrote:
> On 1 Sep 2010, at 13:55, Uros Bizjak wrote:
>
> > Attached patch enables building of TCmode complex functions from
> > libgcc2 for cygwin, darwin and freebsd targets. The patch also removes
> > linux64.h defines since these are already defined in linux.h.
>
> darwin;
>
> this seems to conflict with LIB2_SIDITI_CONV_FUNCS (set in i386/t-
> darwin) [multiply defined symbols => bootstrap fail]
>
> AFAICT from grep, LIB2_SIDITI_CONV_FUNCS is only used by darwin and
> mips.
>
> It's not a simple matter of removing it ...
> Perhaps an additional conditional in libgcc/Makefile.in will solve
> this - I'll try and take a look later.
It looks that you should enable softfp_exclude_libgcc2 := y to filter
out old functions. However, I'd investigate why darwin needs
LIB2_SIDITI_CONV_FUNCS in the first place...
Uros.