Your QT build must be picking up the wrong compiler: mavis% g++-4.5 -O2 -save-temps -mfpu=neon -c atomic.cc atomic.cc: In function 'int foo(QBasicAtomicInt&)': atomic.cc:25:35: error: output number 2 not directly addressable atomic.cc:25:35: warning: use of memory input without lvalue in asm operand 4 is deprecated mavis% g++-4.5 -O2 -save-temps -mfpu=neon -c atomic.cc -fno-strict-volatile-bitfields mavis% g++-4.5 --version g++-4.5 (Ubuntu/Linaro 4.5.1-10ubuntu1) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Can you please double-check? BTW, for me g++ refers to a 4.4 compiler: mavis% g++ --version g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mavis% g++ -O2 -save-temps -mfpu=neon -c atomic.cc -fno-strict-volatile-bitfields cc1plus: error: unrecognized command line option "-fno-strict-volatile-bitfields" -- volatile int causes inline assembly build failure https://bugs.launchpad.net/bugs/675347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs