Skip to content

How to compile driver using clang #28

@ghost

Description

Hi,
I encountered a difficulty about how to compile driver using clang and I find your tool can make it so I need your help.

For example, I want to compile the bluetooth module of the drivers in the linux kernel 4.19.9. I substitute the gcc by clang in the Makefile. But there were some mistakes and it says "You are building kernel with non-retpoline compiler, please update your compiler." .

So, if you intend to compile the bluetooth module, what will you do? Could you explain it?

Thanks.

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