Skip to content

Commit e81bafc

Browse files
committed
Upgrade feldera platform to use mold to 2.40.1.
We ran into a segfault when using mold 2.32.1 with some updated rust dependencies in java-tests. Upgrading to 2.40 fixes the problem for java-tests. This updates the linker for the pipeline compilation too so we avoid surprises in the future. Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
1 parent ab310fb commit e81bafc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deploy/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ COPY --chown=ubuntu sql-to-dbsp-compiler/SQL-compiler/sql-to-dbsp lib/sql-to-dbs
6060
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.87.0
6161
# The download URL for mold uses x86_64/aarch64 whereas dpkg --print-architecture says amd64/arm64
6262
RUN arch=`dpkg --print-architecture | sed "s/arm64/aarch64/g" | sed "s/amd64/x86_64/g"`; \
63-
curl -LO https://github.com/rui314/mold/releases/download/v2.32.1/mold-2.32.1-$arch-linux.tar.gz \
64-
&& tar -xzvf mold-2.32.1-$arch-linux.tar.gz \
65-
&& mv mold-2.32.1-$arch-linux $HOME/mold \
66-
&& rm mold-2.32.1-$arch-linux.tar.gz
63+
curl -LO https://github.com/rui314/mold/releases/download/v2.40.1/mold-2.40.1-$arch-linux.tar.gz \
64+
&& tar -xzvf mold-2.40.1-$arch-linux.tar.gz \
65+
&& mv mold-2.40.1-$arch-linux $HOME/mold \
66+
&& rm mold-2.40.1-$arch-linux.tar.gz
6767
ENV PATH="$PATH:/home/ubuntu/.cargo/bin:/home/ubuntu/mold/bin"
6868
ENV RUSTFLAGS="-C link-arg=-fuse-ld=mold"
6969

0 commit comments

Comments
 (0)