1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00
Files
poky/meta/recipes-core
Yash Shinde 9da30a8753 zlib: Enable PIE for native builds
The zlib crate in rust uses libz.a which comes from the zlib-native build.
Some distros like alma9, fedora etc. do not have PIE enabled by default for system compiler.

This leads to target-rust-ccld linking error for cargo-native as (line no 22936):
error: linking with `/home/pokybuild/yocto-worker/qemuarm64/build/build/tmp/work/x86_64-linux/cargo-native/1.79.0/wrapper/target-rust-ccld` failed: exit status: 1

https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/9385/steps/13/logs/stdio

Hence, enable PIE option to CFLAGS for native builds.

(From OE-Core rev: 7146d260f655fa924461333c8c2944ebb93b2b3c)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
..
2024-01-07 12:24:57 +00:00
2024-07-21 11:08:11 +01:00
2024-03-18 12:21:45 +00:00
2023-04-27 14:41:31 +01:00
2024-08-08 08:26:14 +01:00
2024-04-14 06:28:02 +01:00
2024-08-23 22:43:27 +01:00
2024-08-29 21:58:19 +01:00
2022-11-08 22:47:16 +00:00
2024-08-23 22:43:27 +01:00
2024-08-21 21:51:49 +01:00
2024-04-23 13:40:24 +01:00
2024-08-29 21:58:19 +01:00