[Pkg-db-devel] Bug#562889: ftbfs: MUTEX_* on armel - use gcc instrinsics instead of inline assembly
Alexander Sack
asac at ubuntu.com
Mon Dec 28 21:25:07 UTC 2009
Package: db4.2
Version: 4.2.52+dfsg-5.1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* dbinc/mutex.h: fix armel ftbfs by moving ARM atomic macros to gcc
atomic instrinsics
We thought you might be interested in doing the same.
Rational: FTBFS in karmic/lucid:
http://launchpadlibrarian.net/36567479/buildlog_ubuntu-lucid-armel.db4.2_4.2.52%2Bdfsg-5.1_FAILEDTOBUILD.txt.gz
...
make[1]: Entering directory `/build/buildd/db4.2-4.2.52+dfsg/obj'
/bin/sh ./libtool --mode=compile cc -c -I. -I../dist/.. -I/usr/include/tcl8.5 -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2 ../dist/../mutex/mut_tas.c
mkdir .libs
cc -c -I. -I../dist/.. -I/usr/include/tcl8.5 -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2 ../dist/../mutex/mut_tas.c -fPIC -DPIC -o .libs/mut_tas.o
/tmp/ccZTuYQ9.s: Assembler messages:
/tmp/ccZTuYQ9.s:143: Error: selected processor does not support `swpb r2,r7,[r4]'
make[1]: *** [mut_tas.lo] Error 1
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-02063202-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpoyIgju
Type: text/x-diff
Size: 788 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-db-devel/attachments/20091228/871f89fc/attachment.diff>
More information about the Pkg-db-devel
mailing list