Repository navigation
Compiler warning while building OpenSSL 3 on macOS #40421
Copy link
Copy link
Closed
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.macosIssues and PRs related to the macOS platform.Issues and PRs related to the macOS platform.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
Description
Activity
- addedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
on Oct 12, 2021 - addedmacosIssues and PRs related to the macOS platform.Issues and PRs related to the macOS platform.
on Oct 12, 2021 @nodejs/crypto @danbev
BTW,
$|CONFIGURATION_NAMElooks wrong?Looks like
$|CONFIGURATION_NAMEcomes from gyp's ninja generator.Seems to be happening on the OSX CI machines as well, but since make is used there we get:
20:46:03 In file included from <built-in>:363: 20:46:03 <command line>:36:9: warning: 'OPENSSLDIR' macro redefined [-Wmacro-redefined] 20:46:03 #define OPENSSLDIR "/System/Library/OpenSSL/" 20:46:03 ^ 20:46:03 <command line>:35:9: note: previous definition is here 20:46:03 #define OPENSSLDIR "/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/$(BUILDTYPE)/obj.target/deps/openssl" 20:46:03 ^ 20:46:03 1 warning generated.I think this was fixed in cf7801d
I've taken a look at a recent CI build and I can't see the warning:
cc -o /Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/out/Release/obj.target/openssl/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/sha/sha1-armv8.o ../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/sha/sha1-armv8.S '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_HAS_QUIC' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DOPENSSL_API_COMPAT=0x10100001L' '-DSTATIC_LEGACY' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_BUILDING_OPENSSL' '-DECP_NISTZ256_ASM' '-DKECCAK1600_ASM' '-DOPENSSL_BN_ASM_MONT' '-DOPENSSL_CPUID_OBJ' '-DPOLY1305_ASM' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DVPAES_ASM' '-DOPENSSL_PIC' '-DMODULESDIR="/Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/out/Release/obj.target/deps/openssl/lib/openssl-modules"' '-DOPENSSLDIR="/Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/out/Release/obj.target/deps/openssl"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/openssl/providers/common/include -I../deps/openssl/openssl/providers/implementations/include -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/providers/common/include -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/out/Release/.deps//Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/out/Release/obj.target/openssl/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/sha/sha1-armv8.o.d.raw -c
I'm going to close this issue but if anyone is still seeing this issue please re-open and I'll take a look.
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.macosIssues and PRs related to the macOS platform.Issues and PRs related to the macOS platform.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
This is printed many times.