Closed Bug 1882329 Opened 1 year ago Closed 1 year ago

StackWalk has two disagreeing checks for support on Linux

Categories

(Core :: mozglue, defect)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: ptrcnull, Assigned: ptrcnull)

Details

Attachments

(1 file)

MOZ_STACKWALK_SUPPORT_LINUX only checks whether it's a GNU-compatible compiler on x86/ppc, or if we have _unwind_backtrace; later, in the actual implementation, HAVE___LIBC_STACK_END ( which is just a glibc version check ) is used for Linux, and fails with #error Unsupported configuration when that isn't met.
To avoid compilation errors on systems that don't use GNU Libc, the first check could also ensure HAVE___LIBC_STACK_END and disable StackWalk when it's not available.

Assignee: nobody → bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The severity field is not set for this bug.
:glandium, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mh+mozilla)
Severity: -- → S4
Flags: needinfo?(mh+mozilla)
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/aeca81e418bb Make StackWalk Linux support check more specific r=glandium
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: