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