Skip to content

Linux AArch64 build fails with missing include <features.h> #247

Closed
@dprogm

Description

@dprogm

What is the issue?

When compiling a simple program that includes the <algorithm> header the compiler is raising the following error:

external/toolchains_llvm~override~llvm~llvm_toolchain_llvm/bin/../include/c++/v1/__config:261:14: fatal error: 'features.h' file not found
#    include <features.h>

How did you compile?

Used this .bazelrc

build --cxxopt=-std=c++17 --enable_bzlmod --incompatible_enable_cc_toolchain_resolution

On which platform did you compile?

AArch64 Linux, Ubuntu 22.04

What version did you use?

Version 0.10.3 with LLVM 17.04

This looks like a sysroot issue?

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