Re: [eigen] Building eigen in non x86/amd64/ppc archs

[ Thread Index | Date Index | More Archives ]

Eigen is supposed to build everywhere, but for rare archs, until it's
tested, that's only an abstract statement.

The errors that you report seem to be quite stupid mistakes on our
part whereby we use a non-portable feature without a suitable #ifdef
feature test.

So, patches welcome!


2010/12/26 Jose Luis Blanco <joseluisblancoc@xxxxxxxxx>:
> 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

Mail converted by MHonArc 2.6.19+