On Mon, Jan 15, 2024 at 4:03 AM Andreas Tille <ti...@debian.org> wrote:
>
> Package: ftp.debian.org
> Severity: normal
> User: ftp.debian....@packages.debian.org
> Usertags: remove
> X-Debbugs-Cc: graph-t...@packages.debian.org, 1056...@bugs.debian.org, 
> debian-powe...@lists.debian.org
> Control: affects -1 + src:graph-tool
>
> the latest version of graph-tool did not build on ppc64el[1].
> There is the following error in the log:
>
> /usr/include/boost/math/tools/promotion.hpp:267:27: error: static assertion 
> failed: Sorry, but this platform does not have sufficient long double support 
> for the special functions to be reliably implemented.
>   267 |          static_assert((0 == std::is_same<type, long double>::value), 
> "Sorry, but this platform does not have sufficient long double support for 
> the special functions to be reliably implemented.");
>       |                        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> It seems the latest boost is doing some check that can not be fulfilled
> on ppc64el.  Thus I think it is best to remove the binary package for
> ppc64el for the moment to enable the testing migration of graph-tool
> (and completing the boost transition by doing so).
>
> [1] 
> https://buildd.debian.org/status/fetch.php?pkg=graph-tool&arch=ppc64el&ver=2.59%2Bds-1&stamp=1704656087&raw=0

I wonder if you are seeing the effects of a 128-bit long double. If it
is, then -mlong-double-80 may help. I've had to use -mlong-double-80
in the past with some GNU software because it lacked support for
128-bit floats.

The companion option is -mlong-double-128. Also see
<https://gcc.gnu.org/wiki/Ieee128PowerPC>.

Jeff

Reply via email to