Skip to content

Commit f4f4e0a

Browse files
authored
Unrolled build for #153526
Rollup merge of #153526 - homersimpsons:chore/fix-LegacyKeyValueFormat-i686, r=marcoieni Fix LegacyKeyValueFormat report from docker build: i686 Part of #152305 r? @marcoieni
2 parents 7e28c74 + 63a02ac commit f4f4e0a

File tree

4 files changed

+15
-18
lines changed

4 files changed

+15
-18
lines changed

src/ci/docker/host-x86_64/dist-i586-gnu-i586-i686-musl/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ RUN ln -s /usr/lib32/libgcc_s.so.1 /musl-i686/lib/
5757
COPY scripts/sccache.sh /scripts/
5858
RUN sh /scripts/sccache.sh
5959

60-
ENV RUST_CONFIGURE_ARGS \
61-
--musl-root-i586=/musl-i586 \
60+
ENV RUST_CONFIGURE_ARGS="--musl-root-i586=/musl-i586 \
6261
--musl-root-i686=/musl-i686 \
63-
--disable-docs
62+
--disable-docs"
6463

6564
# Newer binutils broke things on some vms/distros (i.e., linking against
6665
# unknown relocs disabled by the following flag), so we need to go out of our
@@ -73,6 +72,5 @@ ENV CFLAGS_i586_unknown_linux_musl=-Wa,-mrelax-relocations=no
7372

7473
ENV TARGETS=i586-unknown-linux-gnu,i686-unknown-linux-musl
7574

76-
ENV SCRIPT \
77-
python3 ../x.py --stage 2 test --host='' --target $TARGETS && \
78-
python3 ../x.py dist --host='' --target $TARGETS,i586-unknown-linux-musl
75+
ENV SCRIPT="python3 ../x.py --stage 2 test --host= --target $TARGETS && \
76+
python3 ../x.py dist --host= --target $TARGETS,i586-unknown-linux-musl"

src/ci/docker/host-x86_64/dist-i686-linux/Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,14 @@ RUN sh /scripts/sccache.sh
7070

7171
ENV HOSTS=i686-unknown-linux-gnu
7272

73-
ENV RUST_CONFIGURE_ARGS \
74-
--enable-full-tools \
73+
ENV RUST_CONFIGURE_ARGS="--enable-full-tools \
7574
--enable-sanitizers \
7675
--enable-profiler \
7776
--set target.i686-unknown-linux-gnu.linker=clang \
7877
--build=i686-unknown-linux-gnu \
7978
--set llvm.ninja=false \
80-
--set rust.jemalloc
81-
ENV SCRIPT python3 ../x.py dist --build $HOSTS --host $HOSTS --target $HOSTS
79+
--set rust.jemalloc"
80+
ENV SCRIPT="python3 ../x.py dist --build $HOSTS --host $HOSTS --target $HOSTS"
8281
ENV CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER=clang
8382

8483
# This was added when we switched from gcc to clang. It's not clear why this is
@@ -89,17 +88,17 @@ ENV CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER=clang
8988
# misaligned stack access.
9089
#
9190
# Added in #50200 there's some more logs there
92-
ENV CFLAGS -mstackrealign
91+
ENV CFLAGS="-mstackrealign"
9392

9493
# When we build cargo in this container, we don't want it to use the system
9594
# libcurl, instead it should compile its own.
96-
ENV LIBCURL_NO_PKG_CONFIG 1
95+
ENV LIBCURL_NO_PKG_CONFIG="1"
9796

9897
# There was a bad interaction between "old" 32-bit binaries on current 64-bit
9998
# kernels with selinux enabled, where ASLR mmap would sometimes choose a low
10099
# address and then block it for being below `vm.mmap_min_addr` -> `EACCES`.
101100
# This is probably a kernel bug, but setting `ulimit -Hs` works around it.
102101
# See also `src/ci/run.sh` where this takes effect.
103-
ENV SET_HARD_RLIMIT_STACK 1
102+
ENV SET_HARD_RLIMIT_STACK="1"
104103

105-
ENV DIST_REQUIRE_ALL_TOOLS 1
104+
ENV DIST_REQUIRE_ALL_TOOLS="1"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2222
COPY scripts/sccache.sh /scripts/
2323
RUN sh /scripts/sccache.sh
2424

25-
ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests
25+
ENV RUST_CONFIGURE_ARGS="--build=i686-unknown-linux-gnu --disable-optimize-tests"
2626
COPY scripts/stage_2_test_set1.sh /scripts/
2727
COPY scripts/stage_2_test_set2.sh /scripts/
2828
COPY scripts/i686-gnu-nopt-2.sh /scripts/
29-
ENV SCRIPT "Must specify DOCKER_SCRIPT for this image"
29+
ENV SCRIPT="Must specify DOCKER_SCRIPT for this image"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2323
COPY scripts/sccache.sh /scripts/
2424
RUN sh /scripts/sccache.sh
2525

26-
ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu
26+
ENV RUST_CONFIGURE_ARGS="--build=i686-unknown-linux-gnu"
2727
COPY scripts/stage_2_test_set1.sh /scripts/
2828
COPY scripts/stage_2_test_set2.sh /scripts/
29-
ENV SCRIPT "Must specify DOCKER_SCRIPT for this image"
29+
ENV SCRIPT="Must specify DOCKER_SCRIPT for this image"

0 commit comments

Comments
 (0)