Skip to content

Buidling xorg-modular failds, libLLVM fails on musl-based systems: "error: '::lseek64' has not been declared; did you mean 'lseek'?" #165

@MarcCoquand

Description

@MarcCoquand

Hi

When trying to build libLLVM, it fails with the error

/src/pkgsrc/lang/libLLVM/work/llvm-13.0.1.src/lib/Support/raw_ostream.cpp: In member function 'uint64_t llvm::raw_fd_ostream::seek(uint64_t)':
/src/pkgsrc/lang/libLLVM/work/llvm-13.0.1.src/lib/Support/raw_ostream.cpp:807:11: error: '::lseek64' has not been declared; did you mean 'lseek'?

My suspicion is that this is caused by

llvm/llvm-project#60402

And therefore by bumping up to a later version of libLLVM, this should be resolved.

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