[Webkit-unassigned] [Bug 146641] New: [GTK][CMake] Default to -g1 on 32bit processors if DEBUG_FISSION is not enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 6 09:08:18 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146641

            Bug ID: 146641
           Summary: [GTK][CMake] Default to -g1 on 32bit processors if
                    DEBUG_FISSION is not enabled
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emanuele.aina at collabora.com

On a 32bit processors (tested both in a x86 chroot and with the 32bit version of the armhf cross-toolchain for the Raspberry Pi) linking a full debug build results in a out of memory error. Switching to a 64bit build architecture solves the build problem, but it still produce a library that's so big that the dynamic linker on the target system will simply refuse to load with EOVERFLOW (tested with the 64bit version of the armhf cross-toolchain for the Raspberry Pi).

DEBUG_FISSION solves the issue but it's not active by default as it requires the gold linker.

Another option is to severely reduce the amount of debug symbols generated: the -g1 flag will just produce enough symbols to get sensible stack traces, but without any line number info. It's not particularly useful during debug, but for distribution packages it would be an improvement over no symbols at all. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150706/f8e0fd52/attachment.html>


More information about the webkit-unassigned mailing list