Skip to content

Commit cf66f48

Browse files
authored
ARROW-18366: [Packaging][RPM][Gandiva] Fix link error on AlmaLinux 9 (apache#14680)
LLVM is built with gcc-toolset-12 and it can't be used with the default g++. We also need to use gcc-toolset-12. Error message: /usr/bin/ld: .../libgandiva.so.1100: undefined reference to `std::__glibcxx_assert_fail(char const*, int, char const*, char const*)' Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent fd2595c commit cf66f48

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • dev/tasks/linux-packages/apache-arrow/yum/almalinux-9

dev/tasks/linux-packages/apache-arrow/yum/almalinux-9/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@
1818
ARG FROM=almalinux:9
1919
FROM ${FROM}
2020

21+
ENV SCL=gcc-toolset-12
22+
2123
ARG DEBUG
2224

2325
RUN \
2426
quiet=$([ "${DEBUG}" = "yes" ] || echo "--quiet") && \
2527
dnf install -y ${quiet} epel-release && \
2628
dnf install --enablerepo=crb -y ${quiet} \
29+
${SCL} \
2730
bison \
2831
boost-devel \
2932
brotli-devel \

0 commit comments

Comments
 (0)