Jeffrey Walton via llvm-dev
2018-Nov-17 01:02 UTC
[llvm-dev] 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., https://bugs.llvm.org/show_bug.cgi?id=39696 . Does LLVM have a workaround for the issue? Now open in the issue tracker, which asks the issue be worked around: https://bugs.llvm.org/show_bug.cgi?id=39696 . Jeff
Dimitry Andric via llvm-dev
2018-Nov-17 16:07 UTC
[llvm-dev] Workarounds for ‘(9.223372036854775807e+18 / 1.0e+9)’ is not a constant expression
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? -Dimitry> On 17 Nov 2018, at 02:02, Jeffrey Walton via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > 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., https://bugs.llvm.org/show_bug.cgi?id=39696 . > > Does LLVM have a workaround for the issue? > > Now open in the issue tracker, which asks the issue be worked around: > https://bugs.llvm.org/show_bug.cgi?id=39696 . > > Jeff > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 223 bytes Desc: Message signed with OpenPGP URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181117/253f1fa6/attachment.sig>