swamirishi opened a new pull request, #6341: URL: https://github.com/apache/ozone/pull/6341
## What changes were proposed in this pull request? While building rocksdb tools lib, makefile of rocksdb adds native optmization gcc flags when compiling rocksdb code. This makes the built code incompatible with other chipsets, where it fails with illegal instruction when loading the native lib on ozone manager jvm. Setting PORTABLE=1 while building rocksdb tools will fix this particular issue, and also adding -O0 flag while compiling jni on ozone will prevent the same on ozone jnilib side. https://github.com/facebook/rocksdb/blob/main/INSTALL.md#:~:text=By%20default%20the,since%20roughly%202013. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10477 ## How was this patch tested? Successful build and checking the native lib manually on various instance -- 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]
