pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54355: cmake-3.14.5 fails to build on Solaris 10



The following reply was made to PR pkg/54355; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54355: cmake-3.14.5 fails to build on Solaris 10
Date: Thu, 8 Aug 2019 13:42:04 +0000

 On Thu, Aug 08, 2019 at 10:04:30PM +0900, Hiroshi Hakoyama wrote:
 >  /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/math.h:93:12:
 >  error: std::nanf' has not been declared
 
 It looks a lot like the compiler has given up on a lot of C++11 support,
 which this package does require.
 
 It's possible to temporarily work around it by finding the last cmake
 which didn't require C++11 (2 years ago maybe), but the C++ world loves
 using C++11.
 
 It might be worth trying if OpenCSW offers newer compiler versions, or
 to discuss it up with them.
 
 A search on the Internet suggests the following will fail, too:
 
 #!/bin/sh
 
 cat << EOF > testc11.cxx
 #include <cmath>
 int main() { return 0; }
 EOF
 g++ -std=gnu++11 testc11.cxx
 


Home | Main Index | Thread Index | Old Index