[eigen] Building eigen in non x86/amd64/ppc archs |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Building eigen in non x86/amd64/ppc archs
- From: Jose Luis Blanco <joseluisblancoc@xxxxxxxxx>
- Date: Mon, 27 Dec 2010 02:56:19 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=v2c9TZrtl7DVWQvPYuI0myo7JAs9APs9igNraqVygYc=; b=C1SSU+hi7KfcshhDNjEtFvutt8Qn3hB/JiMWdaqr2vHVYdmJanA+2w5bbaq+Jh3/FO ic4RcLRbmx0HSpN4i4goqQvl27qleXCdTUiY1eLC5yeOcosd3ADS1ritTcDSx2xY1oiq li9NPgcdPwb1jykyV4jwxs1jQm1KY2kAnFl1o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IdN2mE5RS3DxmClC4o4wlg7aSVVWQjrJNGt+F1EL31v9mwfrsPwdssNZeWLWiQRSbq n36BsdmqxZPuBpgV5kxhSeSjHdj4Hlj+VU9XCzznBF9nKJF2NZBg+YlUuKMSNeb8XhWq ujwZYgfkJX1KjAIjNTCoLYSfuFHJ80HxlNWL0=
I've tried recently to build a Debian package that uses eigen3 (the
latest beta) and it builds OK for x86, amd64 and ppc, but not for the
rest of Debian architectures...
My first question is: Is Eigen supposed to build on other archs.? If
yes, is there any -DXXX I should use in those cases?
These are the errors I found for each architecture:
alpha, ia64, sparc, s390:
========================
eigen3/Eigen/src/Core/util/Memory.h: In function 'void
Eigen::internal::queryCacheSizes_intel(int&, int&, int&, int)':
eigen3/Eigen/src/Core/util/Memory.h:631: error: impossible constraint in 'asm'
eigen3/Eigen/src/Core/util/Memory.h:660: error: impossible constraint in 'asm'
mips, mipsel:
=====================
/tmp/ccqL5d7b.s: Assembler messages:
/tmp/ccqL5d7b.s:78: Error: unrecognized opcode `cpuid'
/tmp/ccqL5d7b.s:124: Error: unrecognized opcode `cpuid'
......
In these last MIPS cases, I tried reducing the optimization level from
"-O3" to "-O2" and there are fewer "cpuid" errors, but there're still
many of them. I don't use any "-mtune", by the way.
Any advice?
Best,
JL