Hi Markus
Thanks again for the report of the bug, I was able to reproduce and confirm it
I also found the patch that is generating the bug.
I still need to do more tests, as soon as we have a release with the
bug fixed and tested I will let you know
Regards
Victor Rodriguez
On Sat, Dec 2, 2017 at 3:42 PM, Markus Ebner <markus-ebner(a)web.de> wrote:
I am using version 19420, and here is a full log containing the compiler errors:
https://pastebin.com/PESHASJX
Thanks!
On Samstag, 2. Dezember 2017 22:25:40 CET Victor Rodriguez wrote:
Thanks for the report
What version of clear linux are you using?
Do you have a full log?
Regards
On Dec 2, 2017 12:34 PM, "Markus Ebner"
<markus-ebner(a)web.de> wrote:
> Hi,
>
> I am experiencing a weird problem, while
developping C++ on clearlinux
> with gcc and Eigen.
> The following code-snippet:
>
> #include <eigen3/Eigen/Dense>
>
> template<typename TInputBlock, typename
TOutputBlock>
> static void encode(const TInputBlock&
input, TOutputBlock& output) {
> Eigen::MatrixXf mul0(8, 8);
> Eigen::MatrixXf mul1(8, 8);
> output = (mul0 * input * mul1);
> }
>
> int main() {
> Eigen::MatrixXf input(8, 8);
> Eigen::MatrixXf output(8, 8);
> encode(input, output);
> }
>
> compiles fine with the following
gcc-invocation on Gentoo and OpenSUSE
> (using GCC-7.2.0 and GCC-7.2.1
respectively):
> g++ -g -O0 -fopenmp ./main.cpp
> However, using this invocation on clearlinux
spouts a bunch of weird
> errors I can't track down, from one of
the SIMD intrinsics headers.
> This error is specific to this special
combination of gcc-arguments: "-O0
> -fopenmp". Removing either one of them
results in a successfull compilation.
> Another way to get it to build on
clearlinux, is by adding "-ftree-fre" to
> the gcc-invocation.
>
> I tried the current master of Eigen, as well
as the version that comes
> with clearlinux.
> Might this come from clearlinux-specific
changes to the gcc codebase?
>
> Thanks!
>
_______________________________________________
> Dev mailing list
>