[
https://issues.apache.org/jira/browse/MESOS-5288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278554#comment-15278554
]
haosdent commented on MESOS-5288:
---------------------------------
[~bingli1000], I think may consider upgrade to leveldb 1.8 first, they only
patch parts for endianness detection. For MESOS-2201, [~janisz] has posted his
patch. You could apply it and your patches to check if all test cases could
pass.
> Update leveldb patch file to suport s390x
> -----------------------------------------
>
> Key: MESOS-5288
> URL: https://issues.apache.org/jira/browse/MESOS-5288
> Project: Mesos
> Issue Type: Bug
> Reporter: Bing Li
> Assignee: Bing Li
>
> There're 2 issues in leveldb-1.4.
> 1. Leveldb didn't build. Have to define MemoryBarrier() for s390x.
> I got the patch form https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644336
> .
> 2. A number of unit tests failed due to 1.4 doesn't detect endianness
> properly. And s390x is big-endian.
> Got error messages like "Failed to recover the log: Corruption: checksum
> mismatch".
> I have a backport patch which is part of the leveldb commit
> https://github.com/google/leveldb/commit/075a35a6d390167b77b687e067dd0ba593e7f624
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)