[Interest] tst_qatomicinteger build failure (5.9 i386/x86_64)

Christian Gagneraud chgans at gmail.com
Sat Sep 2 01:42:08 CEST 2017


On 2 September 2017 at 04:42, Thiago Macieira <thiago.macieira at intel.com> wrote:
> On Thursday, 31 August 2017 23:37:37 PDT Christian Gagneraud wrote:
>> Hi there,
>>
>> Back on my 32 bits build of Qt
>>
>> I'm having a build failure on tst_qatomicinteger for qlonglong.
>>
>> Static failure: Q_STATIC_ASSERT(Q_ALIGNOF(QAtomicInteger<T>) ==
>> Q_ALIGNOF(TypeInStruct));
>>
>> Sounds very much like a 32/64 bits issue.
>>
>> Any idea on what is going on?
>
> It's a GCC bug. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660

Thanks for the info.

I'm still quite puzzle thought.

doc.qt.io says that for Qt 5.9, the supported platform contains:
Linux 32/64-bit: GCC 4.8, GCC 4.9, GCC 5.3

According to your gcc bug report, the bug was introduced in gcc 5.1
but has never been fixed (?)

So if Qt supports gcc 5.3, then it supports gcc with this bug?

(K)Ubuntu-17.04 ships with gcc 6.3 and Qt-5.7, surely their 32 bits OS
version doesn't ship with a broken QAtomicInteger...

Any clue on how I can get around this bug?

Thanks,
Chris

>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list