GNOME Bugzilla – Bug 613537
Portability of backtrace_symbols()
Last modified: 2010-12-20 21:08:43 UTC
gegl-0.1.2/gegl/buffer/gegl-buffer.c uses backtrace_symbols() and related functions controlled by a test for platform != WIN32. As a result, build fails on OS X 10.4, which is not WIN32 but also does not have execinfo available. And apparently some platforms may need -lexecinfo. A cleaner /safer way to handle the determination of whether to use this feature is to actually directly test whether this feature is available. See Bug #587088 for an example.
commit e3024b25db17c577e07c3a9eca17b8acfd63877e Author: Øyvind Kolås <pippin@gimp.org> Date: Mon Dec 20 21:07:42 2010 +0000 buffer: disable more of the debug code in default builds For WIN32 and OSX the currently used ways of annotating backtraces for leaked buffers does not work, since this feature is off by defualt it shouldnt incurr additional errors on those platforms.