infdahai commented on issue #1413: URL: https://github.com/apache/incubator-kvrocks/issues/1413#issuecomment-1532642165
@PragmaTwice I solved this. https://github.com/apache/incubator-kvrocks/blob/30e9fd788a4acb585566a008f4d5fff65ee06ce3/CMakeLists.txt#L190-L195 I execute the code to line 194 and add the `-fpie` option. gcc6 introduces `--enable-default-pie` and some same changelogs are added into `clang` baed on https://reviews.llvm.org/D113372 . It seems that I don't use `-fpie` argument. But I don't know the cause. -- 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]
