[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: kspread assembly compile failure
From:       Thomas Zander <zander () kde ! org>
Date:       2007-11-24 9:10:29
Message-ID: 200711241010.34661.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

[Attachment #5 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic