-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.9.4
-
None
-
Built with yocto on rocko fe6dbe1 of meta-qt
Compiler: arm-fslc-linux-gnueabi-gcc (GCC) 7.3.0
Architecture Flags: -march=armv7-a -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard
Works on x86_64 Linux
Attempting to load a webpage with QtWebEngine on the i.MX7 (armv7 cortex-A7) processor, QtWebEngine Segfaults. The seg fault occurs in chromium's boringssl in the sha512_block_data_order function. I have added "-DOPENSSL_NO_ASM" to QMAKE_CFLAGS and QMAKE_CXXFLAGS. This hasn't seemed to change the flags passed to chromium.
In order to run Qt on the i.mx7, which does not have a gpu, I had to apply the attached patch. These fixes were taken from later versions of Qt.
I have also attached a gdb log with the backtrace and register contents on the entrance to the seg faulting function as well as immediately after receiving the segmentation signal.
To reproduce the Yocto build, the recipe appends for patching and configuration are available at https://github.com/rschaefer2/meta-me/tree/rocko/recipes-qt/qt5