From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 46AC6E013DE for ; Fri, 26 Jul 2013 07:06:54 -0700 (PDT) Received: by mail-pa0-f48.google.com with SMTP id kp13so2046365pab.7 for ; Fri, 26 Jul 2013 07:06:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=l/a+e7n7To5v+sV5eAeCmNsRJKK3B8/dlvTJ6zcobi8=; b=YSlk/tWqaEpfvj5jEnUeSiLG0fXBCKH1wNOcrXe/Kcf3rpXrGc9fecoeYC4BqWcxWg RvdcIBCynK1s/0bQixszXn8odMP6iigtBhIHrifw9jxcxcc+sQpLMJz3A06NiLLXLlkQ fV82naE1EDimUPvj+zoUMV+Uzde+sYtGl8Eqr1WL4P8MFgAYJDBCoV1U0cjwp3jdOt4R GQ0td14zdBkI0bjrC3LEeEXyBj4jPjhNWdcw/9yNhD95ptqODGZGq3dE457M8d/E9+02 GWeH9NgNoqs7qJvwGG+x0a3imPIA8EHszG/e/+628R9hByiLx0NdK/ZzLOxBK9iMNPK3 7ykQ== X-Received: by 10.68.216.227 with SMTP id ot3mr54274151pbc.80.1374847614364; Fri, 26 Jul 2013 07:06:54 -0700 (PDT) Received: from [192.168.1.8] (ip98-167-230-131.ph.ph.cox.net. [98.167.230.131]) by mx.google.com with ESMTPSA id sp4sm60270988pbc.45.2013.07.26.07.06.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:06:53 -0700 (PDT) Message-ID: <51F2827A.2060306@boundarydevices.com> Date: Fri, 26 Jul 2013 07:06:50 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Philip Craig References: <51F1C660.3000401@boundarydevices.com> In-Reply-To: X-Gm-Message-State: ALoCoQloi/Ex1P5HjIlgk6P+d4oOAu6VHY3H1YCJGce7ngALBlj2Sh9BMcCtus5kDmIe+2yFsjJD Cc: "meta-freescale@yoctoproject.org" Subject: Re: gpu-viv-mx6q and libEGL.so/libEGL.so.1 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 14:06:57 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Philip, On 07/26/2013 02:54 AM, Philip Craig wrote: > On Fri, Jul 26, 2013 at 10:44 AM, Eric Nelson > wrote: >> Hi all, >> >> When running the sample apps in /opt/viv_samples/vdk >> under strace on a frame-buffer only build, I can see that >> something is trying to load libEGL.so (no trailing 1). >> >> Looking at the recipe, I'm not quite grokking how this is >> placed into the image though. >> >> I can see a symlink being created pointing libEGL.so at >> libEGL.so.1 here: >> >> >> https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc#L130 >> >> Somehow or another, the symlink is ending up in the -dev package >> though: >> >> $ find gpu-viv-bin-mx6q/1_3.0.35-4.0.0-r5.0/packages-split/ \ >> -name libEGL\* >> gpu-viv-bin-mx6q/1_3.0.35-4.0.0-r5.0/packages-split/libegl-mx6-dev/usr/lib/libEGL.so >> gpu-viv-bin-mx6q/1_3.0.35-4.0.0-r5.0/packages-split/libegl-mx6/usr/lib/libEGL.so.1 >> >> Can anybody give some guidance on where and how that's happening? > > See lines 152 and 153 of gpu-viv-bin-mx6q.inc. If something needs > libEGL.so then this probably needs to be changed to how libgles and > libgles2 are done. It would be nice to document exactly where the > dependency is though so that we know when we can remove the hack once > it is fixed. > >> Does anybody know where the missing reference to libEGL.so >> might be coming from? This doesn't appear to be a hard-coded >> linker dependency from any of the sample apps or from the >> other shared libraries. > > I can't see the dependency from inspection. What's the exact error message? > No error message was generated. The apps just silently exited. strace showed attempts to load libEGL.so without the .1 trailer.