Hi
I'm having some difficulties understanding the following error on
ppc64le (scratch build [1], build log [2]):
PackMath.h:
191 template<> inline v4f ei_pset1(const float& from)
192 {
193 // Taken from
http://developer.apple.com/hardwaredrivers/ve/alignment.html
194 float __attribute__(aligned(16)) af[4];
195 af[0] = from;
196 v4f vc = vec_ld(0, af);
197 vc = vec_splat(vc, 0);
198 return vc;
199 }
/builddir/build/BUILD/eigen-eigen-b23437e61a07/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'typename Eigen::ei_packet_traits<T>::type Eigen::ei_pset1(const Scalar&)
[with Scalar = float; typename Eigen::ei_packet_traits<T>::type = __vector(4) float]':
/builddir/build/BUILD/eigen-eigen-b23437e61a07/Eigen/src/Core/arch/AltiVec/PacketMath.h:194:40:
error: declaration does not declare anything [-fpermissive]
float __attribute__(aligned(16)) af[4];
^
/builddir/build/BUILD/eigen-eigen-b23437e61a07/Eigen/src/Core/arch/AltiVec/PacketMath.h:194:3:
error: expected primary-expression before 'float'
float __attribute__(aligned(16)) af[4];
^~~~~
/builddir/build/BUILD/eigen-eigen-b23437e61a07/Eigen/src/Core/arch/AltiVec/PacketMath.h:195:3:
error: 'af' was not declared in this scope
af[0] = from;
The build completes on x86_64 and i686 and possibly others. Any ideas?
Thanks
Sandro
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=16927043
[2] https://koji.fedoraproject.org/koji/getfile?taskID=16927051&name=build.log
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org