From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 92231E013EC for ; Fri, 26 Jul 2013 07:15:40 -0700 (PDT) Received: by mail-pa0-f43.google.com with SMTP id hz10so2310084pad.2 for ; Fri, 26 Jul 2013 07:15:40 -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=rQYXkTqDqTlCeZjV/x77tWKp4RQfivRuArzV1Yhgsy8=; b=mqMvYY5dnjaVgHkRvO9CSW94ahUn181TNekWhhmn6Of5B0Ia1hyXtKDYaaLF99hJjp DBPQkeo8/MYA+Ppa+0GCUr1OrK0cwKqNINtesOjMvBGXCUQxvGdWOXkiP5teRgg6e/f9 dX1w/31fVEyM0BVdBOp/a6GFOSokOvt8+KSArA3ob1Ob63hClyR1WBRpu21ljLj20O3G XIwKZMbk4lmJKQzSqFFYiGe1t1mP+csA1NwXMPwzNVcYeyNJaw/jBWxyMw81+4poabe+ kE3H+83txfyc3wHG5pJpvR8laYo9iuq9xBdAAZX9kjr9RSU34Fv24WngRcO7jwi8sAB4 UM+A== X-Received: by 10.66.162.195 with SMTP id yc3mr8725791pab.64.1374848140330; Fri, 26 Jul 2013 07:15:40 -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 z14sm60443056pbt.0.2013.07.26.07.15.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:15:38 -0700 (PDT) Message-ID: <51F28487.9040601@boundarydevices.com> Date: Fri, 26 Jul 2013 07:15:35 -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: ALoCoQm49Z1mIOp8gtBOvSS+3CMQhlOjLFeKqsKc/2wQ8AhYlW+02yydyv4aqIeVME6NmWCOi8QQ 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:15:42 -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. > Seeing and understanding are completely different things ;) I'm reading this to mean that this clause translates to libEGL.so: libEGL${SOLIBSDEV} I'm also unclear on whether simply moving that clause to FILES_libegl-mx6 is the right thing to do. Regards, Eric