Files
poky/meta/recipes-devtools
Peter Tatrai 125ff9747b rust: backport cstring-merging test fix for PowerPC targets
The Rust cstring-merging assembly test was failing on PowerPC targets due to
LLVM's GlobalMerge optimization pass merging all global string constants into
a single merged global. This caused the test's CHECK directives to fail as
they expected separate .Lanon labels for each string literal ("foo", "bar",
"baz").

The test verifies that C-style string literals are correctly placed in
mergeable read-only sections (.rodata.str1.1) with proper section flags
(aMS - Allocatable, Merge, Strings) for linker optimization.

This backports the upstream fix that disables the GlobalMerge pass
(-Cllvm-args=-enable-global-merge=0) specifically for this test, allowing
it to verify the expected assembly structure without interference from
the optimization.

Fixes test failure:
- tests/assembly/cstring-merging.rs on powerpc-poky-linux-gnu

Backport of 2d51acd2fb

(From OE-Core rev: 2435b16b050ebdca0f70fe9ed1eebfdd3bacf19d)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Tested-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
..
2025-07-28 14:51:50 +01:00
2025-05-13 10:29:20 +01:00
2025-08-14 10:31:10 +01:00
2025-07-17 10:41:18 +01:00
2024-09-03 10:21:38 +01:00
2025-05-13 10:29:20 +01:00
2024-05-28 09:38:23 +01:00
2025-06-26 11:02:34 +01:00
2025-07-17 10:41:18 +01:00
2025-08-11 18:04:25 +01:00
2025-06-11 09:34:40 +01:00
2024-04-16 08:07:01 +01:00
2025-08-07 12:11:15 +01:00
2025-05-01 14:33:26 +01:00
2025-07-17 10:41:18 +01:00
2025-07-28 14:51:50 +01:00
2025-08-11 18:04:25 +01:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2024-08-23 09:12:37 +01:00
2025-06-16 17:57:30 +01:00
2025-07-31 10:48:35 +01:00
2025-07-01 08:49:37 +01:00
2024-06-04 12:04:52 +01:00
2025-07-17 10:41:18 +01:00
2025-06-20 12:07:27 +01:00
2025-07-24 10:29:53 +01:00
2025-07-07 22:12:50 +01:00
2025-06-05 11:02:22 +01:00
2025-07-07 22:12:50 +01:00
2025-01-20 13:38:59 +00:00
2025-07-14 17:49:48 +01:00
2025-05-13 10:29:21 +01:00
2025-07-17 10:41:18 +01:00
2025-03-27 11:19:04 +00:00
2025-03-17 17:09:22 +00:00