Siyao Meng created HDDS-17285:
---------------------------------

             Summary: Check that the native library is reproducible across 
build paths
                 Key: HDDS-17285
                 URL: https://issues.apache.org/jira/browse/HDDS-17285
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Siyao Meng


{{libozone_rocksdb_tools.so}} is built with CMake in Release mode without 
{{-ffile-prefix-map}}, so it may embed the build directory. The {{repro}} check 
rebuilds at the same path, so it would not detect this. Not verified yet.

Proposed: build {{hdds-rocks-native}} at two different paths and compare the 
library. If it differs, add {{-ffile-prefix-map}} (or equivalent) to the 
compiler flags.



--
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