pitrou commented on issue #12681: URL: https://github.com/apache/arrow/issues/12681#issuecomment-2488656786
> Per my test, `-Wp,-D_GLIBCXX_ASSERTIONS` leads to this error. Surprisingly. I took a look at the kind of things that `_GLIBCXX_ASSERTIONS` enables and I don't think any of them would directly affect numerical precision. I think what happens is that enabling `_GLIBCXX_ASSERTIONS` may have the side effect of changing optimization opportunities and code generation by the compiler, and it can in the end translate into numerical precision discrepancies. What happens if you keep `-Wp,-D_GLIBCXX_ASSERTIONS` but remove the LTO options? LTO sounds far more likely to produce such issues. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
