Skip to content

Commit

Permalink
add 23 conf for GCC 14 cross compilers
Browse files Browse the repository at this point in the history
Some adjustments:
- c6x: disable var tracking to workaround an ICEland
- m68k: use newlib master to use recent fix needed for gcc14
- rv64: update version of libc/linux
- rv32: disable Ada

refs compiler-explorer/compiler-explorer#6406

Signed-off-by: Marc Poulhiès <[email protected]>
  • Loading branch information
dkm committed May 7, 2024
1 parent e0a3ee6 commit 6049d8c
Show file tree
Hide file tree
Showing 24 changed files with 21,474 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,20 @@ RUN apt-get update -y -q && apt-get upgrade -y -q && apt-get upgrade -y -q && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-11.4.0.tar.xz" -o gcc11.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-12.3.0.tar.xz" -o gcc12.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-13.2.0.tar.xz" -o gcc13.tar.xz && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-trunk-20240419.tar.xz" -o "gcc-snapshot.tar.xz" && \
curl "https://s3.amazonaws.com/compiler-explorer/opt/gcc-14.1.0.tar.xz" -o gcc14.tar.xz && \
tar Jxf gcc11.tar.xz && \
tar Jxf gcc12.tar.xz && \
tar Jxf gcc13.tar.xz && \
tar Jxf gcc-snapshot.tar.xz && \
mv gcc-trunk-20240419 gcc-trunk && \
rm gcc11.tar.xz gcc12.tar.xz gcc13.tar.xz gcc-snapshot.tar.xz
tar Jxf gcc14.tar.xz && \
rm gcc11.tar.xz gcc12.tar.xz gcc13.tar.xz gcc14.tar.xz

## Need for host GCC version to be ~= latest cross GCC being built.
## This is at least needed for building cross-GNAT (Ada) as the GNAT runtime has no
## requirement on a minimal supported version (e.g. need GCC 12 to build any GNAT runtime).
## This is only true for cross compiler. Native compiler can use host's runtime
## and bootstrap everything.
ENV PATH="/opt/compiler-explorer/gcc-13.2.0/bin:${PATH}"
ENV LD_LIBRARY_PATH="/opt/compiler-explorer/gcc-13.2.0/lib64:${PATH}"
ENV PATH="/opt/compiler-explorer/gcc-14.1.0/bin:${PATH}"
ENV LD_LIBRARY_PATH="/opt/compiler-explorer/gcc-14.1.0/lib64:${PATH}"

WORKDIR /opt

Expand Down
Loading

0 comments on commit 6049d8c

Please sign in to comment.