Skip to content

Build failure, 3.3.0 amalgamation arm64 #3927

@bazineta

Description

@bazineta

When building using clang 16.0.6, on Ubuntu arm64, I found that I had to modify:

src/lib/hash/sha2_64/sha2_64_armv8/sha2_64_armv8.cpp

to specify BOTAN_FUNC_ISA("+crypto,sha3"), instead of just "+crypto", as without doing so, the compilation failed with errors of the format:

botan_all.cpp:88261:30: error: always_inline function 'vsha512su0q_u64' requires target feature 'sha3', but would be inlined into function 'compress_digest_armv8' that is compiled without support for 'sha3'

Excessive compiler spew omitted for brevity; many such errors.

Unlikely to be an optimal solution, but it did resolve the issue for me.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions