Something like the attached patch should do it.  I'm still building to
see if it works though.

There's a couple of bigger problems though if we want to do it right:
 * There's code in corelib/arch/armv6/qatomic*.c that may also being used
 * qatomic_armv6.h includes code for RVCT which should be fixed by someone
 * The code may not work on multi-processor systems like Panda due to the lack 
of DMB instructions

The better fix would be to replace everything with __sync_* primitives
similar to qatomic_avr32.h and require GCC 4.4 or higher.

In progress...

-- 
Qt/KDE fails to build on ARM without implicit-it=thumb
https://bugs.launchpad.net/bugs/673085
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to