[Webkit-unassigned] [Bug 232608] New: Waylad: Build issue on i.MX6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 1 23:21:28 PDT 2021


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

            Bug ID: 232608
           Summary: Waylad: Build issue on i.MX6
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dharanendiran at gmail.com

Created attachment 443062

  --> https://bugs.webkit.org/attachment.cgi?id=443062&action=review

camke config file

Hi Team,

While building with wayland target, facing below build issue.

The default yocto build passing the '-DWL_EGL_PLATFORM' options, still we facing the issue.

Hardware: imx6qsabresd

`
                   -fdebug-prefix-map=/home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/recipe-sysroot -fno-strict-aliasing -fno-exceptions -fno-rtti -DNDEBUG -fPIC -DLINUX -DWL_EGL_PLATFORM -pthread -std=c++17 -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/egl/GLContextEGL.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/egl/GLContextEGL.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/egl/GLContextEGL.cpp.o -c /home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/webkitgtk-2.34.1/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
| /home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/webkitgtk-2.34.1/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp: In static member function 'static std::unique_ptr<WebCore::GLContextEGL> WebCore::GLContextEGL::createWindowContext(GLNativeWindowType, WebCore::PlatformDisplay&, EGLContext)':
| /home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/webkitgtk-2.34.1/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:198:59: error: invalid 'static_cast' from type 'GLNativeWindowType' {aka 'long long unsigned int'} to type 'EGLNativeWindowType' {aka 'wl_egl_window*'}
|   198 |         surface = eglCreateWindowSurface(display, config, static_cast<EGLNativeWindowType>(window), nullptr);
|       |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/webkitgtk-2.34.1/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:20:
| /home/linux/Download/imx-yocto-bsp/build-weston/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/webkitgtk/2.34.1-r0/webkitgtk-2.34.1/Source/WebCore/platform/graphics/egl/GLContextEGL.h:32:8: note: class type 'wl_egl_window' is incomplete
|    32 | struct wl_egl_window;

`

Let me know, how can we fix this issue.

-- 
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/20211102/8cf123d5/attachment.htm>


More information about the webkit-unassigned mailing list