Skip to content

[CFP] Switching to LLVM based toolchains in Yocto based distributions #8

@berolinux

Description

@berolinux

Title

Switching to LLVM based toolchains in Yocto based distributions

Author

Bernhard Rosenkraenzer, [email protected], Huawei Open Source Technology Center

Distribution

Yet unnamed embedded distribution (current working title: All Scenarios OS)

Abstract (optional)

The Huawei Open Source Technology Center is working on a new distribution for embedded devices, using the Linux kernel for higher end devices and the Zephyr kernel for the low end.
Like many embedded distributions, it is based on Yocto - but unlike most others, it uses LLVM/Clang as its primary toolchain.

The talk shows how it can be done, and goes over some issues currently in the way.

What's unique about the environment you package LLVM for? (optional)

Multi-kernel, multi-architecture embedded distribution using clang as its primary compiler

What makes your distribution of LLVM unique? (optional)

Crosscompiling with a Yocto based build system

What might others learn from your experience? (optional)

How to use clang in a Yocto/OpenEmbedded environment

What could be improved in upstream LLVM to make working with it easier as a downstream packager? (optional)

More help for not so experienced packagers who report "MyFavoriteApp 1.1 works great with gcc but crashes with clang. Obviously clang is to blame and needs to be fixed, let's switch back to gcc!" type "bugs" -- There's currently no really good place for newbie packages to turn to for help.

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