Skip to content

bitbake rust-llvm -c do_configure is broken #1119

@DeepeshvRajan

Description

@DeepeshvRajan

bitbake rust-llvm -c do_configure is failing

git clone https://github.com/yoctoproject/poky
cd poky
git clone https://github.com/kraj/meta-clang
source oe-init-build-env
vi conf/bblayers.conf
add meta-clang layer
and bitbake rust-llvm -c do_configure

| x86_64-poky-linux-gcc: error: unrecognized command-line option '--rtlib=libgcc'
| x86_64-poky-linux-gcc: error: unrecognized command-line option '--unwindlib=libgcc'
| x86_64-poky-linux-gcc: error: unrecognized command-line option '--rtlib=libgcc'
| x86_64-poky-linux-gcc: error: unrecognized command-line option '--unwindlib=libgcc'
| ninja: build stopped: subcommand failed.

I guess this is because of the following commit
521fcaf

Note : Without adding meta-clang layer the issue is not seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions