** Description changed:

  [ Impact ]
  
-  * On Noble, dpkg scripts could not produce Rust binaries with frame-
+  * 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.
+  * Build a Rust binary package like ripgrep and you will not find 
frame-pointers being used in the binary.
+  * Since LLVM could inline and choose to optimize frame pointers away in some 
cases, you will either need to check disassembly of the program around the 
function prologue to see if frame pointer register is correctly saved to stack 
or not.
  
  [ 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.
+  * On older Rust versions, it is known that LLVM on s390x sometimes can 
produce incorrect warnings about how the "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-
+  * This change is mandatory to enable Rust-related packages with frame-
  pointers during the build.

** Description changed:

  [ Impact ]
  
   * On Noble, dpkg scripts could not produce Rust binaries with frame-
  pointer enabled.
  
  [ Test Plan ]
  
   * Build a Rust binary package like ripgrep and you will not find 
frame-pointers being used in the binary.
-  * Since LLVM could inline and choose to optimize frame pointers away in some 
cases, you will either need to check disassembly of the program around the 
function prologue to see if frame pointer register is correctly saved to stack 
or not.
+  * Since LLVM could inline and choose to optimize frame pointers away in some 
cases, you will need to check the disassembly of the program around the 
function prologue to see if the frame pointer register is correctly saved to 
stack (rbp/ebp on x86 architecture).
  
  [ Where problems could occur ]
  
   * On older Rust versions, it is known that LLVM on s390x sometimes can 
produce incorrect warnings about how the "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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2082636

Title:
  [SRU] dpkg: backport frame-pointer enabling mechanism for Rust

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2082636/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to