Skip to content

zig build -Doptimize=ReleaseSafe not working #16

@noahgsolomon

Description

@noahgsolomon

After running zig build get-v8, running zig build -Doptimize=ReleaseSafe returns the following (I am using zig 0.12.0):

(the only thing in v8-build/x86_64-linux/release/ninja is "args.gn")

➜ zig build -Doptimize=ReleaseSafe
install
└─ v8
└─ cp failure
error: FileNotFound
ninja: Entering directory `v8-build/x86_64-linux/release/ninja'
ninja: fatal: chdir to 'v8-build/x86_64-linux/release/ninja' - No such file or d
install
└─ v8
└─ run tools/linux-amd64/ninja failure
error: the following command exited with error code 1:
tools/linux-amd64/ninja -C v8-build/x86_64-linux/release/ninja c_v8
ERROR Unable to load "/home/noahsolomon/zig-v8/gclient/v8/zig/BUILD.gn".
install
└─ v8
└─ run tools/linux-amd64/gn failure
error: the following command exited with error code 1:
tools/linux-amd64/gn --root=gclient/v8 --root-target=//zig --dotfile=.gn gen v8-
arget_os="linux" target_cpu="x64" is_debug=false symbol_level=0 is_official_buil
nable_handle_zapping=false cxx_use_ld="lld"
Build Summary: 1/6 steps succeeded; 3 failed (disable with --summary none)
install transitive failure
└─ v8 transitive failure
├─ cp failure
├─ run tools/linux-amd64/gn failure
└─ run tools/linux-amd64/ninja failure
error: the following build command failed with exit code 1:
/home/noahsolomon/zig-v8/zig-cache/o/1a50bf598b54becce26ba4a20a043d52/build /opt
/home/noahsolomon/zig-v8/zig-cache /home/noahsolomon/.cache/zig --seed 0x68757fc
fe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions