Re: [eigen] using eigen in OpenEmbedded/ ARM processor |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] using eigen in OpenEmbedded/ ARM processor
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Fri, 20 Feb 2009 15:27:51 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=zN2EthsPJgxJn/cj90PUxGZ6MIhTcB4bOnrY/CMcLb8=; b=EWZQPtUj2GrsCSdEJQS0DNn5rkbalzuJxQC8P858FmjOyyoBsOeyWeqTV1DZ2T8Rk6 HluVpaEfPAK6inZ0OH9fomsVEVKF4Zxlvidqg3T+E6lDRGMeh9aclVxAU3oei0xcTsr7 aI3d7eFVAuUmg5NuUWsclR4E+3Mskpes0HOcw=
- 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=BaezuYaO4XbyV9O357ENAnjbb5I1PhZsXp/2IqrF8KiTx4UsDlwIAVth1MN6HAL60+ 0RCyF4bNicUcH4Ux1EcKO1E0Yscm5dTdJ8IbOPRs2O+fzu0H1B4ReGfR1P8CQeKmV++q M/+9a7r1kq6aHyaEK/mYSmalWFfuDrqM8lz/k=
(just for the record, Gael made a commit that should fix your issue)
2009/2/18 Timothy Hunter <tjhunter@xxxxxxxxxxxx>:
> Hello,
> I was pleasantly surprised yesterday to see that a program using Eigen
> compiles and runs without problem so far on an ARM8 cpu (using the
> OpenEmbedded linux distribution). The only minor compilation problem I
> had so far was with std::pow (see below). The cross compiler is gcc
> 4.3 (internaly built by openEmbedded)
>
> | arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8
> -mfpu=neon -mfloat-abi=softfp
> -isystem/home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
> -fpermissive -fvisibility-inlines-hidden
> -L/home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
> -Wl,-rpath-link,/home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
> -Wl,-O1 -Wl,--hash-style=gnu -I/home/tjhunter/lab/eigen
> -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings
> -Wformat-security -Wextra -fno-exceptions -fno-check-new -fno-common
> -fstrict-aliasing -pedantic -o fwmain main.cpp
> | In file included from /home/tjhunter/lab/eigen/Eigen/Core:100,
> | from main.cpp:2:
> | /home/tjhunter/lab/eigen/Eigen/src/Core/MathFunctions.h: In function
> 'int Eigen::ei_pow(int, int)':
> | /home/tjhunter/lab/eigen/Eigen/src/Core/MathFunctions.h:65: error:
> call of overloaded 'pow(int&, int&)' is ambiguous
> | /home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include/bits/mathcalls.h:154:
> note: candidates are: double pow(double, double)
> | /home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi//usr/include/c++/cmath:358:
> note: float std::pow(float, float)
> | /home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi//usr/include/c++/cmath:362:
> note: long double std::pow(long double, long double)
> | /home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi//usr/include/c++/cmath:366:
> note: double std::pow(double, int)
> | /home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi//usr/include/c++/cmath:370:
> note: float std::pow(float, int)
> | /home/tjhunter/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi//usr/include/c++/cmath:374:
> note: long double std::pow(long double, int)
>
> I will run the test directory from eigen later this week to see if
> everything is working.
>
> Best regards
>
> Tim Hunter
>
>
>