Skip to content

test: export public symbols in addons tests - #28717

Closed
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:addon-vis
Closed

test: export public symbols in addons tests#28717
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:addon-vis

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

Upcoming changes to node-gyp will turn on -fvisibility=hidden on
macOS. Ensure that public symbols that are dlsym'd have default
visibility.

Refs: #28647
Refs: nodejs/node-gyp#1828

@nodejs-github-botnodejs-github-bot added addons Issues and PRs related to native addons. test Issues and PRs related to the tests. labels Jul 16, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Copy link
Copy Markdown
Member

Relevant CI failures....I'll put a wip label on this. Feel free to remove if you think that's not appropriate.

@TrottTrott added the wip Issues and PRs that are still a work in progress. label Jul 18, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threadtest/addons/dlopen-ping-pong/binding.cc Outdated
Comment threadtest/addons/openssl-client-cert-engine/testengine.cc Outdated
@BridgeAR

Copy link
Copy Markdown
Member

What's the status here?

Upcoming changes to node-gyp will turn on `-fvisibility=hidden` on
macOS. Ensure that public symbols that are dlsym'd have default
visibility.
Refs: nodejs#28647
Refs: nodejs/node-gyp#1828
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@BridgeAR

Copy link
Copy Markdown
Member

@bnoordhuis

Copy link
Copy Markdown
MemberAuthor

I don't think that's related. The stack trace is for test/node-api/test_buffer/test.js but this PR doesn't touch files in test/node-api, only test/addons.

@BridgeARBridgeAR added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed wip Issues and PRs that are still a work in progress. labels Jan 12, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Copy link
Copy Markdown
Member

Landed in cc0748f

@TrottTrott closed this Jan 18, 2020
Trott pushed a commit that referenced this pull request Jan 18, 2020
Upcoming changes to node-gyp will turn on `-fvisibility=hidden` on
macOS. Ensure that public symbols that are dlsym'd have default
visibility.
Refs: #28647
Refs: nodejs/node-gyp#1828
PR-URL: #28717
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@richardlau

Copy link
Copy Markdown
Member

@bnoordhuis this error seems related: https://ci.nodejs.org/job/node-test-commit-plinux/30299/nodes=centos7-ppcle/testReport/junit/(root)/test/node_api_test_buffer_test/

That’s failing the same CHECK as #31061 so probably indicates the test is reusing addresses for BackingStore which is no longer allowed.

codebytere pushed a commit that referenced this pull request Feb 17, 2020
Upcoming changes to node-gyp will turn on `-fvisibility=hidden` on
macOS. Ensure that public symbols that are dlsym'd have default
visibility.
Refs: #28647
Refs: nodejs/node-gyp#1828
PR-URL: #28717
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@codebyterecodebytere mentioned this pull request Feb 17, 2020
codebytere pushed a commit that referenced this pull request Mar 14, 2020
Upcoming changes to node-gyp will turn on `-fvisibility=hidden` on
macOS. Ensure that public symbols that are dlsym'd have default
visibility.
Refs: #28647
Refs: nodejs/node-gyp#1828
PR-URL: #28717
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere pushed a commit that referenced this pull request Mar 17, 2020
Upcoming changes to node-gyp will turn on `-fvisibility=hidden` on
macOS. Ensure that public symbols that are dlsym'd have default
visibility.
Refs: #28647
Refs: nodejs/node-gyp#1828
PR-URL: #28717
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@codebyterecodebytere mentioned this pull request Mar 17, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addonsIssues and PRs related to native addons.author readyPRs that have at least one approval, no pending requests for changes, and a CI started.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@bnoordhuis@nodejs-github-bot@Trott@BridgeAR@richardlau@jasnell@addaleax@gabrielschulhof@cjihrig