❯ brew install redis@4.0 ==> Fetching redis@4.0 ==> Downloading https://github.com/redis/redis/archive/4.0.14.tar.gz Already downloaded: /Users/chengli.zou/Library/Caches/Homebrew/downloads/8580171fb4dbef6d6dd0b398ac2a12eb49e255e0c847f20a2fadd5eb7fc28127--redis-4.0.14.tar.gz ==> make install PREFIX=/opt/homebrew/Cellar/redis@4.0/4.0.14_1 CC=clang Last 15 lines from /Users/chengli.zou/Library/Logs/Homebrew/redis@4.0/01.make: ^ debug.c:773:47: error: no member named '__gs' in 'struct __darwin_arm_thread_state64' (unsigned long) uc->uc_mcontext->__ss.__gs ~~~~~~~~~~~~~~~~~~~~~ ^ debug.c:775:51: error: no member named '__esp' in 'struct __darwin_arm_thread_state64'; did you mean '__sp'? logStackContent((void)uc->uc_mcontext->__ss.__esp); ^~~~~ __sp /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/mach/arm/_structs.h:141:13: note: '__sp' declared here __uint64_t __sp; / Stack pointer x31 / ^ 18 errors generated. make[1]: *** [debug.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [install] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

Comment From: sundb

@zouchengli 4.x is no longer maintained, you can cherry-pick #7453 to fix it if you need to.

Comment From: zouchengli

@zouchengli 4.x is no longer maintained, you can cherry-pick #7453 to fix it if you need to. OK, Thanks