Workarounds for ‘(9.223372036854775807e+18 / 1.0e+9)’ is not a constant expression

I'm building 7.0 form release tarballs on GCC112 from the compile
farm. I'm hitting "error: ‘(9.223372036854775807e+18 / 1.0e+9)’ is not
a constant expression". The issue appears to be known but I don't see
a workaround. Cf., .

Does LLVM have a workaround for the issue?

Now open in the issue tracker, which asks the issue be worked around: .


If this is Red Hat or CentOS, you might want to try installing one of the devtoolset packages, which come with newer versions of gcc. Seems to me that would be the easiest workaround?