Closed tomrittervg closed 4 years ago
@tomrittervg Thanks for spending your time one investigating this. It should be definitely related to #1244 and looks like the easiest way to solve it (despite it is not reflected in CI yet) is to implement move constructor for pgp_transferable_userid_t
. I'll make a PR soon.
@tomrittervg Could you please quick-check whether this PR fixes an issue: https://github.com/rnpgp/rnp/pull/1250/files ?
@ni4 It does!
@tomrittervg Great, thanks for confirming!
Closing this since issue is fixed.
The OSS-Fuzz build is breaking, since Aug 4th. Normally they file a breakage bug, I'm not sure why they didn't this time, I filed https://github.com/google/oss-fuzz/issues/4278 to ask.
The error is:
The problem is that when compiling with clang, it uses gcc's libc++ by default. However in the oss-fuzz container, they specify
-stdlib=libc++
as a compile flag; which causes llvm's libc++ to be used, and hit this static assert.I couldn't reproduce this using clang-6 in my docker container, so I just matched the llvm version used in oss-fuzz via roughly this process in a docker container:
I know that is kind of annoying. If you throw a patch up you think will fix the issue I can test it.