memcached / memcached/memcached

Memcached Proxy build in ARM64

Open
#1,048 25 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

merged/fixed for next
Dominant language
C
Stars
14.3k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
ARM64 build instructions fail because of AMD Lua sources

To Reproduce
I don't have a clear snippet to provide, also because I'm not familiar with C compiling and Lua. If I find one I will add it here.
It should be as easy as running make in ARM64.

System Information

  • OS/Distro: Linux 84bf4a63ca7a 5.4.17-2136.318.7.1.el7uek.aarch64 # 2 SMP Thu Apr 13 17:58:57 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
  • Version of memcached: 1.6.20

Details

./configure --prefix=/usr --enable-proxy
make install
 ---> Running in d45d657a8a0d
make  install-recursive
make[1]: Entering directory `/memcached-1.6.20'
Making install in doc
make[2]: Entering directory `/memcached-1.6.20/doc'
make  install-am
make[3]: Entering directory `/memcached-1.6.20/doc'
make[4]: Entering directory `/memcached-1.6.20/doc'
make[4]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 memcached.1 '/usr/share/man/man1'
make[4]: Leaving directory `/memcached-1.6.20/doc'
make[3]: Leaving directory `/memcached-1.6.20/doc'
make[2]: Leaving directory `/memcached-1.6.20/doc'
Making install in vendor
make[2]: Entering directory `/memcached-1.6.20/vendor'
make[2]: `install' is up to date.
make[2]: Leaving directory `/memcached-1.6.20/vendor'
make[2]: Entering directory `/memcached-1.6.20'
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
mv -f .deps/memcached-memcached.Tpo .deps/memcached-memcached.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-hash.o -MD -MP -MF .deps/memcached-hash.Tpo -c -o memcached-hash.o `test -f 'hash.c' || echo './'`hash.c
mv -f .deps/memcached-hash.Tpo .deps/memcached-hash.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-jenkins_hash.o -MD -MP -MF .deps/memcached-jenkins_hash.Tpo -c -o memcached-jenkins_hash.o `test -f 'jenkins_hash.c' || echo './'`jenkins_hash.c
mv -f .deps/memcached-jenkins_hash.Tpo .deps/memcached-jenkins_hash.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-murmur3_hash.o -MD -MP -MF .deps/memcached-murmur3_hash.Tpo -c -o memcached-murmur3_hash.o `test -f 'murmur3_hash.c' || echo './'`murmur3_hash.c
mv -f .deps/memcached-murmur3_hash.Tpo .deps/memcached-murmur3_hash.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-slabs.o -MD -MP -MF .deps/memcached-slabs.Tpo -c -o memcached-slabs.o `test -f 'slabs.c' || echo './'`slabs.c
mv -f .deps/memcached-slabs.Tpo .deps/memcached-slabs.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-items.o -MD -MP -MF .deps/memcached-items.Tpo -c -o memcached-items.o `test -f 'items.c' || echo './'`items.c
mv -f .deps/memcached-items.Tpo .deps/memcached-items.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-assoc.o -MD -MP -MF .deps/memcached-assoc.Tpo -c -o memcached-assoc.o `test -f 'assoc.c' || echo './'`assoc.c
mv -f .deps/memcached-assoc.Tpo .deps/memcached-assoc.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-thread.o -MD -MP -MF .deps/memcached-thread.Tpo -c -o memcached-thread.o `test -f 'thread.c' || echo './'`thread.c
mv -f .deps/memcached-thread.Tpo .deps/memcached-thread.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-daemon.o -MD -MP -MF .deps/memcached-daemon.Tpo -c -o memcached-daemon.o `test -f 'daemon.c' || echo './'`daemon.c
mv -f .deps/memcached-daemon.Tpo .deps/memcached-daemon.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-stats_prefix.o -MD -MP -MF .deps/memcached-stats_prefix.Tpo -c -o memcached-stats_prefix.o `test -f 'stats_prefix.c' || echo './'`stats_prefix.c
mv -f .deps/memcached-stats_prefix.Tpo .deps/memcached-stats_prefix.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-util.o -MD -MP -MF .deps/memcached-util.Tpo -c -o memcached-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/memcached-util.Tpo .deps/memcached-util.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-cache.o -MD -MP -MF .deps/memcached-cache.Tpo -c -o memcached-cache.o `test -f 'cache.c' || echo './'`cache.c
mv -f .deps/memcached-cache.Tpo .deps/memcached-cache.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-bipbuffer.o -MD -MP -MF .deps/memcached-bipbuffer.Tpo -c -o memcached-bipbuffer.o `test -f 'bipbuffer.c' || echo './'`bipbuffer.c
mv -f .deps/memcached-bipbuffer.Tpo .deps/memcached-bipbuffer.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-base64.o -MD -MP -MF .deps/memcached-base64.Tpo -c -o memcached-base64.o `test -f 'base64.c' || echo './'`base64.c
mv -f .deps/memcached-base64.Tpo .deps/memcached-base64.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-logger.o -MD -MP -MF .deps/memcached-logger.Tpo -c -o memcached-logger.o `test -f 'logger.c' || echo './'`logger.c
mv -f .deps/memcached-logger.Tpo .deps/memcached-logger.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-crawler.o -MD -MP -MF .deps/memcached-crawler.Tpo -c -o memcached-crawler.o `test -f 'crawler.c' || echo './'`crawler.c
mv -f .deps/memcached-crawler.Tpo .deps/memcached-crawler.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-itoa_ljust.o -MD -MP -MF .deps/memcached-itoa_ljust.Tpo -c -o memcached-itoa_ljust.o `test -f 'itoa_ljust.c' || echo './'`itoa_ljust.c
mv -f .deps/memcached-itoa_ljust.Tpo .deps/memcached-itoa_ljust.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-slab_automove.o -MD -MP -MF .deps/memcached-slab_automove.Tpo -c -o memcached-slab_automove.o `test -f 'slab_automove.c' || echo './'`slab_automove.c
mv -f .deps/memcached-slab_automove.Tpo .deps/memcached-slab_automove.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-authfile.o -MD -MP -MF .deps/memcached-authfile.Tpo -c -o memcached-authfile.o `test -f 'authfile.c' || echo './'`authfile.c
mv -f .deps/memcached-authfile.Tpo .deps/memcached-authfile.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-restart.o -MD -MP -MF .deps/memcached-restart.Tpo -c -o memcached-restart.o `test -f 'restart.c' || echo './'`restart.c
mv -f .deps/memcached-restart.Tpo .deps/memcached-restart.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proto_text.o -MD -MP -MF .deps/memcached-proto_text.Tpo -c -o memcached-proto_text.o `test -f 'proto_text.c' || echo './'`proto_text.c
mv -f .deps/memcached-proto_text.Tpo .deps/memcached-proto_text.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proto_bin.o -MD -MP -MF .deps/memcached-proto_bin.Tpo -c -o memcached-proto_bin.o `test -f 'proto_bin.c' || echo './'`proto_bin.c
mv -f .deps/memcached-proto_bin.Tpo .deps/memcached-proto_bin.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proto_proxy.o -MD -MP -MF .deps/memcached-proto_proxy.Tpo -c -o memcached-proto_proxy.o `test -f 'proto_proxy.c' || echo './'`proto_proxy.c
proto_proxy.c: In function 'process_proxy_stats':
proto_proxy.c:51:12: warning: missing braces around initializer [-Wmissing-braces]
     struct proxy_int_stats istats = {0};
            ^
proto_proxy.c:51:12: warning: (near initialization for 'istats.counters') [-Wmissing-braces]
mv -f .deps/memcached-proto_proxy.Tpo .deps/memcached-proto_proxy.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_xxhash.o -MD -MP -MF .deps/memcached-proxy_xxhash.Tpo -c -o memcached-proxy_xxhash.o `test -f 'proxy_xxhash.c' || echo './'`proxy_xxhash.c
mv -f .deps/memcached-proxy_xxhash.Tpo .deps/memcached-proxy_xxhash.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_await.o -MD -MP -MF .deps/memcached-proxy_await.Tpo -c -o memcached-proxy_await.o `test -f 'proxy_await.c' || echo './'`proxy_await.c
mv -f .deps/memcached-proxy_await.Tpo .deps/memcached-proxy_await.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_ustats.o -MD -MP -MF .deps/memcached-proxy_ustats.Tpo -c -o memcached-proxy_ustats.o `test -f 'proxy_ustats.c' || echo './'`proxy_ustats.c
mv -f .deps/memcached-proxy_ustats.Tpo .deps/memcached-proxy_ustats.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_jump_hash.o -MD -MP -MF .deps/memcached-proxy_jump_hash.Tpo -c -o memcached-proxy_jump_hash.o `test -f 'proxy_jump_hash.c' || echo './'`proxy_jump_hash.c
mv -f .deps/memcached-proxy_jump_hash.Tpo .deps/memcached-proxy_jump_hash.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_request.o -MD -MP -MF .deps/memcached-proxy_request.Tpo -c -o memcached-proxy_request.o `test -f 'proxy_request.c' || echo './'`proxy_request.c
mv -f .deps/memcached-proxy_request.Tpo .deps/memcached-proxy_request.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_network.o -MD -MP -MF .deps/memcached-proxy_network.Tpo -c -o memcached-proxy_network.o `test -f 'proxy_network.c' || echo './'`proxy_network.c
mv -f .deps/memcached-proxy_network.Tpo .deps/memcached-proxy_network.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_lua.o -MD -MP -MF .deps/memcached-proxy_lua.Tpo -c -o memcached-proxy_lua.o `test -f 'proxy_lua.c' || echo './'`proxy_lua.c
mv -f .deps/memcached-proxy_lua.Tpo .deps/memcached-proxy_lua.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_config.o -MD -MP -MF .deps/memcached-proxy_config.Tpo -c -o memcached-proxy_config.o `test -f 'proxy_config.c' || echo './'`proxy_config.c
mv -f .deps/memcached-proxy_config.Tpo .deps/memcached-proxy_config.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_ring_hash.o -MD -MP -MF .deps/memcached-proxy_ring_hash.Tpo -c -o memcached-proxy_ring_hash.o `test -f 'proxy_ring_hash.c' || echo './'`proxy_ring_hash.c
mv -f .deps/memcached-proxy_ring_hash.Tpo .deps/memcached-proxy_ring_hash.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-proxy_internal.o -MD -MP -MF .deps/memcached-proxy_internal.Tpo -c -o memcached-proxy_internal.o `test -f 'proxy_internal.c' || echo './'`proxy_internal.c
mv -f .deps/memcached-proxy_internal.Tpo .deps/memcached-proxy_internal.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-md5.o -MD -MP -MF .deps/memcached-md5.Tpo -c -o memcached-md5.o `test -f 'md5.c' || echo './'`md5.c
mv -f .deps/memcached-md5.Tpo .deps/memcached-md5.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-extstore.o -MD -MP -MF .deps/memcached-extstore.Tpo -c -o memcached-extstore.o `test -f 'extstore.c' || echo './'`extstore.c
mv -f .deps/memcached-extstore.Tpo .deps/memcached-extstore.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-crc32c.o -MD -MP -MF .deps/memcached-crc32c.Tpo -c -o memcached-crc32c.o `test -f 'crc32c.c' || echo './'`crc32c.c
mv -f .deps/memcached-crc32c.Tpo .deps/memcached-crc32c.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-storage.o -MD -MP -MF .deps/memcached-storage.Tpo -c -o memcached-storage.o `test -f 'storage.c' || echo './'`storage.c
mv -f .deps/memcached-storage.Tpo .deps/memcached-storage.Po
gcc -std=gnu11 -DHAVE_CONFIG_H -I.  -DNDEBUG -Ivendor/lua/src -Ivendor/liburing/src/include   -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-slab_automove_extstore.o -MD -MP -MF .deps/memcached-slab_automove_extstore.Tpo -c -o memcached-slab_automove_extstore.o `test -f 'slab_automove_extstore.c' || echo './'`slab_automove_extstore.c
mv -f .deps/memcached-slab_automove_extstore.Tpo .deps/memcached-slab_automove_extstore.Po
gcc -std=gnu11  -g -O2 -pthread -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls   -o memcached memcached-memcached.o memcached-hash.o memcached-jenkins_hash.o memcached-murmur3_hash.o memcached-slabs.o memcached-items.o memcached-assoc.o memcached-thread.o memcached-daemon.o memcached-stats_prefix.o memcached-util.o memcached-cache.o memcached-bipbuffer.o memcached-base64.o memcached-logger.o memcached-crawler.o memcached-itoa_ljust.o memcached-slab_automove.o memcached-authfile.o memcached-restart.o memcached-proto_text.o memcached-proto_bin.o       memcached-proto_proxy.o memcached-proxy_xxhash.o memcached-proxy_await.o memcached-proxy_ustats.o memcached-proxy_jump_hash.o memcached-proxy_request.o memcached-proxy_network.o memcached-proxy_lua.o memcached-proxy_config.o memcached-proxy_ring_hash.o memcached-proxy_internal.o memcached-md5.o memcached-extstore.o memcached-crc32c.o memcached-storage.o memcached-slab_automove_extstore.o    vendor/lua/src/liblua.a vendor/mcmc/mcmc.o  -levent  -lm -ldl
/usr/bin/ld: vendor/lua/src/liblua.a(lapi.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: vendor/lua/src/liblua.a(lapi.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: vendor/lua/src/liblua.a(lapi.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: vendor/lua/src/liblua.a(lapi.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: vendor/lua/src/liblua.a(lapi.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: vendor/lua/src/liblua.a(lapi.o): Relocations in generic ELF (EM: 62)
vendor/lua/src/liblua.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [memcached] Error 1
make[2]: Leaving directory `/memcached-1.6.20'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/memcached-1.6.20'
make: *** [install] Error 2
The command '/bin/sh -c make install' returned a non-zero code: 2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the ARM64 build from the issue with ./configure --prefix=/usr --enable-proxy, then run make and inspect the failure involving vendor/lua/src. Compare the build output on ARM64 with the stated command sequence; done means the proxy build and make install complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.