Skip to content

Many apps fail to build under LLVM toolchain #15

@G36maid

Description

@G36maid

I've been working on adding LLVM toolchain support to the RISC-V build system.
However, many applications currently fail to build under LLVM due to code issues such as:

  • unused variables (e.g. in malloc.c)
  • incompatible attributes like __maybe_unused (e.g. in pipe.c)
  • general incompatibility with Clang (e.g. cpubench.c)

In #14 I have addressed some minor issues to make the build system itself functional under LLVM.

However, resolving all code-level incompatibilities across applications is beyond my current scope, as it involves modifying application logic and behavior.
Therefore, I kindly request to ensure LLVM compatibility across all applications once the LLVM build system support is complete.

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