Skip to content

linux: Unable to compile #127

Closed as not planned
Closed as not planned
@ryuukk

Description

@ryuukk

I tried to compile the latest version using the bootstrap, but i get the following error:

./build -j4 x86_64-linux-musl baseline

i also tried

./build -j4 x86_64-linux-gnu baseline

[100%] Building stage3
Semantic Analysis [3939] minimal_capacity... Semantic Analysis [606] __fixsfti..Compile C Objects [13/21] analyze.cpp... error(compilation): clang failed with stderr: /home/ryuukk/dev/zig-bootstrap/zig/src/stage1/codegen.cpp:4838:17: error: use of undeclared identifier 'LLVMPointerTypeInContext'
/home/ryuukk/dev/zig-bootstrap/zig/src/stage1/codegen.cpp:5183:17: error: use of undeclared identifier 'LLVMPointerTypeInContext'

Semantic Analysis... Compile C Objects [4Compile C Objects [19/21] analyze.cpp../home/ryuukk/dev/zig-bootstrap/zig/src/stage1/codegen.cpp:1:1: error: unable to build C object: clang exited with code 1
error: zig...
error: The following command exited with error code 1:

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