Skip to content

Backport/gh 7427 - #8399

Closed
indutny wants to merge 2 commits into
nodejs:v4.x-stagingfrom
indutny:backport/gh-7427
Closed

Backport/gh 7427#8399
indutny wants to merge 2 commits into
nodejs:v4.x-stagingfrom
indutny:backport/gh-7427

Conversation

@indutny

Copy link
Copy Markdown
Member
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

deps

Description of change

Backport of two commits from the master branch.

cc @thealphanerd

Use `msvs_settings.MASM.UseSafeExceptionHandlers` when building OpenSSL
assembly code on Windows. This option appends `/safeseh` to the list of
assembler flags when building `.asm` files on Windows.
Having this option in place, separate rules in `masm_compile.gypi` are
no longer needed.
Fix: nodejs#7426
PR-URL: nodejs#7427
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Bert Belder <bertbelder@gmail.com>
`ml64.exe` doesn't support `/safeseh` option. Do not attempt to use it
if `target_arch=="x64"`.
See: https://msdn.microsoft.com/en-us/library/s0ksfwcf.aspx
PR-URL: nodejs#7759
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
@nodejs-github-botnodejs-github-bot added the openssl Issues and PRs related to the OpenSSL dependency. label Sep 3, 2016
@mscdexmscdex added v4.x windows Issues and PRs related to the Windows platform. labels Sep 3, 2016
@jasnell

Copy link
Copy Markdown
Member

LGTM if CI is green.

@indutny

Copy link
Copy Markdown
MemberAuthor

@indutny

Copy link
Copy Markdown
MemberAuthor

CI is green except some unrelated failures on ARM. Landing.

@indutny

Copy link
Copy Markdown
MemberAuthor

Ah, actually. @Fishrock123 I'll let you land this one when you'll be ready for it :)

@Fishrock123

Copy link
Copy Markdown
Contributor

@indutny huh? Why would I be landing this? If it is ready you can land it directly onto 4.x-staging I think, but maybe cc @thealphanerd

@indutny

Copy link
Copy Markdown
MemberAuthor

Oops, meant @thealphanerd . Sorry!

@MylesBorins

Copy link
Copy Markdown
Contributor

landed in 7e60292...09099ab

@indutny

Copy link
Copy Markdown
MemberAuthor

Hooray, thanks everyone!

@indutny
indutny deleted the backport/gh-7427 branch September 4, 2016 18:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

opensslIssues and PRs related to the OpenSSL dependency.windowsIssues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@indutny@jasnell@Fishrock123@MylesBorins@mscdex@nodejs-github-bot