Skip to content

[Buid Fail] size of array element of type 'blake2b_state isn't a multiple of its alignment #5351

Closed
@bioinfornatics

Description

@bioinfornatics

Build fail with both gcc and clang for the same reason

$ make -s clean && make -sj4
In file included from argon2_core_plug.c:32:
./blake2.h:112:23: error: size of array element of type 'blake2b_state' (aka 'struct __blake2b_state') (368 bytes) isn't a multiple of its alignment (64 bytes)
    blake2b_state S[4][1];
                      ^
./blake2.h:113:20: error: size of array element of type 'blake2b_state' (aka 'struct __blake2b_state') (368 bytes) isn't a multiple of its alignment (64 bytes)
    blake2b_state R[1];

Metadata

Metadata

Assignees

No one assigned

    Labels

    dupeThis issue already existed. When using this, always link to the original issue(s).portability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions