public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thomas.petazzoni@free-electrons.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/116007] New: libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'
Date: Fri, 19 Jul 2024 21:02:11 +0000	[thread overview]
Message-ID: <bug-116007-4@http.gcc.gnu.org/bugzilla/> (raw)

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.petazzoni@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	other threads:[~2024-07-19 21:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-19 21:02 thomas.petazzoni@free-electrons.com [this message]
2024-07-19 21:16 ` [Bug target/116007] " pinskia at gcc dot gnu.org
2024-07-19 21:26 ` thomas.petazzoni@free-electrons.com
2024-07-19 21:27 ` pinskia at gcc dot gnu.org
2024-07-19 22:25 ` jakub at gcc dot gnu.org
2024-07-19 22:26 ` jakub at gcc dot gnu.org
2024-07-20  9:23 ` thomas.petazzoni@free-electrons.com
2024-07-20  9:34 ` jakub at gcc dot gnu.org
2024-07-20 20:47 ` thomas.petazzoni@free-electrons.com
2024-07-21 15:58 ` awilfox at adelielinux dot org
2024-07-22  0:23 ` bugdal at aerifal dot cx
2024-07-26  4:33 ` awilfox at adelielinux dot org
2024-07-27 17:26 ` thomas.petazzoni@free-electrons.com
2024-08-02 21:12 ` bergner at gcc dot gnu.org
2024-08-02 21:24 ` jakub at gcc dot gnu.org
2024-08-02 21:29 ` jakub at gcc dot gnu.org
2024-08-02 22:15 ` bergner at gcc dot gnu.org
2024-08-03  2:25 ` segher at gcc dot gnu.org
2024-08-03 11:27 ` bergner at gcc dot gnu.org
2024-08-03 18:43 ` cvs-commit at gcc dot gnu.org
2024-08-06  9:19 ` cvs-commit at gcc dot gnu.org
2024-08-06  9:32 ` jakub at gcc dot gnu.org
2024-08-21 10:39 ` thomas.petazzoni@free-electrons.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-116007-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).