Bug 70746 - libunwind dependency is unnecessary
Summary: libunwind dependency is unnecessary
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 04:30 UTC by Peter Hutterer
Modified: 2014-03-21 01:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Hutterer 2013-10-22 04:30:48 UTC
Copying from Red Hat bug 1018549:
"I have found Fedora xorg-x11-server depends on libunwind.  There is a longterm plan to obsolete libunwind from Fedora by new elfutils unwinder.  But xorg-x11-server does not even need any external (non-glibc) unwinder.

According to
        http://pkgs.fedoraproject.org/cgit/xorg-x11-server.git/tree/0001-os-use-libunwind-to-generate-backtraces.patch

you do only self-backtrace (called local unwinding by libunwind).  glibc
backtrace() can do the same.  According to the sample backtrace in the patch
above the backtrace addresses there are the same in before/after cases,
libunwind only adds resolving of address -> symbol name there, IIUC.

address -> symbol name resolving can be done with RH-supported elfutils
package."
Comment 1 Peter Hutterer 2014-03-21 01:58:31 UTC
Discussion from upstream ended with:
"That is without fork()+exec() libunwind is currently the best there is for
xserver."
http://lists.x.org/archives/xorg-devel/2013-October/038475.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.