https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662

--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, May 19, 2021 at 12:56:57AM +0000, yuri at tsoft dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662
> 
> --- Comment #5 from Yuri <yuri at tsoft dot com> ---
> config.log doesn't contain the IEEE string even on amd64.
> 
> libgfortran/configure.host seems to only enable IEEE modules on i?86 | x86_64
> architectures through this code:
> 
> > case "${host_cpu}" in
> >   i?86 | x86_64)
> >     if test "x${have_soft_float}" = "xyes"; then
> >       fpu_host='fpu-generic'
> >     else
> >       fpu_host='fpu-387'
> >     fi
> >     ieee_support='yes'
> >     ;;
> > esac
> 
> What does gcc need from OS for IEEE754?
> Shouldn't it just compile with relevant to IEEE754 opcodes?
> 

In 

x86_64-unknown-freebsd14.0/libgfortran/config.log

I see

configure:26522: FPU dependent file will be fpu-387.h
configure:26524: Support for IEEE modules: yes

Looking at libgfortran/configure and libgfortran/configure.host
and looking in libgfortran/config/, it seems you'll need to define
an fpu-aarch64.h

I don't have an aarch64 system nor access to such a system,
so can't help you more.

Reply via email to