Hi Alexandre, > On Oct 19, 2020, Andreas Schwab <sch...@linux-m68k.org> wrote: > >> -nostdinc a-nallfl.ads -o a-nallfl.o >> a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value >> a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1 >> a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin >> it binds > > Thanks for the report. Ada's Standard.Long_Long_Float is mapped to C > double rather than long double on this target. > > Here's a workaround, for aarch64-* and ppc*-linux-gnu, where I've > observed the mismatch so far.
your patch similarly broke sparc*-sun-solaris* bootstrap. The attached snippet on top of this workaround fixes that. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -1466,6 +1468,7 @@ endif ifeq ($(strip $(filter-out sparc% sun solaris%,$(target_cpu) $(target_vendor) $(target_os))),) LIBGNAT_TARGET_PAIRS = \ a-intnam.ads<libgnarl/a-intnam__solaris.ads \ + a-nallfl.ads<libgnat/a-nallfl__wraplf.ads \ s-inmaop.adb<libgnarl/s-inmaop__posix.adb \ s-intman.adb<libgnarl/s-intman__solaris.adb \ s-mudido.adb<libgnarl/s-mudido__affinity.adb \