Fwd: kspread assembly compile failure
Jonathan Riddell
jriddell at ubuntu.com
Wed Nov 28 14:43:29 UTC 2007
KDE4_BUILD_TESTS needs to be turned off for KOffice 2.
Jonathan
----- Forwarded message from Thomas Zander <zander at kde.org> -----
Date: Sat, 24 Nov 2007 10:10:29 +0100
From: Thomas Zander <zander at kde.org>
To: For developer's discussion about KOffice <koffice-devel at kde.org>
Cc: Jonathan Riddell <jriddell at ubuntu.com>
Subject: Re: kspread assembly compile failure
On Friday 23 November 2007 12:22:51 Jonathan Riddell wrote:
> KOffice fails to build on powerpc and other arches due to assembly.
Jonathan, I notice you are building with -DKDE4_BUILD_TESTS=true
Is that intentional?
> http://launchpadlibrarian.net/10521906/buildlog_ubuntu-hardy-powerpc.ko
>ffice2_1.9.95-0ubuntu1_FAILEDTOBUILD.txt.gz
> http://launchpadlibrarian.net/10522090/buildlog_ubuntu-hardy-sparc.koff
>ice2_1.9.95-0ubuntu1_FAILEDTOBUILD.txt.gz
>
> /build/buildd/koffice2-1.9.95/kspread/tests/BenchmarkHelper.h: In
> function 'KSpread::Time::tval KSpread::Time::stamp()':
> /build/buildd/koffice2-1.9.95/kspread/tests/BenchmarkHelper.h:46:
> error: unknown register name 'edx' in 'asm'
> /build/buildd/koffice2-1.9.95/kspread/tests/BenchmarkHelper.h: In
> function 'KSpread::Time::tval
> KSpread::Time::elapsed(KSpread::Time::tval)':
> /build/buildd/koffice2-1.9.95/kspread/tests/BenchmarkHelper.h:53:
> error: unknown register name 'edx' in 'asm'
This can be solved with some cmake magic; unfortunately I'm not a magician
and I'm not sure who knows the cmake incantations to disable compile of
these unit tests for non-i386 systems.
Any help or pointers would be useful.
--
Thomas Zander
More information about the pkg-kde-talk
mailing list