Swaminathan Balachandran created HDDS-10477:
-----------------------------------------------

             Summary: Make Rocksdb tools native lib compatible with all 
chipsets within the arch
                 Key: HDDS-10477
                 URL: https://issues.apache.org/jira/browse/HDDS-10477
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Swaminathan Balachandran
            Assignee: Swaminathan Balachandran


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to