kata-containers/runtime

build flags are incorrect for containerd-shim-kata-v2

egernst opened this issue · 1 comments

Looks like BUILDTAGS is being used instead of BUILDFLAGS, which is incorrect, as it drops some important flags.

see:

BUILDFLAGS := -buildmode=pie ${BUILDTAGS}

And later:

   $(QUIET_BUILD)(cd $(SHIMV2_DIR)/ && go build $(KATA_LDFLAGS) $(BUILDTAGS) -i -o $@ .)

This issue is being automatically closed as Kata Containers 1.x has now reached EOL (End of Life). This means it is no longer being maintained.

Important:

All users should switch to the latest Kata Containers 2.x release to ensure they are using a maintained release that contains the latest security fixes, performance improvements and new features.

This decision was discussed by the @kata-containers/architecture-committee and has been announced via the Kata Containers mailing list:

If you believe this issue still applies to Kata Containers 2.x, please open an issue against the Kata Containers 2.x repository, pointing to this one, providing details to allow us to migrate it.