Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to build io.js using vs 2013 on win7x64 #1623

Closed
chapgaga opened this issue May 5, 2015 · 6 comments
Closed

failed to build io.js using vs 2013 on win7x64 #1623

chapgaga opened this issue May 5, 2015 · 6 comments

Comments

@chapgaga
Copy link

chapgaga commented May 5, 2015

i can build node.js with vs 2013 , but failed to build io.js with vs 2013, why, is this kind of bug?

openssl\apps\s_socket.c(591): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW
() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings [E:\pro
jects\hack\io.js\deps\openssl\openssl-cli.vcxproj]
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2238) : 参见“gethostbyn
am
  e”的声明
  speed.c
  spkac.c
  srp.c
  ts.c
  verify.c
  version.c
  x509.c
  v8_nosnapshot.vcxproj -> ..\..\..\..\build\Release\lib\v8_nosnapshot.lib
  util.cc
test\cctest\util.cc(8): fatal error C1001: 编译器中发生内部错误。 [E:\projects\hack\io.js\cctest
.vcxproj]
  (编译器文件“f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp”,第 10610 行)
   要解决此问题,请尝试简化或更改上面所列位置附近的程序。
  请选择 Visual C++
  “帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息。


  openssl-cli.vcxproj -> E:\projects\hack\io.js\Release\\openssl-cli.exe
  debug-agent.cc
  async-wrap.cc
  fs_event_wrap.cc
  cares_wrap.cc
e:\projects\hack\io.js\src\debug-agent.h(128): fatal error C1001: 编译器中发生内部错误。 [E:\pro
jects\hack
\io.js\iojs.vcxproj]
  (编译器文件“f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp”,第 10610 行)
   要解决此问题,请尝试简化或更改上面所列位置附近的程序。
  请选择 Visual C++
  “帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息。 (src\debug-agent.cc)
e:\projects\hack\io.js\src\debug-agent.h(128): fatal error C1001: 编译器中发生内部错误。 [E:\pro
jects\hack
\io.js\iojs.vcxproj]
  (编译器文件“f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp”,第 10610 行)
   要解决此问题,请尝试简化或更改上面所列位置附近的程序。
  请选择 Visual C++
  “帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息。 (src\async-wrap.cc)
e:\projects\hack\io.js\src\debug-agent.h(128): fatal error C1001: 编译器中发生内部错误。 [E:\pro
jects\hack
\io.js\iojs.vcxproj]
  (编译器文件“f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp”,第 10610 行)
   要解决此问题,请尝试简化或更改上面所列位置附近的程序。
  请选择 Visual C++
  “帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息。 (src\fs_event_wrap.cc
)
  handle_wrap.cc
e:\projects\hack\io.js\src\debug-agent.h(128): fatal error C1001: 编译器中发生内部错误。 [E:\pro
jects\hack
\io.js\iojs.vcxproj]
  (编译器文件“f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp”,第 10610 行)
   要解决此问题,请尝试简化或更改上面所列位置附近的程序。
  请选择 Visual C++
  “帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息。 (src\cares_wrap.cc)
  js_stream.cc
  node.cc
c1xx : warning C4117: 保留“__LINE__”宏名,忽略“#define” [E:\projects\hack\io.js\iojs.vcxproj
]
c1xx : warning C4117: 保留“__LINE__”宏名,忽略“#define” [E:\projects\hack\io.js\iojs.vcxproj
]
c1xx : warning C4117: 保留“__LINE__”宏名,忽略“#define” [E:\projects\hack\io.js\iojs.vcxproj
]
@bnoordhuis
Copy link
Member

e:\projects\hack\io.js\src\debug-agent.h(128): fatal error C1001: 编译器中发生内部错误。 [E:\pro
jects\hack

C1001 is an ICE, an internal compiler error. In other words, it's probably a problem with MSVC, not io.js. Does it work with vcbuild.bat debug?

@chapgaga
Copy link
Author

chapgaga commented May 5, 2015

@bnoordhuis all failed , vcbuild nosign and vcbuild debug
but my vs 2013 can build node.js, why it failed to build io.js?

@mathiask88
Copy link
Contributor

I just built it with vcbuild.bat debug nosign x64 in VS2013 Update 4.

@bnoordhuis
Copy link
Member

but my vs 2013 can build node.js, why it failed to build io.js?

io.js and V8 use C++11 features. The support for that in MSVS 2013 is a little haphazard.

That said, the binaries on https://iojs.org/ are built with 2013, so whatever the issue is, it's local to your install.

If all else fails, use the binaries from the website and perhaps report the issue to MS. I'll close the issue.

@chapgaga
Copy link
Author

chapgaga commented May 5, 2015

@mathiask88 maybe i should update vs2013

@rnchamberlain
Copy link

Encountered similar C1001 internal compiler error building Node v4 with Visual Studio 2013:

c:\node\node_current\node\src\debug-agent.h(128): fatal error C1001: An internal error has occurred in the compiler. [C:\node\node_current\node\node.vcxproj](compiler file 'f:ddvctoolscompilercxxfeslp1cconvert.cpp', line 10610)

Updating to Visual Studio 2013 Update 5 fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants