File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/ci/docker/host-x86_64/dist-x86_64-netbsd Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
COPY scripts/cross-apt-packages.sh /scripts/
4
5
RUN sh /scripts/cross-apt-packages.sh
5
- RUN DEBIAN_FRONTEND=noninteractive apt-get install -y zlib1g-dev
6
+ RUN apt-get install -y zlib1g-dev
6
7
7
8
COPY host-x86_64/dist-x86_64-netbsd/build-netbsd-toolchain.sh /tmp/
8
- RUN /tmp/build-netbsd-toolchain.sh
9
-
10
- COPY scripts/cmake.sh /scripts/
11
- RUN /scripts/cmake.sh
9
+ # GCC 10 changed the default to -fno-common, which causes errors with the NetBSD-9.0 sources like:
10
+ # /usr/bin/ld: buf.o:(.bss+0x0): multiple definition of `debug_file'; arch.o:(.bss+0x0): first defined here
11
+ RUN env HOST_CFLAGS="-O -fcommon" /tmp/build-netbsd-toolchain.sh
12
12
13
13
COPY scripts/sccache.sh /scripts/
14
14
RUN sh /scripts/sccache.sh
You can’t perform that action at this time.
0 commit comments