summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
diff options
context:
space:
mode:
authorYash Shinde <Yash.Shinde@windriver.com>2024-08-29 01:33:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-29 21:58:19 +0100
commit9da30a87536c5e3e5778dd6c287a23a9d568cede (patch)
tree41e98ca1d95a14ca2e390f497730e481c871893f /meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
parent088d9fe6b7086802367d7a080da0c1465862c24f (diff)
downloadpoky-9da30a87536c5e3e5778dd6c287a23a9d568cede.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch')
0 files changed, 0 insertions, 0 deletions