[
https://issues.apache.org/jira/browse/HADOOP-11505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838872#comment-16838872
]
AiBe Gee commented on HADOOP-11505:
-----------------------------------
Found a fix for HADOOP-16311 (it's a duplicate) and gave Hadoop 3.2.0 another
try on my native ARM (ARMv7) compilation, apparently being confused by Sunil
Govindan's (2 posts above) statement, thought that this issue reported here was
fixed in 3.2.0.
Source code used:
https://archive.apache.org/dist/hadoop/common/hadoop-3.2.0/hadoop-3.2.0-src.tar.gz
Errors (build failure):
[WARNING] make[2]: Leaving directory
'/kit/hadoop-3.2.0-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/target/native'
[WARNING] [ 7%] Linking CXX static library libgtest.a
[WARNING] /usr/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
[WARNING] /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt
--verbose=1
[WARNING] /usr/bin/ar qc libgtest.a
CMakeFiles/gtest.dir/kit/hadoop-3.2.0-src/hadoop-common-project/hadoop-common/src/main/native/gtest/gtest-all.cc.o
[WARNING] /usr/bin/ranlib libgtest.a
[WARNING] make[2]: Leaving directory
'/kit/hadoop-3.2.0-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/target/native'
[WARNING] [ 7%] Built target gtest
[WARNING] make[1]: Leaving directory
'/kit/hadoop-3.2.0-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/target/native'
[WARNING] /tmp/ccgR0x0h.s: Assembler messages:
[WARNING] /tmp/ccgR0x0h.s:2041: Error: bad instruction `bswap r5'
[WARNING] /tmp/ccgR0x0h.s:2056: Error: bad instruction `bswap r1'
[WARNING] make[2]: *** [CMakeFiles/nativetask.dir/build.make:76:
CMakeFiles/nativetask.dir/main/native/src/codec/BlockCodec.cc.o] Error 1
[WARNING] make[2]: *** Waiting for unfinished jobs....
[WARNING] make[1]: *** [CMakeFiles/Makefile2:110:
CMakeFiles/nativetask.dir/all] Error 2
[WARNING] make[1]: *** Waiting for unfinished jobs....
[WARNING] /tmp/ccOmzy1y.s: Assembler messages:
[WARNING] /tmp/ccOmzy1y.s:1957: Error: bad instruction `bswap r5'
[WARNING] /tmp/ccOmzy1y.s:1972: Error: bad instruction `bswap r1'
[WARNING] make[2]: *** [CMakeFiles/nativetask_static.dir/build.make:76:
CMakeFiles/nativetask_static.dir/main/native/src/codec/BlockCodec.cc.o] Error 1
[WARNING] make[2]: *** Waiting for unfinished jobs....
[WARNING] /tmp/cc37QllK.s: Assembler messages:
[WARNING] /tmp/cc37QllK.s:939: Error: bad instruction `bswap r2'
[WARNING] /tmp/cc37QllK.s:971: Error: bad instruction `bswap r0'
[WARNING] make[2]: *** [CMakeFiles/nativetask_static.dir/build.make:102:
CMakeFiles/nativetask_static.dir/main/native/src/codec/Lz4Codec.cc.o] Error 1
[WARNING] make[1]: *** [CMakeFiles/Makefile2:73:
CMakeFiles/nativetask_static.dir/all] Error 2
[WARNING] make: *** [Makefile:84: all] Error 2
> Various native parts use bswap incorrectly and unportably
> ---------------------------------------------------------
>
> Key: HADOOP-11505
> URL: https://issues.apache.org/jira/browse/HADOOP-11505
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha1
> Reporter: Colin P. McCabe
> Assignee: Alan Burlison
> Priority: Major
> Attachments: HADOOP-11505.001.patch, HADOOP-11505.003.patch,
> HADOOP-11505.004.patch, HADOOP-11505.005.patch, HADOOP-11505.006.patch,
> HADOOP-11505.007.patch, HADOOP-11505.008.patch
>
>
> hadoop-mapreduce-client-nativetask fails to use x86 optimizations in some
> cases. Also, on some alternate, non-x86, non-ARM architectures the generated
> code is incorrect. Thanks to Steve Loughran and Edward Nevill for finding
> this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]