This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new 5944087c6 BIGTOP-4289. Fix Hadoop build on Fedora 40. (#1342)
5944087c6 is described below

commit 5944087c6c927c921b577c981a9c469272923e26
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Wed Apr 23 20:04:24 2025 +0900

    BIGTOP-4289. Fix Hadoop build on Fedora 40. (#1342)
    
    (cherry picked from commit cc9685bee1adce014915c10b909b9fb6151e25e6)
---
 bigtop-packages/src/common/hadoop/patch4-HADOOP-19551.diff | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/bigtop-packages/src/common/hadoop/patch4-HADOOP-19551.diff 
b/bigtop-packages/src/common/hadoop/patch4-HADOOP-19551.diff
new file mode 100644
index 000000000..a2744103f
--- /dev/null
+++ b/bigtop-packages/src/common/hadoop/patch4-HADOOP-19551.diff
@@ -0,0 +1,14 @@
+diff --git a/hadoop-common-project/hadoop-common/HadoopCommon.cmake 
b/hadoop-common-project/hadoop-common/HadoopCommon.cmake
+index 7628ecf628de..8ed478dc8df7 100644
+--- a/hadoop-common-project/hadoop-common/HadoopCommon.cmake
++++ b/hadoop-common-project/hadoop-common/HadoopCommon.cmake
+@@ -145,6 +145,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+     # Make GNU extensions available.
+     hadoop_add_compiler_flags("-D_GNU_SOURCE")
+ 
++    # using old default behavior on GCC >= 14.0
++    hadoop_add_compiler_flags("-Wno-error=implicit-function-declaration")
++
+     # If JVM_ARCH_DATA_MODEL is 32, compile all binaries as 32-bit.
+     if(JVM_ARCH_DATA_MODEL EQUAL 32)
+         # Force 32-bit code generation on amd64/x86_64, ppc64, sparc64

Reply via email to