[Bug 2082636] [NEW] [SRU] dpkg: backport frame-pointer enabling mechanism for Rust
Zixing Liu
2082636 at bugs.launchpad.net
Thu Sep 26 19:38:37 UTC 2024
Public bug reported:
[ Impact ]
* On Noble, dpkg scripts could not produce Rust binaries with frame-
pointer enabled.
[ Test Plan ]
* Randomly build a Rust binary package like ripgrep and you will not
find frame-pointers being used in the binary.
[ Where problems could occur ]
* On older Rust versions, it is known that LLVM on s390x sometimes can produce incorrect warnings about how "backchain" feature does not exist.
* On older LLVM versions, LLVM may not produce correct backchain saving logic inside the function prologue.
[ Other Info ]
* This change is mandatory to enable Rust-related packages with frame-
pointers during the build.
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Merge proposal linked:
https://code.launchpad.net/~liushuyu-011/ubuntu/+source/dpkg/+git/dpkg/+merge/473940
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2082636
Title:
[SRU] dpkg: backport frame-pointer enabling mechanism for Rust
Status in dpkg package in Ubuntu:
New
Bug description:
[ Impact ]
* On Noble, dpkg scripts could not produce Rust binaries with frame-
pointer enabled.
[ Test Plan ]
* Randomly build a Rust binary package like ripgrep and you will not
find frame-pointers being used in the binary.
[ Where problems could occur ]
* On older Rust versions, it is known that LLVM on s390x sometimes can produce incorrect warnings about how "backchain" feature does not exist.
* On older LLVM versions, LLVM may not produce correct backchain saving logic inside the function prologue.
[ Other Info ]
* This change is mandatory to enable Rust-related packages with
frame-pointers during the build.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2082636/+subscriptions
More information about the foundations-bugs
mailing list