infdahai opened a new issue, #1413: URL: https://github.com/apache/incubator-kvrocks/issues/1413
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues. ### Version ```shell $ uname -r 5.15.90.1-microsoft-standard-WSL2 ``` ubuntu 22(wsl) kvrocks: the unstable branch clang 16 ### Minimal reproduce step I execute the build command. ```shell ./x.py build -DENABLE_OPENSSL=ON --ghproxy -j24 ``` ### What did you expect to see? Build OK ### What did you see instead? <details><summary>Build error</summary> <p> ```shell [ 98%] Linking CXX executable kvrocks /usr/bin/ld: _deps/luajit-src/src/libluajit.a(lj_err.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value clang-16: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [CMakeFiles/kvrocks.dir/build.make:251: kvrocks] Error 1 gmake[2]: *** [CMakeFiles/Makefile2:521: CMakeFiles/kvrocks.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:528: CMakeFiles/kvrocks.dir/rule] Error 2 gmake: *** [Makefile:254: kvrocks] Error 2 Traceback (most recent call last): File "/root/Workspace/proj/finish_proj/incubator-kvrocks/./x.py", line 393, in <module> args.func(**arg_dict) File "/root/Workspace/proj/finish_proj/incubator-kvrocks/./x.py", line 134, in build run(cmake, *options, verbose=True, cwd=dir) File "/root/Workspace/proj/finish_proj/incubator-kvrocks/./x.py", line 66, in run raise RuntimeError(err) RuntimeError: failed to run: ('/usr/local/bin/cmake', '--build', '.', '-j24', '-t', 'kvrocks', 'kvrocks2redis') exit with code: 2 ``` </p> </details> ### Anything Else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
