FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: export zlib symbols on Windows · Pull Request #7983 · nodejs/node · GitHub

/ node Public

build: export zlib symbols on Windows - #7983

Closed
ghost wants to merge 1 commit into
masterfrom
unknown repository
Closed

build: export zlib symbols on Windows#7983
ghost wants to merge 1 commit into
masterfrom
unknown repository

Conversation

ghost commented Aug 5, 2016
edited by ghost
Loading

Copy link
Copy Markdown
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

build, addons

Description of change

Base the generated openssl.def on existing zlib.def. We cannot specify more than one DEF file per executable so we need to merge the two DEF files to expose both OpenSSL and Zlib functionality to addons.

If OpenSSL is not used, link against zlib.def itself.

@bnoordhuis knows about the mkssldef.py

nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Aug 5, 2016

ghost commented Aug 5, 2016

Copy link
Copy Markdown
Author

It would be really nice if this could land in time for Node.js 6.4.0 with the other build fixes.

mscdex added zlib Issues and PRs related to the zlib subsystem. openssl Issues and PRs related to the OpenSSL dependency. labels Aug 5, 2016
Comment thread node.gyp Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you punctuate the comment?

Copy link
Copy Markdown
Member

LGTM with style nit. CI: https://ci.nodejs.org/job/node-test-pull-request/3535/

To be clear, this only applies to non-ssl Windows builds?

ghost commented Aug 5, 2016

Copy link
Copy Markdown
Author

I added a dot in the end. This applies to both ssl and non-ssl:

  • When building with ssl, it makes the mkssldef.py base the list of exports from the already existing zlib.def.
  • When building without ssl it simply links against zlib.def.

The main point is to always export zlib symbols, with or without ssl being exported.

ghost commented Aug 5, 2016

Copy link
Copy Markdown
Author

A more to the point but less "technical" commit description could be "build: export zlib symbols on Windows".

ghost commented Aug 5, 2016

Copy link
Copy Markdown
Author

Rebased, added reviewer & changed title. It passed the tests.

jasnell commented Aug 5, 2016

Copy link
Copy Markdown
Member

LGTM

Base the generated openssl.def on existing zlib.def. We cannot specify
more than one DEF file per executable so we need to merge the two DEF
files to expose both OpenSSL and Zlib functionality to addons.

If OpenSSL is not used, link against zlib.def itself.

PR-URL: #7983
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>

ghost commented Aug 8, 2016

Copy link
Copy Markdown
Author

Could this get merged this week? I do rebase it frequently.

I have one other pending commit that is tagged semver-minor and will get into 6.4.0: #7576 because of similar changes.

So I guess this commit also should be tagged semver-minor and thus it needs to be committed in time for 6.4.0.

Copy link
Copy Markdown
Member

CI is green so I'm okay with it getting merged. That particular configuration is not tested, of course, but it's unlikely to make matters worse than they currently are.

/cc @nodejs/release - there is no land-on-v6.x label, how should I tag it for v6?

Copy link
Copy Markdown
Contributor

If it cherry-picks cleanly, then you really don't need to do anything.

addaleax added the semver-minor PRs that contain new features and should be released in the next minor version. label Aug 8, 2016

addaleax commented Aug 8, 2016

Copy link
Copy Markdown
Member

One more CI: https://ci.nodejs.org/job/node-test-commit/4444/
Will land if it’s green.

addaleax commented Aug 8, 2016

Copy link
Copy Markdown
Member

Landed in 359352c, thanks for the PR!

addaleax closed this Aug 8, 2016
addaleax pushed a commit that referenced this pull request Aug 8, 2016
Base the generated openssl.def on existing zlib.def. We cannot specify
more than one DEF file per executable so we need to merge the two DEF
files to expose both OpenSSL and Zlib functionality to addons.

If OpenSSL is not used, link against zlib.def itself.

PR-URL: #7983
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>

ghost commented Aug 8, 2016

Copy link
Copy Markdown
Author

Thanks 🎉

cjihrig mentioned this pull request Aug 8, 2016
cjihrig pushed a commit that referenced this pull request Aug 10, 2016
Base the generated openssl.def on existing zlib.def. We cannot specify
more than one DEF file per executable so we need to merge the two DEF
files to expose both OpenSSL and Zlib functionality to addons.

If OpenSSL is not used, link against zlib.def itself.

PR-URL: #7983
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
cjihrig mentioned this pull request Aug 11, 2016
cjihrig added a commit that referenced this pull request Aug 11, 2016
Notable changes:

* build: zlib symbols and additional OpenSSL symbols are now exposed on Windows platforms. (Alex Hultman) #7983 and #7576
* child_process, cluster: Forked child processes and cluster workers now support stdio configuration. (Colin Ihrig) #7811 and #7838
* fs: fs.ReadStream now exposes the number of bytes it has read so far. (Linus Unnebäck) #7942
* repl: The REPL now supports editor mode. (Prince J Wesley) #7275
* util: inspect() can now be configured globally using util.inspect.defaultOptions. (Roman Reiss) #8013

Refs: #8020
PR-URL: #8070
cjihrig added a commit that referenced this pull request Aug 11, 2016
Notable changes:

* build: zlib symbols and additional OpenSSL symbols are now exposed on Windows platforms. (Alex Hultman) #7983 and #7576
* child_process, cluster: Forked child processes and cluster workers now support stdio configuration. (Colin Ihrig) #7811 and #7838
* child_process: argv[0] can now be set to arbitrary values in spawned processes. (Pat Pannuto) #7696
* fs: fs.ReadStream now exposes the number of bytes it has read so far. (Linus Unnebäck) #7942
* repl: The REPL now supports editor mode. (Prince J Wesley) #7275
* util: inspect() can now be configured globally using util.inspect.defaultOptions. (Roman Reiss) #8013

Refs: #8020
PR-URL: #8070
cjihrig added a commit that referenced this pull request Aug 15, 2016
Notable changes:

* build: zlib symbols and additional OpenSSL symbols are now exposed on Windows platforms. (Alex Hultman) #7983 and #7576
* child_process, cluster: Forked child processes and cluster workers now support stdio configuration. (Colin Ihrig) #7811 and #7838
* child_process: argv[0] can now be set to arbitrary values in spawned processes. (Pat Pannuto) #7696
* fs: fs.ReadStream now exposes the number of bytes it has read so far. (Linus Unnebäck) #7942
* repl: The REPL now supports editor mode. (Prince J Wesley) #7275
* util: inspect() can now be configured globally using util.inspect.defaultOptions. (Roman Reiss) #8013

Refs: #8020
PR-URL: #8070
cjihrig added a commit to cjihrig/node that referenced this pull request Aug 16, 2016
Notable changes:

* build: zlib symbols and additional OpenSSL symbols are now exposed on Windows platforms. (Alex Hultman) nodejs#7983 and nodejs#7576
* child_process, cluster: Forked child processes and cluster workers now support stdio configuration. (Colin Ihrig) nodejs#7811 and nodejs#7838
* child_process: argv[0] can now be set to arbitrary values in spawned processes. (Pat Pannuto) nodejs#7696
* fs: fs.ReadStream now exposes the number of bytes it has read so far. (Linus Unnebäck) nodejs#7942
* repl: The REPL now supports editor mode. (Prince J Wesley) nodejs#7275
* util: inspect() can now be configured globally using util.inspect.defaultOptions. (Roman Reiss) nodejs#8013

Refs: nodejs#8020
PR-URL: nodejs#8070
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. openssl Issues and PRs related to the OpenSSL dependency. semver-minor PRs that contain new features and should be released in the next minor version. zlib Issues and PRs related to the zlib subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL