Skip to content

Commit

Permalink
Add fedora 40 builder to have GCC 14.1 (#138)
Browse files Browse the repository at this point in the history
This is required to build for the latest kernel 6.9.4-200.fc40.x86_64
and avoid the error:

 gcc: error: unrecognized command-line option '-fmin-function-alignment=16'; did you mean '-flimit-function-alignment'?
  • Loading branch information
iurly authored Jun 17, 2024
1 parent c039312 commit a15510f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile.centos-gcc14.1-bpf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM fedora:40

RUN yum -y install \
wget \
git \
gcc \
gcc-c++ \
autoconf \
bison \
flex \
make \
cmake \
elfutils-devel \
findutils \
kmod \
clang \
llvm \
python-lxml && yum clean all

ADD builder-entrypoint.sh /
WORKDIR /build/probe
ENTRYPOINT [ "/builder-entrypoint.sh" ]

0 comments on commit a15510f

Please sign in to comment.