Skip to content

Build fails due to dependency changes from Redis #1

@powergee

Description

@powergee

Hello,

I've recently found this artifact and attempted to reproduce the results from the paper. However, the current version fails to compile, producing an undefined reference error for fast_float_strtod.

I suspect this is due to a recent change in the Redis repository. A few months ago, the fast-float library was added as a new dependency in Redis (commit af7fca7). Pinning Redis to the version right before that commit (commit 9146ac0) resolved the issue.

diff --git a/redis/Makefile b/redis/Makefile
index 9ac730a..8fb392c 100644
--- a/redis/Makefile
+++ b/redis/Makefile
@@ -4,9 +4,11 @@
 
 src:
        git clone https://github.com/redis/redis.git --recursive src
+       cd src && git checkout 9146ac050ba24c0e15246cc0271219614bd7ac54
 
 src-ad:
        git clone https://github.com/redis/redis.git --recursive src-ad
+       cd src-ad && git checkout 9146ac050ba24c0e15246cc0271219614bd7ac54
 
 compilation:
        $(MAKE) -C src USE_JEMALLOC=no CC=gclang OPTIMIZATION=-O0 "CFLAGS=-gdwarf-4 -Wno-strict-prototypes $(shell alaska-config --cflags)" "LDFLAGS=$(shell alaska-config --ldflags)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions