Closed sctb512 closed 9 months ago
Merging #553 (3d08e19) into main (2f20ea7) will increase coverage by
0.05%
. Report is 13 commits behind head on main. The diff coverage isn/a
.
@sctb512, I'm closing #552 in favour of this one, as this one is way more complete. :-)
@stevenhorsman, as Choi is on vacation, would you mind to give it a try on the binaries released for s390x and make sure those are working as expected?
@stevenhorsman, as Choi is on vacation, would you mind to give it a try on the binaries released for s390x and make sure those are working as expected?
I think @BbolroC is back now. Choi, do you have a chance to try this out, or do you need me to? Thanks.
Hi, I've tested the binaries. All looks good, but optimizer-server
as follows:
$ file optimizer-server
optimizer-server: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=21ade306589fc7f613b58e8f5bcfea0b6f8c7150, for GNU/Linux 3.2.0, with debug_info, not stripped
Hi, I've tested the binaries. All looks good, but
optimizer-server
as follows:$ file optimizer-server optimizer-server: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=21ade306589fc7f613b58e8f5bcfea0b6f8c7150, for GNU/Linux 3.2.0, with debug_info, not stripped
Thanks for testing. Need to add EXTRA_RUSTFLAGS
to build the optimizer-server
and strip it. I will update it soon.
Updated, strip
is not supported for the result of cross compilation, so I skip it. PTAL @BbolroC https://github.com/sctb512/nydus-snapshotter/actions/runs/6734057338
Hi, the test results are as follows:
~/bin$ ls
containerd-nydus-grpc nydus-overlayfs optimizer-nri-plugin optimizer-server
~/bin$ ls -1 | xargs -i{} file {}
containerd-nydus-grpc: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=D9FMM2zeoLZRudY9jmk3/w2Ubn4ekE7PDXkW8KUwC/hj2l8NJJPWnLMuVNvUO6/CCeUYXb37ebI3TvRpL7k, stripped
nydus-overlayfs: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=NJHuJic9uc6alIavAiRK/KiGolH9qCL_OQVxPxzfi/KM9yYXMKgWR3MSc5Nr-i/o7iFDb_RRuAgtRVaF_2a, stripped
optimizer-nri-plugin: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=pLWwkeK1wDheG0Lr94z7/E0s98LRkYKZ00rvJ3G3z/WdRYAJ_wHeV0vejegCFS/hNz8MRM1B7gDz0xsL3TZ, stripped
optimizer-server: ELF 64-bit MSB shared object, IBM S/390, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, BuildID[sha1]=42f7921d6175f7c1c5c881690126d85301feeac2, for GNU/Linux 3.2.0, with debug_info, not stripped
~/bin$ ./optimizer-server --help
./optimizer-server: /lib/s390x-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./optimizer-server)
./optimizer-server: /lib/s390x-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./optimizer-server)
./optimizer-server: /lib/s390x-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./optimizer-server)
Only the binary optimizer-server
is built as dynamically linked
and not stripped
. Is this what you expected? Thanks.
Hi, the test results are as follows:
~/bin$ ls containerd-nydus-grpc nydus-overlayfs optimizer-nri-plugin optimizer-server ~/bin$ ls -1 | xargs -i{} file {} containerd-nydus-grpc: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=D9FMM2zeoLZRudY9jmk3/w2Ubn4ekE7PDXkW8KUwC/hj2l8NJJPWnLMuVNvUO6/CCeUYXb37ebI3TvRpL7k, stripped nydus-overlayfs: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=NJHuJic9uc6alIavAiRK/KiGolH9qCL_OQVxPxzfi/KM9yYXMKgWR3MSc5Nr-i/o7iFDb_RRuAgtRVaF_2a, stripped optimizer-nri-plugin: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=pLWwkeK1wDheG0Lr94z7/E0s98LRkYKZ00rvJ3G3z/WdRYAJ_wHeV0vejegCFS/hNz8MRM1B7gDz0xsL3TZ, stripped optimizer-server: ELF 64-bit MSB shared object, IBM S/390, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, BuildID[sha1]=42f7921d6175f7c1c5c881690126d85301feeac2, for GNU/Linux 3.2.0, with debug_info, not stripped ~/bin$ ./optimizer-server --help ./optimizer-server: /lib/s390x-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./optimizer-server) ./optimizer-server: /lib/s390x-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./optimizer-server) ./optimizer-server: /lib/s390x-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./optimizer-server)
Only the binary
optimizer-server
is built asdynamically linked
andnot stripped
. Is this what you expected? Thanks.
Updated. It works as expected now.
@sctb512 I've verified the binaries at https://github.com/sctb512/nydus-snapshotter/actions/runs/6744462860 work on s390x. Thanks a lot! 😉
Related to https://github.com/containerd/nydus-snapshotter/issues/548
Expected packages: https://github.com/sctb512/nydus-snapshotter/releases/tag/v0.9.2