Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11756: boost.Test: non standards compliant use of FE_* macros (unable to compile boost test library on FPU-less arches)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-11 20:01:38
#11756: boost.Test: non standards compliant use of FE_* macros (unable to compile
boost test library on FPU-less arches)
----------------------------------+------------------------
Reporter: bartosz.krasinski@⦠| Owner: renficiaud
Type: Patches | Status: reopened
Milestone: Boost 1.64.0 | Component: test
Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+------------------------
Comment (by Jörg Krause <joerg.krause@â¦>):
For whatever reasons uclibc defines both `__UCLIBC__` '''and'''
`__GLIBC__`, whereas musl does not define any such macro, e.g. there is no
`__MUSL__` and will never be.
This is the commit log from the fenv.h patch used in Buildroot (I cannot
add links here):
{{{
The boost build system does not properly test whether fenv.h is
available, and if it is, if it supports all the features used by
Boost. This causes build failures with uClibc (reported upstream at
https://svn.boost.org/trac/boost/ticket/11756) but also with glibc on
specific architectures that don't have a full fenv implementation,
such as NIOSII or Microblaze.
To address this, we forcefully disable the use of fenv support in the
affected configurations.
}}}
I am afraid I am not much of help here. From my point of view, it should
be checked if fenv.h is available, and then check for the GLIBC
extensions.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11756#comment:56> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-03-11 20:05:49 UTC