Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 11556] New: Can not build qt5base 5.11.2 with weston 3.0.0 and vivante GPU. error: invalid conversion from ‘void*’ to ‘EGLNativeDisplayType {aka wl_display*}’ [-fpermissive]
Date: Mon, 10 Dec 2018 16:17:38 +0000	[thread overview]
Message-ID: <bug-11556-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=11556

            Bug ID: 11556
           Summary: Can not build qt5base 5.11.2 with weston 3.0.0 and
                    vivante GPU. error: invalid conversion from ?void*? to
                    ?EGLNativeDisplayType {aka wl_display*}?
                    [-fpermissive]
           Product: buildroot
           Version: 2018.11
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: koller at stettbacher.ch
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 7896
  --> https://bugs.busybox.net/attachment.cgi?id=7896&action=edit
Patch to reproduce the problem

There is a 100% reproduceable error with the attached patch. The full error
looks like this:



qeglfsvivwlintegration.cpp: In member function ?virtual void
QEglFSVivWaylandIntegration::platformInit()?:
qeglfsvivwlintegration.cpp:63:50: error: invalid conversion from ?void*? to
?EGLNativeDisplayType {aka wl_display*}? [-fpermissive]
     mNativeDisplay = fbGetDisplay(mWaylandDisplay);
                                                  ^
qeglfsvivwlintegration.cpp: In member function ?virtual wl_egl_window*
QEglFSVivWaylandIntegration::createNativeWindow(QPlatformWindow*, const QSize&,
const QSurfaceFormat&)?:
qeglfsvivwlintegration.cpp:84:101: error: invalid conversion from ?void*? to
?EGLNativeWindowType {aka wl_egl_window*}? [-fpermissive]
     EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 0,
size.width(), size.height());
                                                                               
                     ^
qeglfsvivintegration.cpp: In member function ?virtual void
QEglFSVivIntegration::platformInit()?:
qeglfsvivintegration.cpp:68:60: error: invalid conversion from ?void*? to
?EGLNativeDisplayType {aka wl_display*}? [-fpermissive]
     mNativeDisplay = fbGetDisplayByIndex(framebufferIndex());
                                                            ^
qeglfsvivintegration.cpp: In member function ?virtual wl_egl_window*
QEglFSVivIntegration::createNativeWindow(QPlatformWindow*, const QSize&, const
QSurfaceFormat&)?:
qeglfsvivintegration.cpp:91:101: error: invalid conversion from ?void*? to
?EGLNativeWindowType {aka wl_egl_window*}? [-fpermissive]
     EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 0,
size.width(), size.height());
                                                                               
                     ^
Makefile:1305: recipe for target '.obj/qeglfsvivwlintegration.o' failed
make[7]: *** [.obj/qeglfsvivwlintegration.o] Error 1
make[7]: Leaving directory
'/home/patrickk/tmp/buildroot/a/output/build/qt5base-5.11.2/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv_wl'
Makefile:123: recipe for target 'sub-eglfs_viv_wl-make_first' failed
make[6]: *** [sub-eglfs_viv_wl-make_first] Error 2
make[6]: *** Waiting for unfinished jobs....
Makefile:1305: recipe for target '.obj/qeglfsvivintegration.o' failed
make[7]: *** [.obj/qeglfsvivintegration.o] Error 1
make[7]: Leaving directory
'/home/patrickk/tmp/buildroot/a/output/build/qt5base-5.11.2/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv'
Makefile:98: recipe for target 'sub-eglfs_viv-make_first' failed
make[6]: *** [sub-eglfs_viv-make_first] Error 2



*** Reproduce the Problem ***
To reproduce the problem, please follow these steps:
- Apply the attached patch to buildroot 2018.11
- make polytab_defconfig
- make

*** Hardware used ***
The used computer on module is a Ka-Ro TX6Q. If you supply a patch for my
problem, I am able to test it instantly, since I have a working hardware next
to me.
https://www.karo-electronics.de/743.html

*** Goal ***
The goal is to have a successful build with a working weston integration with
hardware acceleration.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2018-12-10 16:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-10 16:17 bugzilla at busybox.net [this message]
2018-12-11 21:54 ` [Buildroot] [Bug 11556] Can not build qt5base 5.11.2 with weston 3.0.0 and vivante GPU. error: invalid conversion from ‘void*’ to ‘EGLNativeDisplayType {aka wl_display*}’ [-fpermissive] bugzilla at busybox.net
2018-12-12 16:29 ` bugzilla at busybox.net
2018-12-13 10:43 ` bugzilla at busybox.net
2018-12-13 15:51 ` bugzilla at busybox.net
2018-12-13 20:02 ` bugzilla at busybox.net
2018-12-17 14:15 ` bugzilla at busybox.net
2018-12-17 17:38 ` bugzilla at busybox.net
2018-12-18 16:20 ` bugzilla at busybox.net
2018-12-18 22:38 ` bugzilla at busybox.net
2018-12-19 16:00 ` bugzilla at busybox.net
2018-12-19 17:17 ` bugzilla at busybox.net
2018-12-19 18:01 ` bugzilla at busybox.net
2018-12-20 20:26 ` bugzilla at busybox.net
2024-06-15 14:49 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-11556-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox