Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verification failures on MIPS32, little-endian #297

Open
1 of 3 tasks
darkk opened this issue Sep 11, 2024 · 0 comments
Open
1 of 3 tasks

Verification failures on MIPS32, little-endian #297

darkk opened this issue Sep 11, 2024 · 0 comments

Comments

@darkk
Copy link
Contributor

darkk commented Sep 11, 2024

Building SMHasher with OpenWrt GCC 13.2.0 (toolchain-mipsel_24kc_gcc-13.2.0_musl) with -O2 -mips32r2 -mtune=24kc highlights following failures:

  • blake3_c - Verification value 0x50E4CD91 ....... FAIL! (Expected 0x58571F56)
  • tabulation32 - Verification value 0xCC4CFFDC ....... FAIL! (Expected 0x335F64EA)
  • polymur - Verification value 0xA612032C ....... FAIL! (Expected 0x4F894810)

The machine is:

system type		: MediaTek MT7620N ver:2 eco:6
machine			: SNR-CPE-W4N (rev.M)
processor		: 0
cpu model		: MIPS 24KEc V5.0
BogoMIPS		: 385.84
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp
darkk added a commit to darkk/smhasher that referenced this issue Sep 26, 2024
polymur Verification value 0xA612032C means that polymur_seed_init()
was not called. Currently, polymur is compiled in unconditionally,
so it should be initialized unconditionally as well.

See rurban#294, rurban#296, rurban#297, rurban#298 and rurban#299.
darkk added a commit to darkk/smhasher that referenced this issue Sep 27, 2024
It fixes arm builds, including macos-14-arm64

polymur Verification value 0xA612032C means that polymur_seed_init()
was not called. Currently, polymur is compiled in unconditionally,
so it should be initialized unconditionally as well.

See rurban#294, rurban#296, rurban#297, rurban#298 and rurban#299.
darkk added a commit to darkk/smhasher that referenced this issue Sep 27, 2024
It fixes arm builds, including macos-14-arm64

polymur Verification value 0xA612032C means that polymur_seed_init()
was not called. Currently, polymur is compiled in unconditionally,
so it should be initialized unconditionally as well.

See rurban#294, rurban#296, rurban#297, rurban#298 and rurban#299.
darkk added a commit to darkk/smhasher that referenced this issue Sep 27, 2024
It fixes arm builds, including macos-14-arm64

polymur Verification value 0xA612032C means that polymur_seed_init()
was not called. Currently, polymur is compiled in unconditionally,
so it should be initialized unconditionally as well.

See rurban#294, rurban#296, rurban#297, rurban#298 and rurban#299.
rurban pushed a commit that referenced this issue Sep 28, 2024
It fixes arm builds, including macos-14-arm64

polymur Verification value 0xA612032C means that polymur_seed_init()
was not called. Currently, polymur is compiled in unconditionally,
so it should be initialized unconditionally as well.

See #294, #296, #297, #298 and #299.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant