AnsweredAssumed Answered

yocto building qt tools that do not run on imx8

Question asked by Terry Buckley on Apr 23, 2019
Latest reply on Apr 28, 2019 by jimmychan

Programs that are SYSV will run, Exec format error if GNU/Linux

 

When will yocto be fixed?

 

/usr/bin/qt5/.debug$ ./qmake
-bash: ./qmake: cannot execute binary file: Exec format error

 

My qttest program built on the imx8 works

file qttest
qttest: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.14.0, BuildID[sha1]=0d9d94af898d26dfe965fa02f3468ce5e90d5dc5, with debug_info, not stripped
tbuckley@imx8mqevk:~/build/work/qttest$ ./qttest
Failed to create display (No such file or directory)

 

file /usr/sbin/lsof
/usr/sbin/lsof: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.14.0, BuildID[sha1]=cf5db3a0c5926a4e56bf64f4f083161470a0752b, stripped

 


file ./usr/bin/qt5/.debug/uic
./usr/bin/qt5/.debug/uic: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=633b4b7b1f7ad2fc2754a7f026a8c63db54e4260, with debug_info, not stripped

 

Same for qmake, 

/usr/bin/qt5/.debug$ file *
moc: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=fd182951bf0f548b7b6e95e1cf29dd44ecc09dcb, with debug_info, not stripped
qdbuscpp2xml: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=43d88efce24f8488ea24e6de76f60c93c8345733, with debug_info, not stripped
qdbusxml2cpp: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=8007daf2f57a499fa45231fd02550e7f4bfb421b, with debug_info, not stripped
qgltf: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=2256e085d95d99cbd4619633cb468b06ce1bf498, with debug_info, not stripped
qlalr: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=bd19cc3d431bfbf36919417ebf162d74818d71e7, with debug_info, not stripped
qmake: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=4cb2216de9977ee2e0fcaa81b17b5f12d995e4d1, with debug_info, not stripped
qml: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=6540df3b857b7b22d6581d8e0dac77590495e1bc, with debug_info, not stripped
qmlcachegen: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=fd1bd5b6b8b7febb4f407538bd4e039ec064ea22, with debug_info, not stripped
qmleasing: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=a57d11aef8016dc5d34aaf84d1df84d994462e75, with debug_info, not stripped
qmlimportscanner: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=82007652ede35e5469cce8f7fb0dd303c722cfc1, with debug_info, not stripped
qmllint: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=1a1c54088c4f5eebc1ae4bb7edc2daade99c99ee, with debug_info, not stripped
qmlmin: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=0a6eb0eb3903a7b312043a4a872eeff6d13d9c24, with debug_info, not stripped
qmlplugindump: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=2384e6dfb18bb1c210230bb632b2412ffd4ddb13, with debug_info, not stripped
qmlscene: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=cb2640219da1d5ccbefcb40157164ccccd7519d5, with debug_info, not stripped
qmltestrunner: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=0eeaccf6259b870f78ef5584c3ae7ee0f1904cfe, with debug_info, not stripped
qtwaylandscanner: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=7820d48994a1ad4f18e75e861304e14277aaee3e, with debug_info, not stripped
qvkgen: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=55047f2bd43d11495e083a8c45ef0becba49fac1, with debug_info, not stripped
rcc: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=7c1ba20a452d900db2f50041d175dd008f72946d, with debug_info, not stripped
uic: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=633b4b7b1f7ad2fc2754a7f026a8c63db54e4260, with debug_info, not stripped
xmlpatterns: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=c28087f53a5aa924865a62ea5b874e233448694d, with debug_info, not stripped
xmlpatternsvalidator: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter *empty*, for GNU/Linux 3.14.0, BuildID[sha1]=3ba6dc817309723ca208d0f54eccdea64fa6f189, with debug_info, not stripped
tbuckley@imx8mqevk:/usr/bin/qt5/.debug$

Outcomes