PHILO-HE commented on issue #7950: URL: https://github.com/apache/incubator-gluten/issues/7950#issuecomment-2479084417
@shuai-xu, thanks so much for your feedback! As @zhouyuan told me, the newer gcc (e.g., gcc-11) makes full use of native cpu's instruction and optimization when `-march=native` is specified. But this can make the binary (which is compiled for your relatively new cpu architecture) not runnable on some old cpu architectures (in your case, it's avx2 cpu). So essentially, this is not gcc-11's issue. It's caused by our `-march` setting. It's not rare that diverse cpu architectures coexist in users' cluster. So maybe, generic setting for compiler should be used by default in our code. cc @zhouyuan, @FelixYBW -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
