Re: [eigen] Re: PacketMath.h compiler error, GCC4.9 on Ubuntu 15.04

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Thanks for tracking the commit down, I'll give it a look. In the meantime, you could post this to bugzilla ( http://eigen.tuxfamily.org/bz/ ) to see if anyone else has the same issue. It would be helpful to upload a file containing the terminal output so that we can see the full error text: the command to pipe the terminal output to a file and display it too is tee.

$ make check | tee upload_file

On Fri, 9 Oct 2015 11:44:46 -0600
Mark Sauder <mcsauder@xxxxxxxxx> wrote:

> Hello again,
> 
> I have been able to definitively track the first occurrence of the compiler
> error to this commit:
> https://bitbucket.org/tbs1980/eigen-numerical-integration-module/commits/96cdf0c63790648a5e13289c03322c0de6d9ac33
> 
> I'm not quite sure what to do about it yet, but will do a bit more digging.
> 
> Thanks!
> 
> Respectfully,
> Mark Sauder
> 
> On Fri, Oct 9, 2015 at 11:01 AM, Mark Sauder <mcsauder@xxxxxxxxx> wrote:
> 
> > Hi Everyone,
> >
> > I was curious if anyone else was seeing compiler errors like the following
> > in the past few days:
> >
> > /usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:584:42: error:
> > cannot convert ‘Eigen::internal::unpacket_traits<__vector(2) long long
> > int>::type {aka __vector(2) long long int}’ to ‘int’ in return
> >    return pfirst(_mm_hadd_epi32(tmp0,tmp0));
> >
> > /usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h: In function
> > ‘typename Eigen::internal::unpacket_traits<T>::type
> > Eigen::internal::predux(const Packet&) [with Packet =
> > Eigen::internal::eigen_packet_wrapper<__vector(2) long long int>; typename
> > Eigen::internal::unpacket_traits<T>::type = int]’:
> > /usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:584:42: error:
> > cannot convert ‘Eigen::internal::unpacket_traits<__vector(2) long long
> > int>::type {aka __vector(2) long long int}’ to ‘int’ in return
> >    return pfirst(_mm_hadd_epi32(tmp0,tmp0));
> >
> > /usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:584:42:
> > required from here
> > /usr/include/eigen3/Eigen/src/Core/GenericPacketMath.h:299:13: error:
> > ‘typename Eigen::internal::unpacket_traits<T>::type
> > Eigen::internal::pfirst(const Packet&) [with Packet = __vector(2) long long
> > int; typename Eigen::internal::unpacket_traits<T>::type = __vector(2) long
> > long int]’ conflicts with a previous declaration
> >  { return a; }
> >
> > It looks like it might track from this commit
> > <https://bitbucket.org/eigen/eigen/commits/14fc5626ff985262a01e8bb393322154ecdb0774>
> > but I need to do a little more testing to nail that down with certainty.
> >
> > Anyway, just wanted to ask if anyone was having that same trouble.
> >
> > Thanks for all of the work that is going on in Eigen right now, it
> > certainly is an amazing library. (Long live Eigen! :) )
> >
> > Respectfully,
> > Mark
> > ​
> > Sauder
> >


-- 
Nathan Yonkee <nathan.yonkee@xxxxxxxxx>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/