fix: ...pointer to non-trivially copyable type...
Some checks failed
Docker Image CI / build-and-push (map[build-args:[] context:./ dockerfile:Dockerfile.piped image_name:piped]) (push) Successful in 10s
Docker Image CI / build-and-push (map[build-args:[WITH_JDK=false] context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (push) Failing after 3m47s

This commit is contained in:
DarkCat09 2025-03-13 21:28:57 +04:00
parent 86522ff431
commit dfe051d2c6
Signed by: DarkCat09
SSH key fingerprint: SHA256:SnH1iYY/ogxxRmt1I6piy+aVUUzrOWvfksQWfhZ8JUM

View file

@ -31,11 +31,14 @@ ENV CC=/usr/bin/clang CXX=/usr/bin/clang++ LD=/usr/bin/lld
# TODO: add as args to configure # TODO: add as args to configure
# CFLAGS="-O3 -flto -fwhole-program-vtables" \ # CFLAGS="-O3 -flto -fwhole-program-vtables" \
# LDFLAGS="-Wl,-O1" # LDFLAGS="-Wl,-O1"
ENV CFLAGS="-Wno-error=nontrivial-memcall"
RUN bash configure \ RUN bash configure \
--with-boot-jdk=/build/bootjdk \ --with-boot-jdk=/build/bootjdk \
--with-openssl=system \ --with-openssl=system \
--with-toolchain-type=clang \ --with-toolchain-type=clang \
--enable-jvm-feature-link-time-opt --enable-jvm-feature-link-time-opt \
--with-extra-cflags="$CFLAGS" \
--with-extra-cxxflags="$CFLAGS"
RUN make all JOBS=$(nproc) RUN make all JOBS=$(nproc)
# jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/ # jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/