Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87545

Add Remote Execution Containers for all supported distros in Bazel

    • Build
    • Fully Compatible

      The way we're setting up libgcc_s.so right now is distro-specific. We hadn't run into this issue because prior to this PR, we were including the wrong version of libgcc_s.so, which is incompatible with s390x. We may be able to work around that issue, but it's likely we'll run into other distro-specific issues during migration.

      SCons currently uses one toolchain and one host platform for each supported distro/operating system. Prior to this PR, Bazel was using Amazon Linux 2 for both the remote execution container and toolchain for all Linux distros.

      On top of this, we're unable to decouple openssl (and possibly other system libraries) from the host that the build is running on. This would force us to use a per-distro remote container very soon.

      Using a per-distro remote execution host and toolchain will also allow us to benefit from the security/performance improvements of using a newer version of glibc.

      https://jira.mongodb.org/browse/SERVER-87113 added support for amazon linux 2023, amazon linux 2, rhel80, and ubuntu 22. This task covers the rest of the distros we currently support:

       

            Assignee:
            zack.winter@mongodb.com Zack Winter
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: