[Debian-med-packaging] Bug#862161: E-MEM produces error in test suite on some architectures (Was: Bug#862161: e-mem FTBFS on armel/armhf/ppc64el: recipe for target 'override_dh_auto_test' failed)

Andreas Tille andreas at fam-tille.de
Wed May 10 06:11:48 UTC 2017

Hello Nilesh,

thanks for the quick response.

On Tue, May 09, 2017 at 05:18:24PM +0000, Nilesh Vinod Khiste wrote:
>        Thanks for reaching out. I have fixed the issue and code has been pushed to our github page. The latest code can be downloaded from here (https://github.com/lucian-ilie/E-MEM).

Nice to have E-MEM at Github.  It would help a lot if you would create a
version tag to mark the release which would enable us to automatically
spot new versions.
> The reason for the issue was the different behavior of shift  operators on AMD/Intel vs ARM/powerpc platforms when shift is equal to the width of the type.
> For example, a LSR of 64 bit, for a variable of type uint64_t, will result in no value change on Intel but it is guaranteed to return zero on ARM. This is due to the difference in the way shift operators are implemented in these architectures.

Thanks for the explanation.
> We do not test out code on ARM so it was not caught earlier. Let me know if you find any other issues with E-MEM.

Debian is built on 12 different architectures and provided a software
has a sensible test suite we can spot errors on those architectures.
I'll forward any other issues we might stumble upon.

Kind regards



More information about the Debian-med-packaging mailing list