GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — VS 2015 support by rvagg · Pull Request #478 · nodejs/node

Conversation

@rvagg

@rvagg rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member

Not quite working yet, it gets to the openssl-cli compile and fails with a linking error:

apps.obj : error LNK2001: unresolved external symbol ___iob_func [C:\io.js\deps\openssl\openssl-cli.vcxproj]
C:\io.js\Release\openssl-cli.exe : fatal error LNK1120: 1 unresolved externals [C:\io.js\deps\openssl\openssl-cli.vcxproj]

This PR upgrades GYP to the latest which understands 2015, and has a lot more changes because there hasn't been an upgrade in a while I suppose.

I've also edited vcbuild.bat to do the appropriate checks.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rvagg

rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member Author

https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/85/

which includes a VS2015 host

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg
rvagg force-pushed the msvs-2015 branch 2 times, most recently from 03614ae to 9e8f118 Compare January 17, 2015 07:47
@rvagg

rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member Author

new build: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/88/

I don't understand the Python stack trace for the OSX failures, anybody care to try and enlighten me on that one?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisdickinson

chrisdickinson commented Jan 17, 2015

Copy link
Copy Markdown
Contributor

Re: python: something in here is adding a non-string-y item to the env dict (likely it's adding None), and re.sub is exploding when it's handed that value.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jan 17, 2015

Copy link
Copy Markdown
Member

@rvagg Can you mention the gyp commit (e.g. r1234) it's been upgraded to? I'll see if I can reproduce the OS X failure on my 10.8 machine.

EDIT: No, seems to be working for me.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member Author

@bnoordhuis I would have put a version in there if I knew where to find one, I went looking but alas.. Any hints on where to find a version for this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jan 17, 2015

Copy link
Copy Markdown
Member

@rvagg I don't know where you got it from but if it's from subversion, then it's the svn commit. If it's git, it's the number from git-svn-id. If this upgrade is to today's HEAD, that would make it r2024.

@chrisdickinson The stack trace suggests it's from here but it looks to me that additional_settings[k] has been sanitized at that point. Strange.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg
rvagg force-pushed the msvs-2015 branch from 9e8f118 to 0c77da2 Compare January 17, 2015 11:27
@chrisdickinson

chrisdickinson commented Jan 17, 2015

Copy link
Copy Markdown
Contributor

@bnoordhuis I thought so too at first, but additional_settings gets updated with the contents of env.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member Author

I printed them out and it is failing on a None, SDKROOT is the one it's borking on.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member Author

note this machine only has the commandline tools, not full xcode, which I'm guessing is partly to blame here, still a bug though

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg
rvagg force-pushed the msvs-2015 branch 3 times, most recently from 54f093d to 21dd523 Compare January 17, 2015 12:57
@rvagg

rvagg commented Jan 17, 2015

Copy link
Copy Markdown
Member Author

figured it out, needs a new entry in common.gypi:

'SDKROOT': 'macosx'

building here: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/90/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jan 17, 2015

Copy link
Copy Markdown
Member

LGTM. Maybe you can move the change to common.gypi into a separate commit with an explanation of why it's needed (and move it before the gyp upgrade to keep git bisect happy.)

The iojs-win2012r2-msvs2015 failure seems to be related to this. I'm not sure why OpenSSL does that but I think we can just rip it out, the only part of OpenSSL that uses stdio (in our configuration) are the apps.

@piscisaureus or @seishun Agree/disagree?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg
rvagg force-pushed the msvs-2015 branch from 21dd523 to af453fa Compare January 19, 2015 11:28
@rvagg

rvagg commented Jan 19, 2015

Copy link
Copy Markdown
Member Author

Good guess @bnoordhuis, when I fix the define to exclude MSVS 2015 it compiles fine and tests pass with only 1 failure (a TLS failure mind you...). See 7b66043.

Re-running tests in CI here: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/94/nodes=iojs-win2012r2-msvs2015/console

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jan 19, 2015

Copy link
Copy Markdown
Member Author

oh, that was an all-pass that time, neat.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jan 19, 2015

Copy link
Copy Markdown
Member

@rvagg It looks like it's running the message tests only.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jan 19, 2015

Copy link
Copy Markdown
Member Author
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg rvagg closed this Jan 19, 2015
@rvagg rvagg reopened this Jan 19, 2015
@rvagg

rvagg commented Jan 19, 2015

Copy link
Copy Markdown
Member Author

Ugh, github on phone, I shouldn't try and be productive. Will look in to this tomorrow.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seishun

seishun commented Jan 20, 2015

Copy link
Copy Markdown
Contributor

I don't like the idea of floating patches to OpenSSL to support a preview version of Visual Studio. Maybe it's better to wait for OpenSSL to fix it on their end?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jan 20, 2015

Copy link
Copy Markdown
Member Author

Yes, point taken. I was surprised that it wasn't already fixed tbh. I'll leave this PR open so ppl know we are tracking towards it but waiting for it to be easier.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

am11 referenced this pull request in microsoft/openssl Jan 29, 2015
@khouzam
Merge pull request #3 from seecrypt/fix-comment-backslashes
c20688d
Fixes builds where environment variable has backslashes
@magicalcookie

magicalcookie commented Feb 4, 2015

Copy link
Copy Markdown

It is fixed in OpenSSL 1.0.2. Patch is from 2 July 2014 http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=aab3560b65b9254d17770bb6fe3ca7edd7451429

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Feb 4, 2015

Copy link
Copy Markdown
Contributor

OpenSSL 1.0.2 discussion: #589

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott and others added 11 commits June 16, 2015 17:19
@Trott
test: tmpdir creation failures should fail tests
88c1831
tmpdir creation only happens for tests that need it. So failure to
refresh the temporary directory should result in a failed test.

PR-URL: nodejs#1976
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@Fishrock123
tools: make test-npm work without global npm
91dfb5e
Futher discussion at nodejs/node-v0.x-archive#25294

PR-URL: nodejs#1926
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
@bnoordhuis
vm: remove unnecessary HandleScopes
5d0cee4
The accessors run inside an implicit HandleScope, there is no need to
create a new one.

PR-URL: nodejs#2001
Reviewed-By: Trevor Norris <[email protected]>
@trevnorris
async-wrap: add provider id and object info cb
e56758a
Re-add the wrapper class id to AsyncWrap instances so they can be
tracked directly in a heapdump.

Previously the class id was given without setting the heap dump wrapper
class info provider. Causing a segfault when a heapdump was taken. This
has been added, and the label_ set to the given provider name so each
instance can be identified.

The id will not be set of the passed object has no internal field count.
As the class pointer cannot be retrieved from the object.

In order to properly report the allocated size of each class, the new
pure virtual method self_size() has been introduces.

PR-URL: nodejs#1896
Reviewed-By: Ben Noordhuis <[email protected]>
@Trott @trevnorris
test: add Buffer slice UTF-8 test
0abcf44
PR-URL: nodejs#1989
Reviewed-By: Trevor Norris <[email protected]>
@piscisaureus
doc: add TSC meeting notes 2015-06-10
30638b1
PR-URL: nodejs#1943
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@Trott
doc: add TOC links to Collaborator Guide
7a3006e
PR-URL: nodejs#1994
Reviewed-By: Colin Ihrig <[email protected]>
@jameshartig @brendanashworth
net: Defer reading until listeners could be added
061342a
Defer reading until user-land has a chance to add listeners. This
allows the TLS wrapper to listen for _tlsError and trigger a
clientError event if the socket already has data that could trigger.

Fixes: nodejs#1114
PR-URL: nodejs#1496
Reviewed-By: Chris Dickinson <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
@pierreinglebert @Fishrock123
module: reduce syscalls during require search
a71ee93
require() now checks that the path exists before searching
further in it.

PR-URL: nodejs#1920
Reviewed-By: Isaac Z. Schlueter <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
Reviewed-By: Chris Dickinson <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@Trott
doc: mention CI in Collaborator Guide
0cf94e6
Add link to Jenkins server in Collaborator Guide.

PR-URL: nodejs#1995
Reviewed-By: Chris Dickinson <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@tellnes
doc: change the info to the same as in gitconfig
1f93b63
PR-URL: nodejs#2000
Reviewed-By: Yosuke Furukawa <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
@targos

targos commented Jun 18, 2015

Copy link
Copy Markdown
Member

rvagg@0e54add that works for me (VS 2015 RC on latest Windows 10 build).

But v8 cannot compile because of a bug in VS. There is a workaround since v4.4.42.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ghost

ghost commented Jun 18, 2015

Copy link
Copy Markdown

@targos, I would not consider that as a bug since in the linked Connect bug report, both OP (David) and VC team member (Jonathan) are in agreement that there is no violation of standard.

Note that the other bug in RC is fixed in recent compiler revision (build 19.00.23008, June 10, 2015) http://webcompiler.cloudapp.net/; it compiles with this code:

struct User {
  void *operator new(size_t, unsigned);
  void operator delete(void *);
};

int main()
{
    auto q = new (0) User;
    return 0;
}
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jun 18, 2015

Copy link
Copy Markdown
Member

@jasonwilliams200OK I was indeed talking about that other bug. They say it's fixed for RTM but is there a way to get the latest version of the C++ compiler before the release?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ghost

ghost commented Jun 18, 2015

Copy link
Copy Markdown

I think no (that web-compiler is emerged as part of a research project http://rise4fun.com/), but if I venture an educated guess, VS RTM will be available few weeks before Windows 10 release (July 29, 2015), which is about any day now. :)
They are probably also considering to make cl (+link+libs) releases independent of VS release lifecycle, which means we could have win32 (cli-only) server-core running in Docker with cl installed for build stuff.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

orangemocha and others added 2 commits June 19, 2015 11:04
@orangemocha @rvagg
build,win: set env before generating projects
396b4c6
vcbuild.bat calls python configure before setting GYP_MSVS_VERSION,
so SelectVisualStudioVersion (tools\gyp\pylib\gyp\MSVSVersion.py)
defaults to 'auto' and selects VS 2005.

vcbuild sets the environment in the current shell, so this issue
would manifest itself only on the first invocation of the script
in any given shell windows.

Reviewed-By: Julien Gilli <[email protected]>
PR-URL: nodejs/node-v0.x-archive#20109
@rvagg
build: add MSVS 2015 support
552664b
@rvagg
rvagg force-pushed the msvs-2015 branch from 0e54add to 552664b Compare June 19, 2015 01:04
@rvagg

rvagg commented Jun 19, 2015

Copy link
Copy Markdown
Member Author

pulled in nodejs/node-v0.x-archive@a58b174 as 396b4c6

CI run https://jenkins-iojs.nodesource.com/job/libuv+any-pr+multi/111/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jun 19, 2015

Copy link
Copy Markdown
Member Author

derp https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/51/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@orangemocha

orangemocha commented Jun 22, 2015

Copy link
Copy Markdown
Contributor

Did something get messed up with this PR? GitHub shows 315 commits and 6686 files changed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Jun 22, 2015

Copy link
Copy Markdown
Member Author

yeah, it's really old and targetting the v1.x branch, hence the superfluous commits. It's just the head one that matters.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Jun 22, 2015

Copy link
Copy Markdown
Member

that's because the PR targets nodejs:v1.x and it is not possible to change the target branch afterwards. Only the last 2 commits are relevant.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg rvagg closed this Jun 23, 2015
@rvagg rvagg mentioned this pull request Jun 23, 2015
VS 2015 support #2036
Merged
@srl295

srl295 commented Jul 30, 2015

Copy link
Copy Markdown
Member

@rvagg Intl won't work under VS2015 because of the same breakage (ICU bug).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@srl295 srl295 mentioned this pull request Jul 30, 2015
intl: VS2015: workaround ICU VS2015 failure? #2279
Closed
@joaocgreis joaocgreis mentioned this pull request Aug 13, 2015
Support for Visual Studio 2015 nodejs/node-v0.x-archive#25857
Closed
@snyk-bot snyk-bot mentioned this pull request Apr 26, 2023
[Snyk] Fix for 4 vulnerabilities aliscco/alisco-node#232
Open
@Domiii Domiii mentioned this pull request Nov 17, 2026
SigintWatchdogHelper: order its mutexes under Record/Replay replayio/node#246
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

windows Issues and PRs related to the Windows platform.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@rvagg @chrisdickinson @bnoordhuis @seishun @magicalcookie @Fishrock123 @jbergstroem @orangemocha @targos @srl295 @mscdex @silverwind @davidmurdoch @indutny @trevnorris @ChALkeR @Olegas @jorangreef @tojocky @evanlucas
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.