From: Yash Shinde <Yash.Shinde@windriver.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: raj.khem@gmail.com, openembedded-core@lists.openembedded.org,
Randy.MacLeod@windriver.com, Sundeep.Kokkonda@windriver.com
Subject: Re: [OE-core] [PATCH v2 2/3] rust: Upgrade 1.84.1->1.85.0
Date: Tue, 15 Apr 2025 21:28:03 +0530 [thread overview]
Message-ID: <9b56919f-9c04-460c-8dde-363cadd1b25b@windriver.com> (raw)
In-Reply-To: <CA+chaQfvUii4KyMTgD4+RvHkQF9Tf0_jpym0UC8dkKupfhscjg@mail.gmail.com>
On 15-04-2025 21:22, Martin Jansa wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Tue, Apr 15, 2025 at 5:46 PM Yash Shinde <Yash.Shinde@windriver.com> wrote:
>>
>> On 15-04-2025 17:08, Martin Jansa wrote:
>>
>> qemuarmv5 uses tune-arm926ejs which uses armv5te, I think you would
>> need to use armv5te-vfp to reproduce this, or use qemuarm with
>> tune-cortexa15 but switch from default cortexa15thf-neon to
>> cortexa15t-neon
>>
>> I was seeing it in multilib builds e.g. with
>> https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=40e9c4744a7f1eb2d91af9539d69555d36dfba30
>> which uses DEFAULTTUNE:virtclass-multilib-lib32 = "armv7at-neon"
>>
>> unfortunately just treating softfp as soft ends with segfaults in rust
>> as shown nere:
>> https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=c65eda95e5dd3ad0be0565477236d7902d5d625c
>>
>> Regards,
>>
>> On Tue, Apr 15, 2025 at 11:05 AM Yash Shinde <Yash.Shinde@windriver.com> wrote:
>>
>> I checked for softfp tuning using (which gave TARGET_FPU = softfp):
>>
>> TUNE_FEATURES = "vfp armv5te"
>> DEFAULTTUNE = "armv5te-vfp"
>> TUNE_PKGARCH = "armv5te-vfp"
>>
>> But, it seems that softfp is not a valid value for llvm-floatabi in rust.
>> It gives error as follows:
>>
>> | --- stderr
>> | error: Error loading target specification: 'softfp' is not a valid value for llvm-floatabi. Use 'soft' or 'hard'.. Run `rustc --print target-list` for a list of built-in targets
>>
>> As you mentioned, using soft instead of softfp also doesn't work either.
>> It seems that unless upstream Rust provides support for this, we won't be able to build Rust with softfp on ARM targets.
> The last 2 paragraphs were rendered as white font on white background,
> but I see it now.
>
> It was building fine in this setup before the last rust upgrade.
Yes, that's because starting from Rust v1.85.0, a check for
llvm-floatabi was added.
https://github.com/rust-lang/rust/commit/a51fefcaab835b310e2e26005b50982d0049d905
next prev parent reply other threads:[~2025-04-15 15:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 5:54 [PATCH v2 1/3] rust: Update "do_update_snapshot" task for rust-snapshot.inc Yash.Shinde
2025-03-31 5:54 ` [PATCH v2 2/3] rust: Upgrade 1.84.1->1.85.0 Yash.Shinde
2025-03-31 6:24 ` [OE-core] " Richard Purdie
2025-03-31 7:16 ` Yash Shinde
2025-03-31 8:17 ` Richard Purdie
2025-03-31 16:46 ` Khem Raj
2025-04-11 7:38 ` Martin Jansa
2025-04-15 9:04 ` Yash Shinde
2025-04-15 11:38 ` Martin Jansa
2025-04-15 15:45 ` Yash Shinde
2025-04-15 15:52 ` Martin Jansa
2025-04-15 15:58 ` Yash Shinde [this message]
2025-04-15 15:51 ` Yash Shinde
2025-04-15 15:53 ` Yash Shinde
2025-03-31 5:54 ` [PATCH v2 3/3] rust: Upgrade 1.85.0->1.85.1 Yash.Shinde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9b56919f-9c04-460c-8dde-363cadd1b25b@windriver.com \
--to=yash.shinde@windriver.com \
--cc=Randy.MacLeod@windriver.com \
--cc=Sundeep.Kokkonda@windriver.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox