[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#625825: Some qatomic_arm.h inline functions do not compile with >= g++ 4.5 on arm



Package: libqt4-dev
Version: 4:4.7.2-4
Severity: serious
Forwarded: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/675347
Owner: modax@debian.org
File: /usr/include/qt4/QtCore/qatomic_arm.h
Tags: wheezy sid
Justification: makes other packages to FTBFS on armel with gcc 4.6

Hello,

some QBasicAtomicInt functions do not build on armel with g++ 4.6 (Debian's 
g++-4.5 seems to work), for example QBasicAtomicInt::fetchAndStoreOrdered() 
[1]. While according to the Ubuntu report this one is forwarded to, the bug 
probably is in the gcc itself (broken -fstrict-volatile-bitfields handling in 
some cases), gcc upstream did not fix it in 4.6 despite efforts of Ubuntu 
people [2].

This issue will trigger many Qt based packages to FTBFS (like kde4libs [1]) 
because offending code is inlined in the headers. So we need a solution quick 
and fast, either in gcc or Qt (or both). I'm going to work on Qt solution and 
already have an idea how to fix this problem (a "hack").

[1] 
https://buildd.debian.org/status/fetch.php?pkg=kde4libs&arch=armel&ver=4%3A4.4.5-5&stamp=1304545515
[2] http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html


-- 
Modestas Vainius <modax@debian.org>

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: