Re: [OE-core] [langdale][master][PATCH v3] rust: Do not use default compiler flags defined in CC crate

2022-12-20 Thread Anton Antonov
Hi Alexandre, It looks like in rust classes we don't define compiler parameter not only for native recipes, but for x86 targets also. I need to think about a different approach to fix the issue. Cheers, Anton -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Rep

Re: [OE-core] [langdale][master][PATCH v3] rust: Do not use default compiler flags defined in CC crate

2022-12-20 Thread Alexandre Belloni via lists.openembedded.org
Hello, this fails on the autobuilders: https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/6362/steps/11/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/6274/steps/12/logs/stdio On 20/12/2022 11:24:59+, Anton Antonov wrote: > Rust crates build depen

[OE-core] [langdale][master][PATCH v3] rust: Do not use default compiler flags defined in CC crate

2022-12-20 Thread Anton Antonov
Rust crates build dependecy C libraries using "CC" crate. This crate adds some default compiler parameters depending on target arch. For some target archs these parameters conflict with the parameters defined by OE. Warnings/errors like this can be seen in the case: cc1: error: switch '-mcpu=cor