[Pkg-opencl-devel] Bug#818823: oclgrind: FTBFS with libc 2.23: '::isnan' has not been declared
Martin Michlmayr
tbm at hpe.com
Sun Mar 20 20:09:39 UTC 2016
Package: oclgrind
Version: 15.5-3
Severity: important
User: debian-glibc at lists.debian.org
Usertags: 2.23
This package fails to build with libc6 2.23 (2.23-0experimental0 from
experimental).
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> [ 63%] Building CXX object CMakeFiles/oclgrind.dir/src/core/WorkItem.cpp.o
> /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Doclgrind_EXPORTS -I/usr/lib/llvm-3.6/include -I/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -o CMakeFiles/oclgrind.dir/src/core/WorkItem.cpp.o -c /<<PKGBUILDDIR>>/src/core/WorkItem.cpp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 63%] Built target CLC_HEADERS
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp: In static member function 'static double oclgrind::WorkItemBuiltins::_sign_(double)':
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:453:11: error: '::isnan' has not been declared
> if (::isnan(x)) return 0.0;
> ^
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:453:11: note: suggested alternative:
> In file included from /usr/include/c++/5/random:38:0,
> from /usr/include/c++/5/bits/stl_algo.h:66,
> from /usr/include/c++/5/algorithm:62,
> from /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:10:
> /usr/include/c++/5/cmath:641:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp: In static member function 'static void oclgrind::WorkItemBuiltins::modf_builtin(oclgrind::WorkItem*, const llvm::CallInst*, const string&, const string&, oclgrind::TypedValue&, void*)':
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:2362:38: error: '::isinf' has not been declared
> double fractional = copysign(::isinf(x) ? 0.0 : x - integral, x);
> ^
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:2362:38: note: suggested alternative:
> In file included from /usr/include/c++/5/random:38:0,
> from /usr/include/c++/5/bits/stl_algo.h:66,
> from /usr/include/c++/5/algorithm:62,
> from /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:10:
> /usr/include/c++/5/cmath:621:5: note: 'std::isinf'
> isinf(_Tp __x)
> ^
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp: In static member function 'static int64_t oclgrind::WorkItemBuiltins::_isinf_(double)':
> /<<PKGBUILDDIR>>/src/core/WorkItemBuiltins.cpp:2491:46: error: '::isinf' has not been declared
> static int64_t _isinf_(double x){ return ::isinf(x); }
...
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Pkg-opencl-devel
mailing list