[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707440#comment-14707440 ] Hudson commented on HDFS-8922: -- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #294 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/294/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707316#comment-14707316 ] Hudson commented on HDFS-8922: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #291 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/291/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707346#comment-14707346 ] Hudson commented on HDFS-8922: -- FAILURE: Integrated in Hadoop-Yarn-trunk #1024 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1024/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707586#comment-14707586 ] Hudson commented on HDFS-8922: -- FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #283 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/283/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707602#comment-14707602 ] Hudson commented on HDFS-8922: -- SUCCESS: Integrated in Hadoop-Hdfs-trunk #2221 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2221/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707539#comment-14707539 ] Hudson commented on HDFS-8922: -- SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2240 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2240/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705739#comment-14705739 ] Colin Patrick McCabe commented on HDFS-8922: I have to admit, I do find it kind of strange that IBM's {{libjvm.so}} doesn't depend on {{libdl.so}} itself, if it needs to make use of that library. However, given that this only affects test programs, and it seems like a trivial fix, let's just do it. I agree that the test failures are unrelated. Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-8922) Link the native_mini_dfs test library with libdl, since IBM Java requires it
[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14705807#comment-14705807 ] Hudson commented on HDFS-8922: -- FAILURE: Integrated in Hadoop-trunk-Commit #8330 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8330/]) HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe) (cmccabe: rev 7642f64c24961d2b4772591a0957e2699162a083) * hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Link the native_mini_dfs test library with libdl, since IBM Java requires it Key: HDFS-8922 URL: https://issues.apache.org/jira/browse/HDFS-8922 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 2.7.1 Environment: IBM Java RHEL7.1 Reporter: Ayappan Assignee: Ayappan Fix For: 2.8.0 Attachments: HDFS-8922.patch Building hadoop-hdfs-project with -Pnative option using IBM Java fails with the following error [exec] Linking C executable test_native_mini_dfs [exec] /usr/bin/cmake -E cmake_link_script CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic [exec] make[2]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] make[1]: Leaving directory `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlopen' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlclose' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlerror' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dlsym' [exec] /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: undefined reference to `dladdr' [exec] collect2: error: ld returned 1 exit status [exec] make[2]: *** [test_native_mini_dfs] Error 1 [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 [exec] make: *** [all] Error 2 It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)