Skip to content

Commit 80cc2ec

Browse files
committed
Auto merge of rust-lang#79536 - davidtwco:focal-fossa-ci, r=pietroalbini
ci: use 20.04 on x86_64-gnu-nopt builder Switch the `x86_64-gnu-nopt` builder to use Ubuntu 20.04. Ubuntu 20.04 has a more recent gdb version than Ubuntu 16.04 (9.1 vs 7.11.1), which is required for rust-lang#77177, as 16.04's gdb 7.11.1 crashes in some cases with Split DWARF. `x86_64-gnu-nopt` is chosen because it runs compare modes, which is how Split DWARF testing is implemented in rust-lang#77177. I've not confirmed that the issue is resolved with gdb 9.1 (Feb 2020), but system was using gdb 9.2 (May 2020) and that was fine and it seems more likely to me that the bug was resolved between gdb 7.11.1 (May 2016) and gdb 9.1. Updating a builder to use 20.04 was suggested by `@Mark-Simulacrum` in rust-lang#77117 (comment). I'm not sure if this is the only change that is required - if more are necessary then I'm happy to do that. r? `@pietroalbini` cc `@Mark-Simulacrum`
2 parents d7560e8 + fb75c32 commit 80cc2ec

File tree

1 file changed

+3
-2
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-nopt

1 file changed

+3
-2
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-nopt/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:20.04
22

3-
RUN apt-get update && apt-get install -y --no-install-recommends \
3+
# Avoid interactive prompts while installing `tzdata` dependency with `DEBIAN_FRONTEND`.
4+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
45
g++ \
56
make \
67
ninja-build \

0 commit comments

Comments
 (0)