Compile with -fno-omit-frame-pointer

Bug #818460 reported by Daimrod on 2011-07-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

GCC >= 4.6 use -fnomit-frame-pointer by default, but without frame pointers the name of the fonction and its arguments won't appear in the backtrace.

with -fnomit-frame-pointer:
with -fno-omit-frame-pointer:

I've tested on every version from 1.0.20 to 1.0.50 from the git repo with the default configuration and gcc 4.6.1

According to the gcc documentation this option his only available on x86-32.

Changed in sbcl:
assignee: nobody → Nikodemus Siivola (nikodemus)
status: New → In Progress
Nikodemus Siivola (nikodemus) wrote :

commit 913cf0ccd5c119e278ce057d724d478123d4ca26
Author: Nikodemus Siivola <email address hidden>
Date: Mon Aug 1 15:05:54 2011 +0300

    add -fno-omit-frame-pointer to x86 builds

      GCC >= 4.6 omits it by default, leading to broken backtraces.

Changed in sbcl:
assignee: Nikodemus Siivola (nikodemus) → nobody
status: In Progress → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers