Segmentation fault when running qt5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Segmentation fault when running qt5

640 Views
rans
Senior Contributor I

Hello,

I am using an imx6 board (imx6, lec from adlink).

I first used the rovided lec-imx6 recipe for image, which is based on fsl-image-qt5, and I got on startup gnome desktop environment.

But since it is based on old packages (glibc, gstreamer, etc), I had to update to a more updated package.

So, I have bitbake imx-morty -m imx-4.9.11-1.0.0_ga.xml :

repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-morty -m imx-4.9.11-1.0.0_ga.xml
repo sync
DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11
bitbake fsl-image-qt5-validation-imx

I use it with the previous (4.1.31) /boot folder (the previous kernel + dtb for the lec blard).

and also copied /lib/modules folder from 4.1.31 kernel

I try to start qt5 example, but it also fails as following:

root@imx6qsabresd:/usr/share/qt5/examples/gui/analogclock# DISPLAY=:0 ./analogclock
Segmentation fault (core dumped)

The kernel version I am using with NXP i.MX Release Distro 4.9.11-1.0.0 is :

Linux imx6qsabresd 4.1.31-1.2.0+g77f6154 #1 SMP Thu Nov 9 16:01:51 MST 2017 armv7l armv7l armv7l GNU/Linux

Thank you for any suggestion.

Ran

0 Kudos
0 Replies