[ https://issues.apache.org/jira/browse/ARROW-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932660#comment-15932660 ]
Luke Higgins commented on ARROW-667: ------------------------------------ ok, i see now the shared vs static issue in the fix you reference. Need to read before typing more often. > build of arrow-master/cpp fails with altivec error? > --------------------------------------------------- > > Key: ARROW-667 > URL: https://issues.apache.org/jira/browse/ARROW-667 > Project: Apache Arrow > Issue Type: Bug > Environment: Centos 7, x86_64, gcc 4.8.5 > Reporter: Luke Higgins > Priority: Minor > > trying to build master of arrow-master/cpp: > root@localhost release]# cmake .. -DCMAKE_BUILD_TYPE=Release > clang-tidy not found > clang-format not found > Configured for RELEASE build (set with cmake > -DCMAKE_BUILD_TYPE={release,debug,...}) > -- Build Type: RELEASE > INFO Using built-in specs. > COLLECT_GCC=/usr/bin/c++ > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper > Target: x86_64-redhat-linux > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla > --enable-bootstrap --enable-shared --enable-threads=posix > --enable-checking=release --with-system-zlib --enable-__cxa_atexit > --disable-libunwind-exceptions --enable-gnu-unique-object > --enable-linker-build-id --with-linker-hash-style=gnu > --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin > --enable-initfini-array --disable-libgcj > --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install > > --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install > --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 > --build=x86_64-redhat-linux > Thread model: posix > gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) > INFO GNU > Selected compiler gcc 4.8.5 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:481 ] _boost_TEST_VERSIONS = > 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:483 ] Boost_USE_MULTITHREADED = > ON > -- [ /usr/share/cmake/Modules/FindBoost.cmake:485 ] Boost_USE_STATIC_LIBS = ON > -- [ /usr/share/cmake/Modules/FindBoost.cmake:487 ] Boost_USE_STATIC_RUNTIME > = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:489 ] Boost_ADDITIONAL_VERSIONS > = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:491 ] Boost_NO_SYSTEM_PATHS = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:543 ] Declared as CMake or > Environmental Variables: > -- [ /usr/share/cmake/Modules/FindBoost.cmake:545 ] BOOST_ROOT = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:547 ] BOOST_INCLUDEDIR = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:549 ] BOOST_LIBRARYDIR = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:551 ] _boost_TEST_VERSIONS = > 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:644 ] location of version.hpp: > /usr/include/boost/version.hpp > -- [ /usr/share/cmake/Modules/FindBoost.cmake:668 ] version.hpp reveals boost > 1.53.0 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:744 ] guessed _boost_COMPILER = > -gcc48 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:754 ] _boost_MULTITHREADED = -mt > -- [ /usr/share/cmake/Modules/FindBoost.cmake:797 ] _boost_RELEASE_ABI_TAG = - > -- [ /usr/share/cmake/Modules/FindBoost.cmake:799 ] _boost_DEBUG_ABI_TAG = -d > -- [ /usr/share/cmake/Modules/FindBoost.cmake:847 ] > _boost_LIBRARY_SEARCH_DIRS = /usr/lib64;NO_DEFAULT_PATH > -- [ /usr/share/cmake/Modules/FindBoost.cmake:957 ] Searching for > SYSTEM_LIBRARY_RELEASE: > boost_system-gcc48-mt-1_53;boost_system-gcc48-mt;boost_system-mt-1_53;boost_system-mt;boost_system > -- [ /usr/share/cmake/Modules/FindBoost.cmake:993 ] Searching for > SYSTEM_LIBRARY_DEBUG: > boost_system-gcc48-mt-d-1_53;boost_system-gcc48-mt-d;boost_system-mt-d-1_53;boost_system-mt-d;boost_system-mt;boost_system > -- [ /usr/share/cmake/Modules/FindBoost.cmake:957 ] Searching for > FILESYSTEM_LIBRARY_RELEASE: > boost_filesystem-gcc48-mt-1_53;boost_filesystem-gcc48-mt;boost_filesystem-mt-1_53;boost_filesystem-mt;boost_filesystem > -- [ /usr/share/cmake/Modules/FindBoost.cmake:993 ] Searching for > FILESYSTEM_LIBRARY_DEBUG: > boost_filesystem-gcc48-mt-d-1_53;boost_filesystem-gcc48-mt-d;boost_filesystem-mt-d-1_53;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem > -- [ /usr/share/cmake/Modules/FindBoost.cmake:1044 ] Boost_FOUND = 1 > CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1138 (message): > Unable to find the requested Boost libraries. > Boost version: 1.53.0 > Boost include path: /usr/include > Could not find the following static Boost libraries: > boost_system > boost_filesystem > No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the > directory containing Boost libraries or BOOST_ROOT to the location of > Boost. > Call Stack (most recent call first): > CMakeLists.txt:418 (find_package) > -- [ /usr/share/cmake/Modules/FindBoost.cmake:481 ] _boost_TEST_VERSIONS = > 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:483 ] Boost_USE_MULTITHREADED = > ON > -- [ /usr/share/cmake/Modules/FindBoost.cmake:485 ] Boost_USE_STATIC_LIBS = > OFF > -- [ /usr/share/cmake/Modules/FindBoost.cmake:487 ] Boost_USE_STATIC_RUNTIME > = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:489 ] Boost_ADDITIONAL_VERSIONS > = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:491 ] Boost_NO_SYSTEM_PATHS = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:543 ] Declared as CMake or > Environmental Variables: > -- [ /usr/share/cmake/Modules/FindBoost.cmake:545 ] BOOST_ROOT = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:547 ] BOOST_INCLUDEDIR = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:549 ] BOOST_LIBRARYDIR = > -- [ /usr/share/cmake/Modules/FindBoost.cmake:551 ] _boost_TEST_VERSIONS = > 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:644 ] location of version.hpp: > /usr/include/boost/version.hpp > -- [ /usr/share/cmake/Modules/FindBoost.cmake:668 ] version.hpp reveals boost > 1.53.0 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:744 ] guessed _boost_COMPILER = > -gcc48 > -- [ /usr/share/cmake/Modules/FindBoost.cmake:754 ] _boost_MULTITHREADED = -mt > -- [ /usr/share/cmake/Modules/FindBoost.cmake:797 ] _boost_RELEASE_ABI_TAG = - > -- [ /usr/share/cmake/Modules/FindBoost.cmake:799 ] _boost_DEBUG_ABI_TAG = -d > -- [ /usr/share/cmake/Modules/FindBoost.cmake:847 ] > _boost_LIBRARY_SEARCH_DIRS = /usr/lib64;NO_DEFAULT_PATH > -- [ /usr/share/cmake/Modules/FindBoost.cmake:957 ] Searching for > SYSTEM_LIBRARY_RELEASE: > boost_system-gcc48-mt-1_53;boost_system-gcc48-mt;boost_system-mt-1_53;boost_system-mt;boost_system > -- [ /usr/share/cmake/Modules/FindBoost.cmake:993 ] Searching for > SYSTEM_LIBRARY_DEBUG: > boost_system-gcc48-mt-d-1_53;boost_system-gcc48-mt-d;boost_system-mt-d-1_53;boost_system-mt-d;boost_system-mt;boost_system > -- [ /usr/share/cmake/Modules/FindBoost.cmake:957 ] Searching for > FILESYSTEM_LIBRARY_RELEASE: > boost_filesystem-gcc48-mt-1_53;boost_filesystem-gcc48-mt;boost_filesystem-mt-1_53;boost_filesystem-mt;boost_filesystem > -- [ /usr/share/cmake/Modules/FindBoost.cmake:993 ] Searching for > FILESYSTEM_LIBRARY_DEBUG: > boost_filesystem-gcc48-mt-d-1_53;boost_filesystem-gcc48-mt-d;boost_filesystem-mt-d-1_53;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem > -- [ /usr/share/cmake/Modules/FindBoost.cmake:1044 ] Boost_FOUND = 1 > -- Boost version: 1.53.0 > -- Found the following Boost libraries: > -- system > -- filesystem > -- Boost include dir: /usr/include > -- Boost libraries: > /usr/lib64/libboost_system-mt.so/usr/lib64/libboost_filesystem-mt.so > Added shared library dependency boost_system: /usr/lib64/libboost_system-mt.so > Added shared library dependency boost_filesystem: > /usr/lib64/libboost_filesystem-mt.so > -- GTest include dir: > /root/arrow-master/cpp/release/googletest_ep-prefix/src/googletest_ep/include > -- GTest static library: > /root/arrow-master/cpp/release/googletest_ep-prefix/src/googletest_ep/./libgtest.a > Added static library dependency gtest: > /root/arrow-master/cpp/release/googletest_ep-prefix/src/googletest_ep/./libgtest.a > -- GFlags include dir: > /root/arrow-master/cpp/release/gflags_ep-prefix/src/gflags_ep/include > -- GFlags static library: > /root/arrow-master/cpp/release/gflags_ep-prefix/src/gflags_ep/lib/libgflags.a > Added static library dependency gflags: > /root/arrow-master/cpp/release/gflags_ep-prefix/src/gflags_ep/lib/libgflags.a > -- RapidJSON include dir: > /root/arrow-master/cpp/release/src/rapidjson_ep/include > -- JEMALLOC_INCLUDE_DIR-NOTFOUND > -- JEMALLOC_SHARED_LIB-NOTFOUND > -- JEMALLOC_STATIC_LIB-NOTFOUND > -- Could not find the jemalloc library. Looked in system search paths. > Added static library dependency jemalloc: > /root/arrow-master/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a > Added shared library dependency jemalloc: > /root/arrow-master/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc.so > -- Found hdfs.h at: /root/arrow-master/cpp/thirdparty/hadoop/include/hdfs.h > -- Flatbuffers include dir: > /root/arrow-master/cpp/release/flatbuffers_ep-prefix/src/flatbuffers_ep-install/include > -- Flatbuffers static library: > /root/arrow-master/cpp/release/flatbuffers_ep-prefix/src/flatbuffers_ep-install/libflatbuffers.a > -- Flatbuffers compiler: > /root/arrow-master/cpp/release/flatbuffers_ep-prefix/src/flatbuffers_ep-install/bin/flatc > Added static library dependency flatbuffers: > /root/arrow-master/cpp/release/flatbuffers_ep-prefix/src/flatbuffers_ep-install/libflatbuffers.a > -- Configuring incomplete, errors occurred! > See also "/root/arrow-master/cpp/release/CMakeFiles/CMakeOutput.log". > See also "/root/arrow-master/cpp/release/CMakeFiles/CMakeError.log". -- This message was sent by Atlassian JIRA (v6.3.15#6346)