Motiejus Jakštys
e8767d2b76
Zig's 0.11.0 linking code has a bug where it would refuse to link to a symbol that links to `pthread_create@@GLIBC_2_34`, since `pthread_create@GLIBC_2.2.5` exists. All that weirdness can be worked around by using a distro that has glibc 2.31. For someone who is porting this to a modern distro: getting glibc-linked 0.11.0 may be tough. You may have better luck with 0.12.0. If you really need 0.11.0, link stage3 to musl, that will just work.
13 lines
507 B
Docker
13 lines
507 B
Docker
FROM debian:bullseye
|
|
|
|
RUN apt-get update && apt-get install -y ca-certificates
|
|
|
|
ADD llvm.list /etc/apt/sources.list.d/llvm.list
|
|
ADD llvm-snapshot.gpg.key /etc/apt/trusted.gpg.d/apt.llvm.org.asc
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
zstd binaryen cmake git make zlib1g-dev patch \
|
|
llvm-15 llvm-15-dev liblld-15-dev lld-15 clang-15 libclang-15-dev \
|
|
llvm-16 llvm-16-dev liblld-16-dev lld-16 clang-16 libclang-16-dev \
|