Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 22:34:28 -0500
From:      Kyle Evans <kevans91@ksu.edu>
To:        <freebsd-arm@freebsd.org>
Subject:   libm long double functions on ARMv6.
Message-ID:  <CACNAnaE3kERen0FMCtw%2BDHoYjj2QVKsP2_FPwYbLax9x7rgoUA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

(Posting this to freebsd-arm@ alone, because I'm at a loss as to where
else this may belong and it is at least relevant to FreeBSD on ARM)

Upon reviewing net/freerdp's build log [1] for ARMv6, it appears that
the `fmodl` symbol does not properly resolve on ARMv6. [2] would seem
to indicate (to me, at least) that this is unexpected behavior, and
that `fmodl` should be happily aliased to `fmod` on platform (along
with a couple of others).

However, I'm not seeing any evidence that this aliasing actually
happens in FreeBSD. On the other hand, I'm also expecting to see
something as obvious as NetBSD's [3], where it explicitly does a
__strong_alias(__ieee754_fmodl, __ieee754_fmod). Is there some other
magic that should be at play that is missing, or is this otherwise
intended?

[1] http://files.kyle-evans.net/freebsd/freerdp-1.2.0_7.log
[2] https://svnweb.freebsd.org/base/head/lib/msun/Makefile?view=markup#l100
[3] http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libm/src/e_fmod.c?rev=1.12&content-type=text/x-cvsweb-markup&only_with_tag=MAIN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaE3kERen0FMCtw%2BDHoYjj2QVKsP2_FPwYbLax9x7rgoUA>