[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-12-07 Thread Michael Hope
See also the discussion in LP: #675347 which includes an improvement in
the Qt code that also works around the problem.

Waiting for GCC upstream approval before including the compiler fix.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in ubuntu.
https://bugs.launchpad.net/bugs/673085

Title:
  Qt/KDE fails to build on ARM without implicit-it=thumb

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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-25 Thread Michael Hope
Could I close this from a Linaro GCC point of view?  I'll open/reopen
another ticket to track the -mimplicit-it support question.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-25 Thread Scott Kitterman
I think it's fine.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-25 Thread Michael Hope
** Changed in: gcc-linaro
   Status: New = Won't Fix

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-16 Thread Scott Kitterman
I addition to my test build of qt4-x11, I also successfully rebuilt qmf
using the products of the test build, so i think I'm comfortable that
this works.  We'll include this patch (thanks) when we upload qt4-x11
4.7.1 to Natty, but it still needs to go upstream.

Is there someone who can look at producing a portable version of the
change?

** Changed in: qt4-x11 (Ubuntu)
   Status: New = In Progress

** Changed in: qt4-x11 (Ubuntu)
   Importance: Undecided = High

** Changed in: qt4-x11 (Ubuntu)
Milestone: None = natty-alpha-1

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-16 Thread Launchpad Bug Tracker
** Branch linked: lp:~kubuntu-members/qt/ubuntu

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-16 Thread Launchpad Bug Tracker
This bug was fixed in the package qt4-x11 - 4:4.7.1-0ubuntu1

---
qt4-x11 (4:4.7.1-0ubuntu1) natty; urgency=low

  * New upstream release
  * Remove kubuntu_21_fix_phantom_cursor.diff applied upstream
  * Refresh 10_config_tests_fixes.diff
  * Refresh 01_debian_append_qt4_suffix.diff
  * Add kubuntu_22_thumb2_support.diff LP: #673085, remove implict thumb
flag from debian/rules
 -- Jonathan Riddell jridd...@ubuntu.com   Mon, 15 Nov 2010 17:20:18 +

** Changed in: qt4-x11 (Ubuntu)
   Status: In Progress = Fix Released

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-16 Thread Scott Kitterman
Marking the Ubuntu gcc task as wontfix since it's fixed in qt4-x11.

** Changed in: gcc-4.5 (Ubuntu)
   Status: Confirmed = Won't Fix

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/qt4-x11

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Alexander Sack
thx michael. could someone verify michaels patch please so we can
forward it upstream?

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Matthias Klose
to forward it upstream, a configure check should be added to check for
the primitives

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Loïc Minier
I don't think Michael's patch uses the primitives; I understand it's
just a stop gap to fix the current build by fixing the problematic Qt
code to have IT blocks?  IOW fix the code to build without -Wa
,-mimplicit-it=thumb.

I understand we will need another patch to move to __sync primitives,
but that's a larger work

-- 
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 Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Matthias Klose
whoever uploads the fix/workaround, please consider fixing bug #490371
too.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Thiago Macieira
Unless __sync now supports the four memory ordering semantics, the patch
will not be accepted upstream.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Brian Murray
** Tags added: patch

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Scott Kitterman
I have a test build of the proposed patch (adding IT instructions, not
__sync) in progress.  If it builds and I can build KDE packages that
currently fail to build, I'll call that a test success and upload it.  I
should have something tomorrow.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Dave Martin
Note that Michael's patch isn't suitable for upstream as-is.

IT instructions are not accepted by the assembler when building for ARM,
so the proposed change will provoke build failures for upstream.

(At least, they are only accepted in unified assembler syntax mode,
which is not the default for ARM in GNU-land, and probably never will
be)

The suggestion in the thread http://lists.linaro.org/pipermail/linaro-
toolchain/2010-July/35.html isn't ideal, but it's a bit more
portable.

-- 
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


Re: [Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Scott Kitterman
Once we've established that the core of the patch is working, I agree it
should be wrapped up into something more portable.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Scott Kitterman
Fails to build pretty early on:

In file included from ../../include/QtCore/qatomic_armv6.h:1:0,
 from 
../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:56,
 from ../../include/QtCore/qatomic_arch.h:1,
 from 
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
 from ../../include/QtCore/qbasicatomic.h:1,
 from 
../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
 from ../../include/QtCore/qatomic.h:1,
 from 
../../include/QtCore/../../src/corelib/tools/qbytearray.h:45,
 from ../../include/QtCore/qbytearray.h:1,
 from ../../include/QtCore/../../src/corelib/tools/qstring.h:46,
 from ../../include/QtCore/qstring.h:1,
 from 
../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
 from ../../include/QtCore/qobject.h:1,
 from 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
 from ../../include/QtCore/qcoreapplication.h:1,
 from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h: In constructor 
'QParallelAnimationGroup::QParallelAnimationGroup(QObject*)':
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:119:35: error: 
output number 2 not directly addressable
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:119:35: warning: 
use of memory input without lvalue in asm operand 4 is deprecated
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:119:35: error: 
output number 2 not directly addressable
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:119:35: warning: 
use of memory input without lvalue in asm operand 4 is deprecated
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h: In destructor 
'QListT::~QList() [with T = QAbstractAnimation*]':
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:137:35: error: 
output number 2 not directly addressable
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:137:35: warning: 
use of memory input without lvalue in asm operand 4 is deprecated
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h: In destructor 
'QHashKey, T::~QHash() [with Key = QAbstractAnimation*, T = int]':
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:137:35: error: 
output number 2 not directly addressable
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:137:35: warning: 
use of memory input without lvalue in asm operand 4 is deprecated
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h: In member function 
'void QHashKey, T::detach_helper() [with Key = QAbstractAnimation*, T = int]':
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:137:35: error: 
output number 2 not directly addressable
../../include/QtCore/../../src/corelib/arch/qatomic_armv6.h:137:35: warning: 
use of memory input without lvalue in asm operand 4 is deprecated

-- 
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


Re: [Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Michael Hope
Yip, this is a separate bug tracked in LP: #675347.

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-15 Thread Michael Hope
My own test build of qt4-x11_4.7.0-0ubuntu4 with gcc-linaro 2010.10-0
(the one before LP: #675347) completed OK.

-- 
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 Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-14 Thread Michael Hope
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-14 Thread Michael Hope
(not tested)

** Patch added: qt4-thumb2-itt.patch
   
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/673085/+attachment/1733624/+files/qt4-thumb2-itt.patch

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-11 Thread Jonathan Riddell
simple to fix for someone who knows ARM assember maybe, do we have any
such people?

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-09 Thread Matthias Klose
In gcc-4.4, -mimplicit-it=thumb was passed to the linker by default, not
done anymore in 4.5, because the change was rejected by upstream. Dave
(and Linaro), any suggestions?


** Also affects: gcc-linaro
   Importance: Undecided
   Status: New

** Also affects: gcc-4.5 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: gcc-4.5 (Ubuntu)
   Importance: Undecided = High

** Changed in: gcc-4.5 (Ubuntu)
   Status: New = Confirmed

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-09 Thread Michael Hope
For reference, here's the original discussion between David and Richard:
 http://lists.linaro.org/pipermail/linaro-toolchain/2010-July/30.html
 http://lists.linaro.org/pipermail/linaro-toolchain/2010-July/35.html

My summary is:
 * IT instructions are ignored in ARM mode and hence add no overhead
 * gas has had IT support for 'around 5 years'

-- 
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


[Bug 673085] Re: Qt/KDE fails to build on ARM without implicit-it=thumb

2010-11-09 Thread Michael Hope
Ignoring the implicit-it question, this seems simple to fix upstream.  The code 
is inline assembler in
 src/corelib/arch/qatomic_armv6.h

-- 
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