Hi,
I’d like to request review for PR #14391 (https://github.com/bazelbuild/bazel/pull/14391) . This is a patch that unbreaks docker platforms running bazel inside a non-native container (m1 mac using linux x86_64; linux x86_64 running bazel for linux/arm). It does so by means of changing the method that bazel uses to calculate the path to the running binary when extracting the server to use a method that is properly supported under binfmt_misc and qemu-user-static (used by docker to support non-native platforms). The API used, getauxval(3), is well supported in Linux when running natively and is properly patched by qemu-user-static for running emulated binaries. It would be ideal to get this reviewed and backported into 4.x and 5.x as well as 6.0 since it fixes a bug that actively prevents users from using existing bazel containers on common developer platforms like M1 Macbooks.
Thanks!
Brandon Adams
--
You received this message because you are subscribed to the Google Groups "bazel-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/8D3CF870-CD78-486B-AEFE-A1EBAFE5558C%40imc.com.