New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test/unit/TPM2B-marshal fails on Big Endian machines #1171
Comments
Unfortunately it does not fix the issue:
|
It took me some time to setup a big endian emulation platform, but I was able to recreate the problem and the updated #1172 patch should fix it for you. Please confirm. Thanks |
I can confirm that the patch as-is fixes the test failure. If you want me to re-test after more modifications, I can do so. Thanks! |
What do you mean by "after more modifications"? The patch is a completely new one. I just reused the same PR for it. |
There's an open comment on the merge request, which I assume applies to the new revision. |
I don't think it is valid. I'm going to respond to it today, but would appreciate if you could give it a try. |
Well, I already said that "I can confirm that the patch as-is fixes the test failure.". So from my point of view that's resolved with the merge request. |
Sorry I didn't get that. Thanks for trying it. |
When trying to run test/unit/TPM2B-marshal on Debian mips and s390x (as well as unofficial ports hppa, powerpc, ppc64, sparc64) - all Big Endian architectures -, the following log output is produced, showing a clearly wrong endianness for the verified value:
Only unmarshalling fails, marshalling seems to be fine (and actually does use HOST_TO_BE_16 macros). A full build log is available (in this case for s390x).
The text was updated successfully, but these errors were encountered: