Skip to content

Windows build failure #102

Closed
Closed

Description

@targos

https://ci.nodejs.org/job/node-compile-windows/25607/label=win-vs2017/console

08:45:56   mksnapshot.cc
08:46:11      Creating library c:\workspace\node-compile-windows\Release\mksnapshot.lib and object c:\workspace\node-compile-windows\Release\mksnapshot.exp
08:46:20   mksnapshot.vcxproj -> c:\workspace\node-compile-windows\Release\\mksnapshot.exe
08:46:20   generating: "Release\obj\generate_snapshot\/embedded.S" "Release\obj\generate_snapshot\/snapshot.cc"
08:46:22   Assembling Release\obj\generate_snapshot\\embedded.S...
08:46:22 Release\obj\generate_snapshot\\embedded.S(1): error A2008: syntax error : / [c:\workspace\node-compile-windows\tools\v8_gypfiles\generate_snapshot.vcxproj]

Activity

  1. refack commented on Mar 31, 2019

    @refack

    Seems like the generator doesn't handle \ in paths:

    .file 1 "....deps�8src�uiltins�ase.tq"
    

    image

    image

    Where \b = \0x08

  2. refack commented on Mar 31, 2019

    @refack

    std::replace(fixed_filename.begin(), fixed_filename.end(), '\\', '/');

    This doesn't work as expected (and BTW this is C++20)

    Now that I think of it this is probably related to nodejs/node#27017. This is a line from
    global_intermediate\torque-output-root\torque-generated\builtins-array-from-dsl-gen.cc

        ca_.SetSourcePosition("..\..\deps\v8\src\builtins\array.tq", 20);
    
  3. refack commented on Mar 31, 2019

    @refack
  4. refack commented on Mar 31, 2019

    @refack

    Ok, seems like we were missing another small thing

    ['OS=="win"', {
    'defines': [ 'V8_TARGET_OS_WIN' ],
    }],

    17d955f

    https://ci.nodejs.org/job/node-test-commit-windows-fanned/26076/

  5. refack commented on Mar 31, 2019

    @refack

    Rebased 3c649ec...506610d
    Windows CI: https://ci.nodejs.org/job/node-test-commit-windows-fanned/26080/ ✔️

    Pushed to nodejs/node/canary-base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions