You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/08/02 12:40:16 UTC

[GitHub] [incubator-kvrocks] PragmaTwice commented on pull request #764: Add LTO/IPO compile support

PragmaTwice commented on PR #764:
URL: https://github.com/apache/incubator-kvrocks/pull/764#issuecomment-1202447302

   It seems GCC builds in linux work well but Clang builds fail in linking phase (https://github.com/apache/incubator-kvrocks/runs/7631095274?check_suite_focus=true). 
   
   I have not tried it manually but I guess it maybe due to ld is used, which cannot recognize `*.o` generated by clang with `-flto` enabled (it is actually llvm bytecode in LTO mode).
   
   Hence you can try to replace ld with lld while clang is used. I can help you to do that if you do not familiar with those stuff. 


-- 
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