Created
May 21, 2021 07:31
-
-
Save grueni/7c3624e5b818a2ff6821a287deebe3f3 to your computer and use it in GitHub Desktop.
mongodb 4.4.6, openssl 1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF > test.cpp | |
#include <openssl/ssl.h> | |
int main() { | |
SSL_CTX_set_ecdh_auto(0, 0); | |
SSL_set_ecdh_auto(0, 0); | |
return 0; | |
} | |
EOF | |
# original line | |
#pkg set-mediator -V 1.1 openssl | |
# original line of SCON test | |
#/usr/gcc/10/bin/g++ -DSOLARIS -o temp.1.1.o -c -m64 -O3 -fpermissive -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -I/usr/include/pcre -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DNDEBUG test.cpp | |
#pkg set-mediator -V 1.1 openssl | |
/usr/gcc/10/bin/g++ -DSOLARIS -o temp.1.1.o -c -m64 -fpermissive -std=c++17 -O2 test.cpp | |
In file included from /usr/include/openssl/ssl.h:15, | |
from test.cpp:1: | |
/usr/include/openssl/crypto.h:322:1: error: '_Noreturn' does not name a type | |
322 | ossl_noreturn void OPENSSL_die(const char *assertion, const char *file, int line); | |
| ^~~~~~~~~~~~~ | |
if compiled with pkg set-mediator -V 1.0 openssl => works | |
if compiled with std=c++11 => works | |
but not with "pkg set-mediator -V 1.1 openssl" and stdc=c++17 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment