-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Some c-ares symbols in Node headers not exported by Node executable #8226
Copy link
Copy link
Closed
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.Issues and PRs related to the c-ares dependency or the cares_wrap binding.
Description
Activity
Metadata
Metadata
Assignees
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.Issues and PRs related to the c-ares dependency or the cares_wrap binding.
Linux <hostname redacted> 3.13.0-87-generic #133-Ubuntu SMP Tue May 24 18:32:09 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxThe
ares.hfile in the Node header distribution (the one that node-gyp downloads) contains symbols that are not dynamically exported by the Node binary. For example,ares_gethostbynameappears in that header file, butobjdump -T $(which node)shows that that symbol appears nowhere in the dynamic symbol table. Because of this, I can build a native addon using that header without errors, but have it fail to find the symbol when I load it.