building qt4 for arm

Rieker Flaik <[email protected]>
Newsgroups gmane.linux.debian.ports.arm,gmane.linux.debian.devel.embedded,gmane.linux.debian.devel.qt-kde
Message-ID <1360682897.21620.48.camel@lovely>
Hi all

I'm running debian arm and need to rebuild libqt4 with an additional
patch. What is the best and fastest way to rebuild that package?

I also want to mention that I already tried several ways (cross-compile
and qemu):

1. cross-compile:
I have installed the emdebian toolchain by doing:

   aptitude install emdebian-archive-keyring
   echo "deb http://www.emdebian.org/debian/ squeeze main" >> /etc/apt/sources.list
   aptitude update
   aptitude install gcc-4.4-arm-linux-gnueabi cpp-4.4-arm-linux-gnueabi

Then I did:
   apt-get source libqt4-dev
   dpkg-buildpackage -aarmel -j4

The build-process started but died after 3 minutes with messages like
this:

   animation/qsequentialanimationgroup.cpp:467: warning: unused variable ‘q’
   ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h: Assembler messages:
   ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:131: Error: no such instruction: `swpb %al,%bpl,[%rbx]'
   ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:131: Error: no such instruction: `swpb %al,%bpl,[%rbx]'

2. qemu:
I pulled the last version of qemu and build it for "arm-softmmu". Baked
a kernel for machine "realview-pbx-a9" so that SMP could be enabled for
4 CPUs. Qemu boots the kernel fine so that I was able to boot into a
prior bootstrapped debian over NFS.
Here I was able to start a "dpkg-buildpackage -j4" for qt4: But it takes
forever and only one Host-CPU is used.

I'm still searching for a practicable way of rebuilding bigger debian
packages.

How do you do that?
Any hints?

 Thanks in advance
  Rik


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/1360682897.21620.48.camel@lovely
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.