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

A. Wilcox (awilfox) <awilfox at adelielinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awilfox at adelielinux dot org

--- Comment #9 from A. Wilcox (awilfox) <awilfox at adelielinux dot org> ---
There is no musl that supports IBM double-double, and there is no plan to ever
support this upstream.

There is a patch set circulating around for musl that adds IEEE binary128
support (requiring ISA 3.0), but it is not yet upstream because they are
deciding what to name the ABI.  (the proposed name as powerpc64_f128 but it
wasn't accepted that way.)

I have just run into this trying to build trunk on ppc64-musl without
explicitly passing --enable-libquadmath:

 * /bin/sh
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure
--host=powerpc64-gentoo-linux-musl --build=powerpc64-gentoo-linux-musl
--prefix=/usr --bindir=/usr/powerpc64-gentoo-linux-musl/gcc-bin/15
--includedir=/usr/lib/gcc/powerpc64-gentoo-linux-musl/15/include
--datadir=/usr/share/gcc-data/powerpc64-gentoo-linux-musl/15
--mandir=/usr/share/gcc-data/powerpc64-gentoo-linux-musl/15/man
--infodir=/usr/share/gcc-data/powerpc64-gentoo-linux-musl/15/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc64-gentoo-linux-musl/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/powerpc64-gentoo-linux-musl/15/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --disable-nls
--disable-libunwind-exceptions --enable-checking=yes,extra
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo Hardened
15.0.9999 p, commit b1a31eaaeae90d7b7774bfb45f9954dc586f4dea
--with-gcc-major-version-only --enable-libstdcxx-time --enable-lto
--disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --disable-multilib --disable-fixed-point --with-abi=elfv2
--enable-targets=all --enable-libgomp --disable-libssp --disable-libada
--disable-systemtap --disable-valgrind-annotations --disable-vtable-verify
--disable-libvtv --with-zstd --without-isl --disable-libsanitizer
--enable-default-pie --enable-host-pie --enable-host-bind-now
--enable-default-ssp --disable-fixincludes

[...]

/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/libquadmath/math/../../libgcc/soft-fp/quad.h:69:1:
error: unable to emulate 'TF'
   69 | typedef float TFtype __attribute__ ((mode (TF)));
      | ^~~~~~~
make[3]: *** [Makefile:984: math/sqrtq.lo] Error 1


Does --disable-libquadmath need to be explicitly passed on ppc64-musl systems
that are not using the musl "f128" patches?

Reply via email to