[Webkit-unassigned] [Bug 233337] New: WebKitGTK-2.34 will not build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 18 15:21:12 PST 2021


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

            Bug ID: 233337
           Summary: WebKitGTK-2.34 will not build
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kwanza.pili at virginmedia.com
                CC: kkinnunen at apple.com

I have tried to build both WebKitGTK-2.34.1 and WebKitGTK-2.34.0 from source on a Linux system without success. For clarity, earlier versions of  WebKitGTK will build successfully on the same system, for example version 2.32.4. So the issue is confined to the 2.34.x versions. The error is consistent:

ld.gold: error: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-cd2e8cfa-2.cpp.o: requires dynamic R_X86_64_PC32 reloc against 'executeJSCJITProbe' which may overflow at runtime; recompile with -fPIC

Yet the actual compilation instruction contains the very command it wants:

FAILED: lib/libjavascriptcoregtk-4.0.so.18.19.6 
: && /usr/bin/c++ -fPIC -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG  -Wl,--no-undefined  -fuse-ld=gold -Wl,--disable-new-dtags -shared -Wl,-soname,libjavascriptcoregtk-4.0.so.18 -o lib/libjavascriptcoregtk-4.0.so.18.19.6 ...

The problem appears to arise from its insistence on building a static library for libWTFGTK.a as seen in the end of the build statement below:

/usr/lib64/libglib-2.0.so  /usr/lib64/libglib-2.0.so  lib/libWTFGTK.a  /usr/lib64/libicudata.so  /usr/lib64/libicui18n.so  /usr/lib64/libicuuc.so  -ldl  /usr/lib64/libgio-2.0.so  /usr/lib64/libgobject-2.0.so  /usr/lib64/libglib-2.0.so  -lpthread  /usr/lib64/libz.so  /usr/lib64/libsystemd.so

Why would it try to build a static library when everything else is shared?? I should emphasise that the compile/linker is she same one used to successfully build WebKitGTK-2.32.4. Therefore the problem is peculiar to WebKitGTK-2.34.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211118/04cc4c41/attachment.htm>


More information about the webkit-unassigned mailing list