Closed Bug 1656894 Opened 4 years ago Closed 4 years ago

Update xxHash to version 0.8.0

Categories

(Core :: MFBT, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

()

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1620433 +++

After more than a year in the making, XXH3 has finally reached stable status, for both its 64-bit and 128-bit variants.
While the code itself was in good enough shape for production use, the generated values could still change between versions. This limited XXH3 to local sessions only.
From now on, output values produced by XXH3 for a given input and parameter set will remain identical across systems and across future versions. It makes it possible to store these values for later comparison, or to exchange them across network connections.

Backed out for asan bustage on xxhash.h

backout: https://hg.mozilla.org/integration/autoland/rev/ea8a4b26afc969e80e906a8e6f26458dda70c2fc

push where it failed: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=7c989e4725314871b8ae32fb040a4c9126693f13&searchStr=windows%2C2012%2Cx64%2Casan%2Cbuild-win64-asan%2Fdebug%2Cbd&selectedTaskRun=DJ9BgEIMTAiY5QbFYvLwRA.1

failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=311912974&repo=autoland&lineNumber=5757

[task 2020-08-03T19:11:19.063Z] 19:11:19 INFO - In file included from z:/build/build/src/mfbt/lz4/xxhash.c:43:
[task 2020-08-03T19:11:19.063Z] 19:11:19 INFO - z:/build/build/src/mfbt/lz4/xxhash.h(3503,1): error: unused function 'XXH3_accumulate_512_scalar' [-Werror,-Wunused-function]
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - XXH3_accumulate_512_scalar(void* XXH_RESTRICT acc,
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - ^
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - z:/build/build/src/mfbt/lz4/xxhash.h(3521,1): error: unused function 'XXH3_scrambleAcc_scalar' [-Werror,-Wunused-function]
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - XXH3_scrambleAcc_scalar(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret)
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - ^
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - z:/build/build/src/mfbt/lz4/xxhash.h(3538,1): error: unused function 'XXH3_initCustomSecret_scalar' [-Werror,-Wunused-function]
[task 2020-08-03T19:11:19.064Z] 19:11:19 INFO - XXH3_initCustomSecret_scalar(void* XXH_RESTRICT customSecret, xxh_u64 seed64)
[task 2020-08-03T19:11:19.065Z] 19:11:19 INFO - ^
[task 2020-08-03T19:11:19.065Z] 19:11:19 INFO - 3 errors generated.
[task 2020-08-03T19:11:19.065Z] 19:11:19 INFO - z:/build/build/src/config/rules.mk:668: recipe for target 'xxhash.obj' failed
[task 2020-08-03T19:11:19.065Z] 19:11:19 INFO - mozmake.EXE[4]: *** [xxhash.obj] Error 1
[task 2020-08-03T19:11:19.065Z] 19:11:19 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/workspace/obj-build/mfbt'
[task 2020-08-03T19:11:19.065Z] 19:11:19 INFO - mozmake.EXE[4]: *** Waiting for unfinished jobs....

FWIW, I'm not sure when I'll have cycles to get back to this. If someone else wants to poke at it, be my guest.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Blocks: 1743896
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: