Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 945928 Details for
Bug 1151741
FTBFS on arm
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix build on ARM
hadoop-2.4.1-cmake-arm.patch (text/plain), 2.26 KB, created by
Dan Horák
on 2014-10-11 09:11:38 UTC
(
hide
)
Description:
fix build on ARM
Filename:
MIME Type:
Creator:
Dan Horák
Created:
2014-10-11 09:11:38 UTC
Size:
2.26 KB
patch
obsolete
>diff -up hadoop-common-9e2ef43a240fb0f603d8c384e501daec11524510/hadoop-common-project/hadoop-common/src/JNIFlags.cmake.arm hadoop-common-9e2ef43a240fb0f603d8c384e501daec11524510/hadoop-common-project/hadoop-common/src/JNIFlags.cmake >--- hadoop-common-9e2ef43a240fb0f603d8c384e501daec11524510/hadoop-common-project/hadoop-common/src/JNIFlags.cmake.arm 2014-10-10 09:00:15.860041467 +0000 >+++ hadoop-common-9e2ef43a240fb0f603d8c384e501daec11524510/hadoop-common-project/hadoop-common/src/JNIFlags.cmake 2014-10-10 09:00:42.620038134 +0000 >@@ -34,37 +34,6 @@ if (JVM_ARCH_DATA_MODEL EQUAL 32) > endif () > endif (JVM_ARCH_DATA_MODEL EQUAL 32) > >-# Determine float ABI of JVM on ARM Linux >-if (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND CMAKE_SYSTEM_NAME STREQUAL "Linux") >- find_program(READELF readelf) >- if (READELF MATCHES "NOTFOUND") >- message(WARNING "readelf not found; JVM float ABI detection disabled") >- else (READELF MATCHES "NOTFOUND") >- execute_process( >- COMMAND ${READELF} -A ${JAVA_JVM_LIBRARY} >- OUTPUT_VARIABLE JVM_ELF_ARCH >- ERROR_QUIET) >- if (NOT JVM_ELF_ARCH MATCHES "Tag_ABI_VFP_args: VFP registers") >- message("Soft-float JVM detected") >- >- # Test compilation with -mfloat-abi=softfp using an arbitrary libc function >- # (typically fails with "fatal error: bits/predefs.h: No such file or directory" >- # if soft-float dev libraries are not installed) >- include(CMakePushCheckState) >- cmake_push_check_state() >- set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -mfloat-abi=softfp") >- include(CheckSymbolExists) >- check_symbol_exists(exit stdlib.h SOFTFP_AVAILABLE) >- if (NOT SOFTFP_AVAILABLE) >- message(FATAL_ERROR "Soft-float dev libraries required (e.g. 'apt-get install libc6-dev-armel' on Debian/Ubuntu)") >- endif (NOT SOFTFP_AVAILABLE) >- cmake_pop_check_state() >- >- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=softfp") >- endif () >- endif (READELF MATCHES "NOTFOUND") >-endif (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND CMAKE_SYSTEM_NAME STREQUAL "Linux") >- > IF("${CMAKE_SYSTEM}" MATCHES "Linux") > # > # Locate JNI_INCLUDE_DIRS and JNI_LIBRARIES.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1151741
: 945928