imx8 - etnaviv crossdk issue

Fixed

Description

Hi ,

While building bitbake agl-demo-platform-crosssdk

For imx8 etnaviv build i see this error ....

 

configure: WARNING: MPFR is missing or unusable; some features may be unavailable.

checking whether to use python... /home/administrator/etnaviv_imx8/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gdb-cross-canadian-aarch64/9.1-r0/python

checking for python... no

configure: error: no usable python found at /home/administrator/etnaviv_imx8/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gdb-cross-canadian-aarch64/9.1-r0/python

Makefile:8865: recipe for target 'configure-gdb' failed

make[1]: *** [configure-gdb] Error 1

make[1]: Leaving directory '/home/administrator/etnaviv_imx8/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gdb-cross-canadian-aarch64/9.1-r0/build-aarch64-agl-linux'

Makefile:851: recipe for target 'all' failed

make: *** [all] Error 2

WARNING: exit code 1 from a shell command.

ERROR: Task (/home/administrator/etnaviv_imx8/external/poky/meta/recipes-devtools/gdb/gdb-cross-canadian_9.1.bb:do_compile) failed with exit code '1'

Environment

None

Activity

Show:

Walt Miner 
December 22, 2020 at 4:56 PM

Close for JJ 10.0.1

Scott Murray 
October 28, 2020 at 10:52 PM

I spent some more time on this today; I've not figured out the exact failure mechanism, but the cause seems to be that DEFAULTTUNE does not get the expected value of "aarch64" that AGL wants, as there are some extra MACHINEOVERRIDES added in meta-freescale's imx8mqevk.conf that trigger an over-ride of DEFAULTTUNE.  I'm currently discussing the best approach towards a fix with .

Manivannan S 
October 15, 2020 at 4:33 PM

There has been upgraded change in the gdb-cross-canadian_9.1.bb version compared to the older versions in icefish, could that be reason..

Scott Murray 
October 14, 2020 at 1:56 PM

I can confirm that I see this failure with both imx8mqevk and imx8mqevk-viv machine configurations.  I'm pretty sure it did work back when I first added imx8mqevk-viv, so something has changed subsequently.  The cause is definitely not obvious to me, I'm digging to see if I can figure it out.

Scott Murray 
October 13, 2020 at 2:31 PM

No.  It would take non-trivial effort to add the bits to an image to enable doing so.  If you're blocked, the best I can suggest is trying to do a build with Ubuntu 18.04 or Debian 10 inside a container.

Details

Assignee

Reporter

Labels

Hardware Platform(s) Affected

NXP i.MX6

Priority

Created October 7, 2020 at 3:41 PM
Updated December 22, 2020 at 4:56 PM
Resolved December 15, 2020 at 10:05 PM