This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: For testing: full __float128 patch
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, FX <fxcoudert at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sun, 29 Aug 2010 16:47:08 -0700
- Subject: Re: For testing: full __float128 patch
- References: <1283114926.2376.4.camel@localhost.localdomain>
On Sun, Aug 29, 2010 at 10:48:46PM +0200, Uros Bizjak wrote:
> Hello!
>
> > On Sun, Aug 29, 2010 at 09:01:49AM +0200, FX wrote:
> > > GCC >= 4.5 is needed. I'll add a check to libquad's configure.
> > >
> > > FX
> > >
> >
> > Further testing on i386-*-freebsd runs into undefined symbols.
> >
> > libquad.so: undefined reference to `__getf2'
> > libquad.so: undefined reference to `__eqtf2'
> > libquad.so: undefined reference to `__addtf3'
> > libquad.so: undefined reference to `__floatsitf'
> > libquad.so: undefined reference to `__trunctfxf2'
> > libquad.so: undefined reference to `__divtf3'
> > libquad.so: undefined reference to `__letf2'
> > libquad.so: undefined reference to `__unordtf2'
> > libquad.so: undefined reference to `__fixtfdi'
> > libquad.so: undefined reference to `__fixtfsi'
> > libquad.so: undefined reference to `__lttf2'
> > libquad.so: undefined reference to `__netf2'
> > libquad.so: undefined reference to `__extendxftf2'
> > libquad.so: undefined reference to `__extenddftf2'
> > libquad.so: undefined reference to `__multf3'
> > libquad.so: undefined reference to `__gttf2'
> > libquad.so: undefined reference to `__subtf3'
> > libgfortran.so: undefined reference to `__floatunditf'
> > libquad.so: undefined reference to `__trunctfdf2'
> >
> >
> > AFAICT, these should come from libgcc_s.so.1, but for whatever
> > reason these are missing. I have been unable to find how
> > to induce gcc to build the required files.
>
> Try to build gcc with attached patch...
>
Thanks for the patch. It is clearly a step in the right
direction. Unfortunately, my build dies with fixtfti.c,
fixunstfti.c, floattitf.c, and floatuntitf.c, which I
assume are used with conversions involving TI and TF modes.
If I use #if 0 ... #endif to block out the code in
those files, my build proceeds to libgomp, which dies with
only two missing symbols,
/usr/home/kargl/gcc/obj4x/./gcc/libgcc_s.so: undefined reference to `__fabstf2'
/usr/home/kargl/gcc/obj4x/./gcc/libgcc_s.so: undefined reference to `__copysigntf3'
I suppose this means that on FreeBSD, I need to enable TI mode
as well as TF.
--
Steve