You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the official std binaries are built without frame pointers: rust-lang/rust#103711. This means that libraries and apps built with freedesktop SDK's Rust have clobbered frame pointers in std functions, even when building with -C force-frame-pointers=yes. This can be verified with a command from the issue:
Frame pointers in all functions are needed for fast profiling, and they are already enabled across the freedesktop SDK. To be able to profile Rust applications and applications depending on Rust libraries (e.g. Rust gstreamer plugins), they should also be built with frame pointers, including the standard library crates.
Until there are official binaries with frame pointers, would it be possible to rebuild the standard library crates with -C force-frame-pointers=yes for the freedesktop SDK extension?
You can verify that it worked if building an app with -C force-frame-pointers=yes produces empty output for the above command:
Right now this extension just re-packages official rust binaries so switching to source build would a be a major complication. This may require much more time effort than bumping version (which is done by bot).
Ideally this would be fixed by upstream at some point.
At the moment, the official std binaries are built without frame pointers: rust-lang/rust#103711. This means that libraries and apps built with freedesktop SDK's Rust have clobbered frame pointers in std functions, even when building with
-C force-frame-pointers=yes
. This can be verified with a command from the issue:Frame pointers in all functions are needed for fast profiling, and they are already enabled across the freedesktop SDK. To be able to profile Rust applications and applications depending on Rust libraries (e.g. Rust gstreamer plugins), they should also be built with frame pointers, including the standard library crates.
Until there are official binaries with frame pointers, would it be possible to rebuild the standard library crates with
-C force-frame-pointers=yes
for the freedesktop SDK extension?You can verify that it worked if building an app with
-C force-frame-pointers=yes
produces empty output for the above command:cc @alatiera
The text was updated successfully, but these errors were encountered: