Bug#973659: qtdeclarative5-dev-tools: qmlcachegen segfaults on hppa
Hi Dmitry,
On 2020-11-07 1:20 p.m., Dmitry Shachnev wrote:
> 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...
That's what I was afraid of. If these assumptions are localized, it would help if you could
point them out. The code seems to have its own stack implementation.
>
> Can you check if your patch actually makes some tests pass that failed without
> it?
I revised the patch somewhat but it doesn't help much.
>
>> 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.
As far as I know, the __BYTE_ORDER__ macro is defined correctly for hppa.
Regards,
Dave
--
John David Anglin dave.anglin@bell.net
Reply to: