[webkit-changes] [WebKit/WebKit] d2f237: [GTK][WPE] Avoid linker relocation errors on Debug...

Nikolas Zimmermann noreply at github.com
Thu Aug 29 16:03:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d2f23775f2b2a232b47b84123930ef7d3beac391
      https://github.com/WebKit/WebKit/commit/d2f23775f2b2a232b47b84123930ef7d3beac391
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M Source/cmake/WebKitCompilerFlags.cmake

  Log Message:
  -----------
  [GTK][WPE] Avoid linker relocation errors on Debug/RelWithDebInfo builds
https://bugs.webkit.org/show_bug.cgi?id=278861

Reviewed by Adrian Perez de Castro.

Split debug information in ".debug_types" / ".debug_info" sections - this leads
to a smaller overall size of the debug information, and avoids linker relocation
errors on e.g. aarch64 (relocation R_AARCH64_ABS32 out of range: 4312197985 is
not in [-2147483648, 4294967295]).

  -> Unconditionally pass '-fdebug-types-section' to gcc/clang, to mitigate it.

* Source/cmake/WebKitCompilerFlags.cmake:

Canonical link: https://commits.webkit.org/282934@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list