Skip to content

Compile Kernel 6.x with LLVM (Clang) #144

@filiperivio

Description

@filiperivio

Hi, has anyone compiled this kernel with LLVM=1 (with clang) ?

I needed to test and adjust some Rust4Linux modules, and when I tried to compile with LLVM I got several minor errors.

Such as unused variables, cast conversions, in some drivers.

Any recommendation?

Another question, the Flag of the .config Random memory address is realy necessary to be enabled for VisionFive2?

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