Skip to content

Commit 29581fa

Browse files
committed
cmake: pin DTO at cachelib-navy 5b98ab5 (mem* recursion fix at -O2)
5b98ab5 keeps DTO's internal byte-loop mem* helpers from being rewritten by GCC into calls to the interposed memcmp/memcpy/memset exports, which recursed until the guard page whenever they ran before init_dto (early startup, forked children). The batch API from af84a04 is unchanged; the comment now names it as a requirement alongside the async API and the raw-CRC32C convention.
1 parent d2cb61a commit 29581fa

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎cachelib/CMakeLists.txt‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,14 @@ if (BUILD_WITH_DTO)
324324
# consumers of the installed package.
325325
#
326326
# The DSA checksum offload code requires a DTO with the caller-allocated
327-
# async submit/poll API and the raw-CRC32C convention, which upstream
328-
# intel/DTO does not have — so when no installed DTO cmake package is
329-
# found, fetch and build the pinned revision in-tree rather than linking
330-
# whatever libdto happens to be on the system.
327+
# async submit/poll API, the mixed-member batch API (dto_submit_batch) and
328+
# the raw-CRC32C convention, which upstream intel/DTO does not have — so
329+
# when no installed DTO cmake package is found, fetch and build the pinned
330+
# revision in-tree rather than linking whatever libdto happens to be on
331+
# the system.
331332
set(CACHELIB_DTO_GIT_REPOSITORY "https://github.com/byrnedj/DTO.git"
332333
CACHE STRING "Git repository for DTO when no installed copy is found")
333-
set(CACHELIB_DTO_GIT_TAG "af84a043f0c11ce33d7f01a359608624652abc17"
334+
set(CACHELIB_DTO_GIT_TAG "5b98ab5c33b33af814b839b7b4efd360a2e41889"
334335
CACHE STRING "DTO revision to fetch when no installed copy is found")
335336

336337
find_package(DTO CONFIG QUIET)

0 commit comments

Comments
 (0)