westonpace commented on issue #34689: URL: https://github.com/apache/arrow/issues/34689#issuecomment-1544030395
Here is a minimum reproducible example. You can experiment with the various flags. I agree that the `-march` flag may play a role here. I don't have a machine like this to experiment with unfortunately. ``` int main() { return __builtin_popcount(17) == 2 ? 0 : 1; } ``` If this works on your machine then there is probably more investigation for us to do on the Arrow side. If it fails then it is a gcc bug in this case. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org