GNOME Bugzilla – Bug 587088
gnome-session-2.26.1: build failure on systems without execinfo
Last modified: 2009-06-29 21:31:52 UTC
Please describe the problem: On, e.g., FreeBSD, we don't have execinfo.h but it is used unconditionally in gnome-session/gdm-signal-handler.c. However a port exists but requires extra linking as the backtrace stuff is not in the libc. A patch will follow, checking for execinfo.h and then if extra linking is needed. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 137439 [details] [review] fix
OS X didn't get backtrace() until 10.5, so the ability to check for its presence (and avoid using it if not available) is good for me too. The fink packaging of gnome-session has just patched it out rather than test-and-#ifdef with no ill effect. It's just one of several ways g-s tries to handle the situation, not a critical or "must-have" part.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.