You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "infdahai (via GitHub)" <gi...@apache.org> on 2023/05/01 07:09:24 UTC

[GitHub] [incubator-kvrocks] infdahai commented on issue #1413: Failed to build kvrocks due to ld error while linking libluajit.a

infdahai commented on issue #1413:
URL: https://github.com/apache/incubator-kvrocks/issues/1413#issuecomment-1529424424

   > I will try to reproduce the issue.
   > 
   > BTW, it seems the lld has not been used ever (ld was used instead):
   > 
   > ```
   > 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
   > ```
   
   I want to use the `lto` feature  and execute the  `ln -s ld.lld /usr/bin/ld` command.


-- 
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: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org