After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613537 - Portability of backtrace_symbols()
Portability of backtrace_symbols()
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: build
0.1.0
Other Mac OS
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2010-03-21 22:26 UTC by Daniel Macks
Modified: 2010-12-20 21:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2010-03-21 22:26:44 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.
Comment 1 Øyvind Kolås (pippin) 2010-12-20 21:08:43 UTC
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.