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

            Bug ID: 116007
           Summary: libquadmath fails to build with
                    libgcc/soft-fp/quad.h:69:1: error: unable to emulate
                    'TF'
           Product: gcc
           Version: 14.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libquadmath
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thomas.petazz...@free-electrons.com
  Target Milestone: ---

When GCC 14.1.0 is configured with:

./configure --prefix="/home/buildroot/autobuild/instance-3/output-1/host"
--sysconfdir="/home/buildroot/autobuild/instance-3/output-1/host/etc"
--enable-static  --target=powerpc64le-buildroot-linux-musl
--with-sysroot=/home/buildroot/autobuild/instance-3/output-1/host/powerpc64le-buildroot-linux-musl/sysroot
--enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib
--disable-decimal-float --enable-plugins --enable-lto
--with-gmp=/home/buildroot/autobuild/instance-3/output-1/host
--with-mpc=/home/buildroot/autobuild/instance-3/output-1/host
--with-mpfr=/home/buildroot/autobuild/instance-3/output-1/host
--with-pkgversion="Buildroot 2024.05-761-gc624eee120"
--with-bugurl="https://gitlab.com/buildroot.org/buildroot/-/issues";
--without-zstd --disable-libmpx --enable-libquadmath
--enable-libquadmath-support --disable-libsanitizer --enable-tls
--enable-threads --without-isl --without-cloog --with-cpu=power8
--enable-languages=c,fortran
--with-build-time-tools=/home/buildroot/autobuild/instance-3/output-1/host/powerpc64le-buildroot-linux-musl/bin
--disable-shared --disable-libgomp 

it fails to build with:

In file included from ../../../libquadmath/math/sqrtq.c:13:
../../../libquadmath/math/../../libgcc/soft-fp/quad.h:69:1: error: unable to
emulate 'TF'
   69 | typedef float TFtype __attribute__ ((mode (TF)));
      | ^~~~~~~

Full build log available at
http://autobuild.buildroot.net/results/8f5/8f585b83166d94772fe581f2efb0691676b33dab/build-end.log

Issue can be reproduced by doing:

$ git clone https://gitlab.com/buildroot.org/buildroot.git
$ cd buildroot
$ git checkout c624eee1 
$ wget -O .config
http://autobuild.buildroot.net/results/8f5/8f585b83166d94772fe581f2efb0691676b33dab/config
$ make

Reply via email to