Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28095

Mingw-builds: Linking QtWebkitWidgets fails with missing egl symbols

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0
    • 5.0.0 Beta 2
    • GUI: OpenGL
    • None

    Description

      When trying to do a debug-and-release build of qt 5 with mingw-builds qtwebkit fails:

      g++ -Wl,-s -shared -Wl,--out-implib,..\lib\libQt5WebKitWidgets.a -o ..\lib\Qt5WebKitWidgets.dll   -LD:\dev\icu-49\dist\mingw-builds-32\lib -LD:\dev\openssl-1.0.1c\dist\mingw-32\lib -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Widgets -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Network -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Gui -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Core -llibEGL -llibGLESv2 -lgdi32 -luser32 obj\release\Qt5WebKitWidgets_resource_res.o -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebKit/release -lglu32 -lopengl32 -lgdi32 -luser32 -Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebKit2/release -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release -ladvapi32 -lgdi32 -lshell32 -lshlwapi -luser32 -lversion -lgdi32 -lole32 -luserg++ -shared -Wl,--out-implib,..\lib\libQt5WebKitWidgetsd.a -o ..\lib\Qt5WebKitWidgetsd.dll   -LD:\dev\icu-49\dist\mingw-builds-32\lib -LD:\dev\openssl-1.0.1c\dist\mingw-32\lib -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Widgetsd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Networkd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Guid -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Cored -llibEGL -llibGLESv2 -lgdi32 -luser32 obj\debug\Qt5WebKitWidgetsd_resource_res.o -Wl,-whole-archive -lWebKit1d -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebKit/debug -lglu32 -lopengl32 -lgdi32 -luser32 -Wl,-whole-archive -lWebKit2d -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebKit2/debug -Wl,-whole-archive -lWebCored -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/debug -ladvapi32 -lgdi32 -lshell32 -lshlwapi -luser32 -lversion -lgdi32 -lole32 -luser32 -Wl,-whole-archive -lANGLEd -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/ThirdParty/ANGLE/debug -Wl,-whole-archive -lJavaScriptCored -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/JavaScriptCore/debug -lwinmm -Wl,-whole-archive -lWTFd -Wl,-no-whole-archive -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WTF/debug -licuin -licuuc -licudt -lwinmm -lgdi32 -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Quickd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5OpenGLd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5PrintSupportd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Qmld -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Widgetsd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Sqld -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Networkd -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Guid -LD:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtbase/lib -lQt5Cored
      Warning: resolving _cti_vm_throw by linking to @cti_vm_throw@4
      Use --enable-stdcall-fixup to disable these warnings
      Use --disable-stdcall-fixup to disable these fixups
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xd): undefined reference to `_imp__glCreateShader@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x3e): undefined reference to `_imp__glShaderSource@16'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x4a): undefined reference to `_imp__glCompileShader@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x66): undefined reference to `_imp__glGetShaderiv@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x7c): undefined reference to `_imp__glDeleteShader@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x165): undefined reference to `_imp__eglCreatePbufferFromClientBuffer@20'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x17f): undefined reference to `_imp__glGenTextures@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x18f): undefined reference to `_imp__glActiveTexture@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x1a6): undefined reference to `_imp__glBindTexture@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x1c4): undefined reference to `_imp__eglBindTexImage@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x1ca): undefined reference to `_imp__glTexParameteri@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x248): undefined reference to `_imp__eglGetCurrentDisplay@0'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x30c): undefined reference to `_imp__eglGetCurrentContext@0'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x312): undefined reference to `_imp__eglGetCurrentSurface@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x336): undefined reference to `_imp__eglMakeCurrent@16'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x379): undefined reference to `_imp__glBindFramebuffer@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x388): undefined reference to `_imp__glUseProgram@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x3a0): undefined reference to `_imp__glBindBuffer@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x3a6): undefined reference to `_imp__glBindTexture@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x3c3): undefined reference to `_imp__glTexParameteri@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x439): undefined reference to `_imp__glVertexAttribPointer@24'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x536): undefined reference to `_imp__glUniform1i@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x53f): undefined reference to `_imp__glEnableVertexAttribArray@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x572): undefined reference to `_imp__glDrawArrays@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x57b): undefined reference to `_imp__glDisableVertexAttribArray@4'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x5ab): undefined reference to `_imp__glFinish@0'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x7d7): undefined reference to `_imp__eglReleaseTexImage@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x7ee): undefined reference to `_imp__glDeleteTextures@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0x80f): undefined reference to `_imp__eglDestroySurface@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xa88): undefined reference to `_imp__eglDestroySurface@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xaa9): undefined reference to `_imp__eglDestroySurface@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xad5): undefined reference to `_imp__eglDestroyContext@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xb08): undefined reference to `_imp__eglReleaseTexImage@12'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xb1f): undefined reference to `_imp__glDeleteTextures@8'
      D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o):GraphicsSurfaceWin.cpp:(.text+0xb37): undefined reference to `_imp__glDeleteProgram@4'
      c:/mingw-builds-32-4.7.2-posix-sjlj-rev1/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: D:/dev/qt-5-sdk-mingw-builds-gcc-4.7.2-32/qtwebkit/Source/WebCore/release/libWebCore.a(GraphicsSurfaceWin.o): bad reloc address 0x4 in section `.text$_ZN7WebCore22GraphicsSurfacePrivateC1EP14QOpenGLContextRKNS_7IntSizeEi[__ZN7WebCore22GraphicsSurfacePrivateC1EP14QOpenGLContextRKNS_7IntSizeEi]'
      collect2.exe: error: ld returned 1 exit status
      Makefile.api.Release:75: recipe for target '..\lib\Qt5WebKitWidgets.dll' failed
      mingw32-make[4]: *** [..\lib\Qt5WebKitWidgets.dll] Error 1
      

      Attachments

        Issue Links

          Activity

            People

              kkohne Kai Köhne
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: