• Krunal Bauskar's avatar
    MDEV-23137: RocksDB: undefined reference to crc32c_arm64 · d88ea260
    Krunal Bauskar authored
    RocksDB fails to build on arm64: undefined reference to
                `crc32c_arm64(unsigned int, unsigned char const*, unsigned int)'
    
    MariaDB uses storage/rocksdb/build_rocksdb.cmake to compile RocksDB.
    Said cmake missed adding crc32c_arm64 compilation target so if
    machine native architecture supported crc32 then complier would enable
    usage of function defined in crc32c_arm64 causing the listed error.
    
    Added crc32c_arm64 complition target.
    
    closes #1642
    d88ea260
build_rocksdb.cmake 17.3 KB