All of lore.kernel.org
 help / color / mirror / Atom feed
* Xorg driver isn't built
@ 2016-07-28  6:33 Carlos Rafael Giani
  2016-07-28  8:33 ` Burton, Ross
  2016-08-27  5:52 ` Carlos Rafael Giani
  0 siblings, 2 replies; 4+ messages in thread
From: Carlos Rafael Giani @ 2016-07-28  6:33 UTC (permalink / raw)
  To: meta-freescale Mailing List

Hello,

I saw something curious yesterday while trying to run an X11 image.

I built core-image-x11 with latest yocto master & meta-fsl-arm master. I 
then saw that the X11 driver was not included in the image. Neither was 
the EXA module.

When trying to run bitbake xf86-video-imxfb-vivante , I got :

ERROR: xf86-video-imxfb-vivante-3_5.0.11.p8.4-r0 do_package_qa: QA 
Issue: No GNU_HASH in the elf binary: 
'/home/test/oe/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/xf86-video-imxfb-vivante/3_5.0.11.p8.4-r0/packages-split/xf86-video-imxfb-vivante/usr/lib/xorg/modules/drivers/vivante_drv.so' 
[ldflags]
ERROR: xf86-video-imxfb-vivante-3_5.0.11.p8.4-r0 do_package_qa: QA 
Issue: No GNU_HASH in the elf binary: 
'/home/test/oe/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/xf86-video-imxfb-vivante/3_5.0.11.p8.4-r0/packages-split/xserver-xorg-extension-viv-autohdmi/usr/bin/autohdmi'
No GNU_HASH in the elf binary: 
'/home/test/oe/poky/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/xf86-video-imxfb-vivante/3_5.0.11.p8.4-r0/packages-split/xserver-xorg-extension-viv-autohdmi/usr/lib/libfsl_x11_ext.so' 
[ldflags]
ERROR: xf86-video-imxfb-vivante-3_5.0.11.p8.4-r0 do_package_qa: QA run 
found fatal errors. Please consider fixing them.

I then copied vivante_drv.so and libexa.so to the board, and X11 worked.

Any ideas regarding why this happened? Is this a known current problem?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Xorg driver isn't built
  2016-07-28  6:33 Xorg driver isn't built Carlos Rafael Giani
@ 2016-07-28  8:33 ` Burton, Ross
  2016-08-27  5:52 ` Carlos Rafael Giani
  1 sibling, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2016-07-28  8:33 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

On 28 July 2016 at 07:33, Carlos Rafael Giani <dv@pseudoterminal.org> wrote:

> Any ideas regarding why this happened? Is this a known current problem?
>

oe-core master does a few tricks to ensure that recipes are respecting
LDFLAGS, and this is what happens if they are not.  For some reason, this
driver isn't using the LDFLAGS that are being passed in the build (or, it's
a binary driver and the test should be skipped).

Ross

[-- Attachment #2: Type: text/html, Size: 844 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Xorg driver isn't built
  2016-07-28  6:33 Xorg driver isn't built Carlos Rafael Giani
  2016-07-28  8:33 ` Burton, Ross
@ 2016-08-27  5:52 ` Carlos Rafael Giani
  2016-09-14  0:50   ` Otavio Salvador
  1 sibling, 1 reply; 4+ messages in thread
From: Carlos Rafael Giani @ 2016-08-27  5:52 UTC (permalink / raw)
  To: meta-freescale

Well, the GNU_HASH issue is gone. But the driver and the exa module 
still aren't being copied over when I build core-image-x11. I again had 
to copy them over manually to get X to work.

This does appear like a bug to me.


On 2016-07-28 08:33, Carlos Rafael Giani wrote:
> Hello,
>
> I saw something curious yesterday while trying to run an X11 image.
>
> I built core-image-x11 with latest yocto master & meta-fsl-arm master. 
> I then saw that the X11 driver was not included in the image. Neither 
> was the EXA module.
>
> When trying to run bitbake xf86-video-imxfb-vivante , I got :
>
> ERROR: xf86-video-imxfb-vivante-3_5.0.11.p8.4-r0 do_package_qa: QA 
> Issue: No GNU_HASH in the elf binary: 
> '/home/test/oe/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/xf86-video-imxfb-vivante/3_5.0.11.p8.4-r0/packages-split/xf86-video-imxfb-vivante/usr/lib/xorg/modules/drivers/vivante_drv.so' 
> [ldflags]
> ERROR: xf86-video-imxfb-vivante-3_5.0.11.p8.4-r0 do_package_qa: QA 
> Issue: No GNU_HASH in the elf binary: 
> '/home/test/oe/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/xf86-video-imxfb-vivante/3_5.0.11.p8.4-r0/packages-split/xserver-xorg-extension-viv-autohdmi/usr/bin/autohdmi'
> No GNU_HASH in the elf binary: 
> '/home/test/oe/poky/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/xf86-video-imxfb-vivante/3_5.0.11.p8.4-r0/packages-split/xserver-xorg-extension-viv-autohdmi/usr/lib/libfsl_x11_ext.so' 
> [ldflags]
> ERROR: xf86-video-imxfb-vivante-3_5.0.11.p8.4-r0 do_package_qa: QA run 
> found fatal errors. Please consider fixing them.
>
> I then copied vivante_drv.so and libexa.so to the board, and X11 worked.
>
> Any ideas regarding why this happened? Is this a known current problem?
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Xorg driver isn't built
  2016-08-27  5:52 ` Carlos Rafael Giani
@ 2016-09-14  0:50   ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2016-09-14  0:50 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

On Sat, Aug 27, 2016 at 2:52 AM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> Well, the GNU_HASH issue is gone. But the driver and the exa module still
> aren't being copied over when I build core-image-x11. I again had to copy
> them over manually to get X to work.
>
> This does appear like a bug to me.

No, in fact it is not a bug.

What happens is that master defaults for XWayland when X11 and Wayland
is available on an i.MX6 device. To get plain X11 drop the Wayland
DISTRO_FEATURE.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-14  0:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-28  6:33 Xorg driver isn't built Carlos Rafael Giani
2016-07-28  8:33 ` Burton, Ross
2016-08-27  5:52 ` Carlos Rafael Giani
2016-09-14  0:50   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.