You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Crypto++ Users List
Hi Everyone,
LTO is slowly accumulating bugs. From what I have seen in the
post-mortems, it looks like LTO is either (1) results in a compile
error (older compilers) or (2) results in a runtime error (newer
compilers).
For (2), it appears LTO mishandles code with GCC extended inline
assembly. To build the library with LTO, you have to use
-DCRYPTOPP_DISABLE_ASM. That gets us past the self tests but causes a
slowdown in the library.
Worse, most users and distros are not aware of the LTO problems so the
library gets built with it but without -DCRYPTOPP_DISABLE_ASM.
I think we should add -fno-lto when GCC and compatibles support it.
What do you think?
Jeff
Uri Blumenthal
unread,
May 5, 2021, 3:45:06 PM5/5/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cryptop...@googlegroups.com
I don't see a good alternative. -fno-lto seems it.
> On May 5, 2021, at 14:23, Jeffrey Walton <nolo...@gmail.com> wrote:
>
> Hi Everyone,