Open Mohannadcse opened 2 years ago
So all I can suggest it that you try to get the link to work with clang
clang -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -L/workspaces/neck-identification/gllvmTry/install/libevent/lib -Wl,-rpath,/workspaces/neck-identification/gllvmTry/install/libevent/lib -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.o memcached-util.o memcached-cache.o -lpthread -levent
on the command line, you will probably have to play around with the flags. Then try it again with those same flags.
I'm using the scripts
Makefile
andMakefile_libevent
from https://github.com/SRI-CSL/OCCAM-Benchmarks/tree/master/examples/portfolio/memcached to generate the bitcode of Memcached. But I'm receiving the following error: