Re: Segfaults on FreeBSD

Rogier Boon <[email protected]>
Newsgroups gmane.comp.encryption.cryptopp
Organization Kharakhan
Message-ID <[email protected]>
On Wed, 5 May 2021 18:59:04 +0200
Rogier Boon <[email protected]> wrote:

> > 
> > On the upside, building Crypto++ 8.5 from sources is OK and tests OK.
> > I can't duplicate when using Crypto++ 8.5 or Master. It is OK with
> > both the static lib and shared lib.
> > 
> > I would be interested to know how FreeBSD builds the library. Like are
> > they using LTO, which is known bad. Every distro I have seen that uses
> > LTO has problems with it. Also see
> > https://cryptopp.com/wiki/Link_Time_Optimization.
> > 
> > Is there any chance you can avoid FreeBSD's version, and build
> > Crypto++ yourself?
> > 
> > Jeff
> > 
> 
> 
> Pfiew, I'm glad you can reproduce this issue. I was starting to question my sanity.
> 
> I'll try to build de library myself to see if it improves. 
> 
> Rogier
> 

Compiling from source seems to fix the crash I have using the sample code. For my own code I'm getting different crashes.... so it is back to the debugger for me. At least I'm a step further. 

Thanks 

Rogier

-- 
-- Insanity: doing the same thing over and over again
-- and expecting different results.

-- 
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/20210506092148.e37b178e69ef5c7ca3afdcd4%40gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.