Re: [eigen] Building eigen in non x86/amd64/ppc archs |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Building eigen in non x86/amd64/ppc archs
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 27 Dec 2010 03:05:46 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Yze8APrcBgJuoWaO7P1DPi4H08rxFfxKcxnx3lg+bLw=; b=QZlFxEs+2npbisn36g8HCbGBvFwiWLhf8w9xBrcX/TDXox8u2BQ6vs4O8+GbmHnh2b 7JhUAbE8D+V3cRY9MkR9lDoZW78gUrjxWA+s/RVkEK1kOwH/QyOPrBBAI3At1p5qzCh3 Ocf4lGW5V7vNmvoIhpMEZi9REDQVojlxvdqf8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xj+1WXqGvwfTYlwzDoiVO5mQs7qOOXksKcZWo7OANaM2ANufP4IkJIBNgzx3UpuoVw 4Kt0dG6SAvQb4/WxnxQly/kOmjoPE1+DD3HBhlmEYYvITdC1WyCOHJqHqF1V9y/98QMk 2ximSKhYzvmJWJdKFk+JIgJEuoRHfGqOZZo0w=
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!
Benoit
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
>
>
>