Re: [OE-core] [Openembedded-architecture] [RFC PATCH] Add genericarm64 MACHINE using upstream defconfig

2024-02-21 Thread Anton Antonov
On Wed, Feb 21, 2024 at 03:21 AM, Richard Purdie wrote: > > I think it comes down to whether the fragments are usable and testable. > We have a list of targets we want this new machine to run on so lets > start with those, define genericarm64 as that set of fragments combined > plus the generic

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

2023-01-03 Thread Anton Antonov
Signed-off-by: Anton Antonov --- meta/classes-recipe/rust-common.bbclass | 28 +-- .../classes-recipe/rust-target-config.bbclass | 16 +++ 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-r

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.

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

2022-12-20 Thread Anton Antonov
Signed-off-by: Anton Antonov --- meta/classes-recipe/rust-target-config.bbclass | 13 + 1 file changed, 13 insertions(+) diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 2710b4325d..5685897462 100644 --- a/meta/clas

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

2022-12-20 Thread Anton Antonov
Hi Alexandre, CRATE_CC_NO_DEFAULTS should not be set for native-sdk recipes. The issue is fixed in v3 of the patch. Cheers, Anton -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#174845):

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

2022-12-09 Thread Anton Antonov
Signed-off-by: Anton Antonov --- meta/classes-recipe/rust-target-config.bbclass | 17 + 1 file changed, 17 insertions(+) diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 2710b4325d..0f72d685df 100644 --- a/me

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

2022-11-21 Thread Anton Antonov
Hi Richard, Are you happy to accept my initial patch as it? Cheers, Anton From: Richard Purdie Date: Sunday, 20 November 2022 at 11:45 To: Peter Kjellerstedt , Anton Antonov , openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [langdale][master][PATCH] rust: Do not use

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

2022-11-18 Thread Anton Antonov
_DEFAULTS[export] = "0" for testing, I still see: $ MACHINE=qemuarm bitbake rust-native -e |grep CRATE_CC_NO_DEFAULTS # $CRATE_CC_NO_DEFAULTS [3 operations] export CRATE_CC_NO_DEFAULTS="" # $CRATE_CC_NO_DEFAULTS:class-native CRATE_CC_NO_DEFAULTS:class-native="" Chee

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

2022-11-18 Thread Anton Antonov
the same result – empty export. Cheers, Anton From: Richard Purdie Date: Friday, 18 November 2022 at 15:10 To: Anton Antonov , openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [langdale][master][PATCH] rust: Do not use default compiler flags defined in CC crate On Fri, 2022-1

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

2022-11-18 Thread Anton Antonov
Hi Richard, Thank you for the suggestion. I was wondering how I can conditionally export a variable without updating a task. I will test and submit a new patch Anton -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#173467):

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

2022-11-18 Thread Anton Antonov
Signed-off-by: Anton Antonov --- meta/classes-recipe/rust-target-config.bbclass | 18 ++ 1 file changed, 18 insertions(+) diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 2710b4325d..4135335043 100644 --- a/me

Re: [OE-core] rust: conflicts between Yocto and CC-RS compiler parameters

2022-10-25 Thread Anton Antonov
On Tue, Oct 25, 2022 at 03:56 AM, Richard Purdie wrote: > > I'm a bit worried that we're seeing conflicting flags, it makes me > wonder whether we have the right ones in our tune, or, are we mapping > between RUST_HOST_SYS and HOST_SYS correctly. > > I'm guessing this is from "-mfpu=vfpv3-d16"

[OE-core] rust: conflicts between Yocto and CC-RS compiler parameters

2022-10-24 Thread Anton Antonov
Hi all, After this change (using RUST_HOST_SYS instead of HOST_SYS): https://github.com/yoctoproject/poky/commit/5c45b73c8fa445b5192bb9fac1bc80b038b44c0d builds of parsec-service recipe for qemuarm machine started to fail: cc1: error: switch '-mcpu=cortex-a15' conflicts with switch