On 2020-11-05 12:20 p.m., Dmitry Shachnev wrote: >> Another possibility is doStoreOnStack doesn't work on hppa. > I think the complete QML engine may be broken on hppa, not just qmlcachegen. > > A lot of tests are failing — search for FAIL! in the build log: > > https://buildd.debian.org/status/fetch.php?pkg=qtdeclarative-opensource-src&arch=hppa&ver=5.14.2%2Bdfsg-3&stamp=1595527978 The attached patch fixes qtdeclarative-opensource-src-5.15.1+dfsg.orig/src/3rdparty/masm/wtf/Platform.h for hppa. That's the only platform configuration that I could find in the package.
The PA-RISC architecture is big endian. Perhaps this needs to be defined somewhere else as well? Regards, Dave Anglin -- John David Anglin dave.ang...@bell.net
Index: qtdeclarative-opensource-src-5.15.1+dfsg/src/3rdparty/masm/wtf/Platform.h =================================================================== --- qtdeclarative-opensource-src-5.15.1+dfsg.orig/src/3rdparty/masm/wtf/Platform.h +++ qtdeclarative-opensource-src-5.15.1+dfsg/src/3rdparty/masm/wtf/Platform.h @@ -70,6 +70,16 @@ #define WTF_CPU_ALPHA 1 #endif +/* CPU(HPPA) - PA-RISC */ +#if defined(__hppa__) +#define WTF_CPU_BIG_ENDIAN 1 +#if defined(__LP64__) +#define WTF_CPU_HPPA64 1 +#else +#define WTF_CPU_HPPA 1 +#endif +#endif + /* CPU(IA64) - Itanium / IA-64 */ #if defined(__ia64__) #define WTF_CPU_IA64 1