]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust-target-config: Update data layouts for 32-bit arm targets
authorTronje Krabbe <tkrabbe@jusst.de>
Fri, 21 Jun 2024 15:57:28 +0000 (08:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Jun 2024 12:58:57 +0000 (13:58 +0100)
commit802376953ed9f1b3e64b3cf57374c58d7ac68d88
tree2a3dfc0827f70d884beda14314790b6891e2c3a1
parent5ce2e9c66cd2c08e141913ec65386f940353a8c5
rust-target-config: Update data layouts for 32-bit arm targets

update the rust data layout to sync with LLVM [1]
fixes the following build
error:

error: data-layout for target `arm-poky-linux-gnueabi`, `e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64`, differs from LLVM target's `armv7-unknown-linux-gnueabihf` default layout, `e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64`

meta-rust issue report with rust 1.76 [2]

[1] https://github.com/llvm/llvm-project/commit/308e82ecebeef1342004637db9fdf11567a299b3
[2]: https://github.com/meta-rust/meta-rust/issues/444

Signed-off-by: Tronje Krabbe <tkrabbe@jusst.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/rust-target-config.bbclass