On Thu, Apr 05, 2018 at 06:53:52PM +1000, Nicholas Nethercote wrote:
> Thank you for working on this, jgilbert.
> I tried to take advantage of C++14's relaxed constexpr for bug 1451278, but
> I'm getting one test job failure on automation, visible here:
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=bcd8e01989d987268cfb6beb7f86e948eae3730d&selectedJob=172004924

That's a funny error. But the most important bit of information is
missing, so one can only conjecture.

So, cmake is used to build jsglue.cpp for the rust js crate. It properly
uses GCC 6.4 from the right directory, yet fails to build. GCC 6.4
*defaults* to C++14, so I can only conjecture that cmake is explicitly
passing some argument that makes it use an older C++ version, because
the log doesn't say what command line was used to invoke GCC.

(If someone feels like removing the use of cmake, be my guest, we surely
don't want that to slip in when those bindings become necessary for
gecko ; ironically, it's used to build *one* file. Why the rust cc crate
is not used instead is beyond me)

dev-builds mailing list

Reply via email to