This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
Type of Statfs_t struct on s390x is uint32 not int64 #908
Comments
50 tasks
alicefr
pushed a commit
to alicefr/runtime
that referenced
this issue
Nov 15, 2018
Fixes: kata-containers#908 Type of StatFs is not always declared as int64 for all the architecture(e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
alicefr
pushed a commit
to alicefr/runtime
that referenced
this issue
Nov 15, 2018
Fixes: kata-containers#908 Not all the architectures convert the StatFs to int64 (e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
alicefr
pushed a commit
to alicefr/runtime
that referenced
this issue
Nov 15, 2018
Fixes: kata-containers#908 Type of StatFs is not always declared as int64 for all the architecture(e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
alicefr
pushed a commit
to alicefr/runtime
that referenced
this issue
Nov 15, 2018
Type of StatFs is not always declared as int64 for all the architecture(e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Fixes: kata-containers#908 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
zklei
pushed a commit
to zklei/runtime
that referenced
this issue
Nov 22, 2018
Type of StatFs is not always declared as int64 for all the architecture(e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Fixes: kata-containers#908 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
zklei
pushed a commit
to zklei/runtime
that referenced
this issue
Nov 22, 2018
Type of StatFs is not always declared as int64 for all the architecture(e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Fixes: kata-containers#908 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In go Type of the struct Statfs_t is
int64
foramd64
,arm
andppc64le
. However, on s390 the Type isuint32
. In oci/cli.go, you convert directly the cgroupFsType toint64
. For this reason, on s390 the build fails:The text was updated successfully, but these errors were encountered: