Red Hat Bugzilla – Bug 1302825
Last glibc update broke libstdc++ cmath header in rawhide
Last modified: 2016-02-05 08:04:22 EST
This morning, I was able to successfully build the Julia package in rawhide:
But now, I get compilation errors (with the very same code):
> /usr/include/c++/6.0.0/cmath:615:11: error: '::isinf' has not been declared
> using ::isinf;
> /usr/include/c++/6.0.0/cmath:640:11: error: '::isnan' has not been declared
> using ::isnan;
The only packages which have been updated in the meantime are glibc, openssl-libs and gosrpm-macros. I strongly suspect glibc for obvious reasons, but in particular because isinf and isnan in cmath from libstdc++-devel interact with cmath.h from glibc. It looks like we need a more recent version of gcc, or a patch from upstream, to make them work together:
If glibc has been updated then it looks like gcc needs to be rebuilt in rawhide, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69413#c2
I untagged the glibc build for now.
Thanks, that indeed fixed the problem.
I've re-tagged it, in preparation for a gcc build which needs the new glibc.
Untagged again, GCC build is still running: http://koji.fedoraproject.org/koji/taskinfo?taskID=12715698
Fixed in rawhide.
I can confirm the Julia build went fine in rawhide with glibc 2.22.90-32.fc24.