-
-
Notifications
You must be signed in to change notification settings - Fork 35.1k
Open
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.
Description
Version
v18.18.0
Platform
openbsd 7.4
Subsystem
No response
What steps will reproduce the bug?
CXX=c++ CC=cc ./configure --fully-static --openssl-no-asm
How often does it reproduce? Is there a required condition?
All the time.
What is the expected behavior? Why is that the expected behavior?
"-ldl" shouldn't be used when using static compilation.
What do you see instead?
c++: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
ld: error: unable to find library -ldl
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [deps/openssl/openssl-cli.target.mk:249: /home/kabiraatmonallabs/Execution/node-v21.6.2/out/Release/openssl-cli] Error 1
Additional information
Downloaded version 20 of node to compile on openBSD with configure command as CXX=c++ CC=cc ./configure --fully-static --openssl-no-asm.
I get the error:
libopenssl.a -static -ldl -pthread -Wl,--end-group
c++: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
ld: error: unable to find library -ldl
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [deps/openssl/openssl-cli.target.mk:249: /home/kabiraatmonallabs/Execution/node-v21.6.2/out/Release/openssl-cli] Error 1
gmake: *** [Makefile:134: node] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.