On Thursday, 29 November 2018 09:33:45 PST Jean-Michaël Celerier wrote:
> I also changed a few things in the buildscripts to link with lld instead of
> gold:
>
> sed -i 's/fuse-ld=gold/fuse-ld=lld/g' \
> qtbase/mkspecs/common/gcc-base-unix.conf \
> qtbase/mkspecs/features/qt_configure.prf \
> qtbase/configure.json
>
> (I'm not using arch's native clang, but the one I compiled myself though)
lld might be the issue. QLinkedListData::shared_null has pointers back to
itself:
const QLinkedListData QLinkedListData::shared_null = {
const_cast<QLinkedListData *>(&QLinkedListData::shared_null),
const_cast<QLinkedListData *>(&QLinkedListData::shared_null),
Q_REFCOUNT_INITIALIZE_STATIC, 0, true
};
If those pointers are incorrect, it would cause the error you're seeing.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest