FreeCAD 0.17 && /lib//libgcc_s.so.1

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Feb 22 15:57:03 UTC 2019


On Fri, Feb 22, 2019 at 09:32:03AM -0500, Ed Maste wrote:
> On Thu, 21 Feb 2019 at 16:47, Steve Kargl
> <sgk at troutmask.apl.washington.edu> wrote:
> >
> > The missing symbols are
> >
> > % objdump -x lib/libgfortran.so | grep GCC_4.6.0 | awk '{print $5}' | sort
> 
> Thank you for collecting these.
> 
> > It looks like we may be able to grab some of these from libc/softfloat:
> > getf2.c, gttf2.c, letf2.c, lttf2.c, netf2.c.
> >
> > It looks like we might be able to grab a few more from NetBSD:
> > eqtf2.c and unordtf2.c
> 
> All seven of these are available in compiler-rt, I believe they just
> need to be built and added to the version map.
> 
> That leaves: __addtf3 __divtf3 __floatditf __floatsitf __floatunditf
> __multf3 __subtf3
> 
> compiler-rt also has these, but provided only in this case:
> #if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT)

gfortran provides a REAL(16) type, which is an implementation
of IEEE 754 binary128.  If the architecture has a 128-bit float
type such as sparc64, there isn't a problem.  If the 128-bit
is available from the architecture such as i386, then it uses
GCC __float128 software implementation.  If compiler-rt has
these functions, are they compatiable with GCC's __float128.

-- 
Steve


More information about the freebsd-ports mailing list