From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by arago-project.org (Postfix) with ESMTPS id CD8FA529DD for ; Wed, 6 Aug 2014 23:54:49 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s76Nsmg4025908; Wed, 6 Aug 2014 18:54:48 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s76NsmLc018323; Wed, 6 Aug 2014 18:54:48 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Wed, 6 Aug 2014 18:54:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s76Nsjhn003149; Wed, 6 Aug 2014 18:54:47 -0500 Date: Wed, 6 Aug 2014 19:54:44 -0400 From: Denys Dmytriyenko To: "Cooper Jr., Franklin" Message-ID: <20140806235441.GU23523@edge> References: <1407365627-29059-1-git-send-email-denis@denix.org> <1407365627-29059-2-git-send-email-denis@denix.org> <8F29D6B095ED194EA1980491A5E029710C6F5E80@DFLE08.ent.ti.com> <20140806233421.GR23523@edge> <8F29D6B095ED194EA1980491A5E029710C6F5F23@DFLE08.ent.ti.com> MIME-Version: 1.0 In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C6F5F23@DFLE08.ent.ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "meta-arago@arago-project.org" Subject: Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 23:54:50 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Wed, Aug 06, 2014 at 07:45:18PM -0400, Cooper Jr., Franklin wrote: > Ahh I think I get it now. I was getting confused since I didn't have this > issue with AM335x. But it seems like this is a dependency on the Graphics > package since libIMGegl needs drm and wayland. > Although the omap15 graphics SDK is weird since it's a prebuilt but wouldn't > it be better to add that dependency on the Graphics package? We can avoid > situations like this for any package that needs egl/gles2. I thought about that at first, but it's rather weird, as graphics SDK doesn't have build dependency on those packages, mostly because it's already pre-built... I was going to experiment with it a bit to see if it would be possible to use this graphics SDK w/o wayland libs, hence I just wanted to unblock qtbase for now, as it's configure test fails. > > -----Original Message----- > > From: Dmytriyenko, Denys > > Sent: Wednesday, August 06, 2014 6:34 PM > > To: Cooper Jr., Franklin > > Cc: Denys Dmytriyenko; meta-arago@arago-project.org > > Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies > > for GLES check on omap-a15 platforms > > > > On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote: > > > If the graphics SDK provides libdrm and libwayland libraries > > > > Huh? Those libs are not provided by the graphics SDK. > > > > > > > why isn't the > > > dependency on virtual/libgles2 and virtual/egl enough? I see that > > > omap5-sgx-ddk-um-linux already provides libgles2 and egl. > > > > Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland. > > Those are provided by the corresponding packages I'm adding into the > > dependency. > > > > > > > > -----Original Message----- > > > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago- > > > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko > > > > Sent: Wednesday, August 06, 2014 5:54 PM > > > > To: meta-arago@arago-project.org > > > > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies > > for > > > > GLES check on omap-a15 platforms > > > > > > > > From: Denys Dmytriyenko > > > > > > > > GLES libraries for omap-a15 platforms come in binary form and are pre- > > built > > > > against libdrm and libwayland libraries. When qtbase tries to do a check > > for > > > > GLES support, it fails to link the test app, when libdrm and libwayland are > > not > > > > yet available in sysroots: > > > > > > > > | OpenGL ES 2.x auto-detection... () > > > > | ...-g++ ... -o opengles2.o > > > > | .../qtbase-opensource-src- > > 5.2.1/config.tests/unix/opengles2/opengles2. > > > > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2 > > > > | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so, > > > > | not found (try using -rpath or -rpath-link) > > > > | .../bin/ld: warning: libwayland-server.so.0, needed by > > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) > > > > | .../bin/ld: warning: libdrm_omap.so.1, needed by > > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ... > > > > | collect2: error: ld returned 1 exit status > > > > | Makefile:103: recipe for target 'opengles2' failed > > > > | make: *** [opengles2] Error 1 > > > > | OpenGL ES 2.x disabled. > > > > | The OpenGL ES 2.0 functionality test failed! > > > > > > > > Add libdrm and wayland as extra dependencies for qtbase when building > > on > > > > omap-a15 with gles flag enabled. > > > > > > > > Signed-off-by: Denys Dmytriyenko > > > > --- > > > > meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++ > > > > 1 file changed, 6 insertions(+) > > > > create mode 100644 meta-arago-distro/recipes- > > > > qt/qt5/qtbase_5.2.1.bbappend > > > > > > > > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend > > b/meta- > > > > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend > > > > new file mode 100644 > > > > index 0000000..c879313 > > > > --- /dev/null > > > > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend > > > > @@ -0,0 +1,6 @@ > > > > +GLES_EXTRA_DEPS = "" > > > > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland" > > > > + > > > > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl > > > > ${GLES_EXTRA_DEPS}" > > > > + > > > > +PR_append = "-arago0" > > > > -- > > > > 2.0.4 > > > > > > > > _______________________________________________ > > > > meta-arago mailing list > > > > meta-arago@arago-project.org > > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago > > > _______________________________________________ > > > meta-arago mailing list > > > meta-arago@arago-project.org > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago