Hi John!

On Thu, Nov 05, 2020 at 03:49:47PM -0500, John David Anglin wrote:
> 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.

I think the problem is not that hppa is not detected, but rather that the code
has some assumptions about the stack growing down. The QML engine has a lot of
low-level code...

Can you check if your patch actually makes some tests pass that failed without
it?

> The PA-RISC architecture is big endian.  Perhaps this needs to be defined
> somewhere else as well?

Qt uses this file from qtbase:

https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qprocessordetection.h

which falls back to gcc's __BYTE_ORDER__ macro for unknown architectures.
So it should work fine if that macro is defined correctly on hppa.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to