From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 31453E013DE for ; Fri, 26 Jul 2013 07:10:30 -0700 (PDT) Received: by mail-pa0-f41.google.com with SMTP id bj1so1689090pad.28 for ; Fri, 26 Jul 2013 07:10:30 -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=xUNTV+WWHUbQ3v+PDdGN++XnqU+7sfL109gknE6iUd8=; b=meeztAWkbcxYsmGGMwpKBKjhSKXRuBfIeMP0op6mRuKpK2JJi3QbnYPgWzUfz4R39j 55MDNCayc9esZa+utPRyrhWS/qU6YTGwJj0V/EFG6cdIyaw+P7VOB04qQzEcmRt3GVLg NOajSJKKgDjTufG6jmE+UJ+FhSMRDmKcLYKJXKAk1ywm96iM131+dFL4CNXqnLyxXI9/ ckWAj5s0CNjGPVJJ7ls1HPBnDx47LjTGW6Xhl2w3ZRF67k7FGJfu4ARhIsqbVCBLZ9c7 9jAQYDYeszGN92lyXATCQCb7EGrSnWHcvqq710bZMEwnxXwRdCoYt5CeNe2Q74igkodo JXOg== X-Received: by 10.66.141.104 with SMTP id rn8mr55215553pab.52.1374847830627; Fri, 26 Jul 2013 07:10:30 -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 z14sm60404152pbt.0.2013.07.26.07.10.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:10:29 -0700 (PDT) Message-ID: <51F28351.20901@boundarydevices.com> Date: Fri, 26 Jul 2013 07:10:25 -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: ALoCoQmg1zo4kw/ukR3IzfE4adQGkIVpMf90+isM9rtnqGROW2qj2CulDa6kABO9PjEmNHjiZ26c 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:10:34 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Philip, On 07/26/2013 03:05 AM, Philip Craig wrote: > On Fri, Jul 26, 2013 at 7:54 PM, 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? > > I see now. The samples uses libGAL.so, and it contains the string > libEGL.so, as well as a gcoOS_LoadEGLLibrary function. > Thanks for finding this. Since these are binaries, we'll need to defer to Freescale/Vivante for a proper fix.