[
https://issues.apache.org/jira/browse/PARQUET-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved PARQUET-1394.
-----------------------------------
Resolution: Not A Problem
Fix Version/s: cpp-1.6.0
Closing as this was a toolchain inconsistency it appears
> [C++] Linking errors with boost_regex
> -------------------------------------
>
> Key: PARQUET-1394
> URL: https://issues.apache.org/jira/browse/PARQUET-1394
> Project: Parquet
> Issue Type: Bug
> Components: parquet-cpp
> Reporter: Antoine Pitrou
> Priority: Major
> Fix For: cpp-1.6.0
>
>
> I'm now getting linking errors with boost_regex:
> {code}
> ../../debug/libparquet.a(metadata.cc.o): In function `bool
> boost::regex_match<__gnu_cxx::__normal_iterator<char const*, std::string>,
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
> std::string> > >, char, boost::regex_traits<char,
> boost::cpp_regex_traits<char> > >(__gnu_cxx::__normal_iterator<char const*,
> std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>,
> boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>,
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
> std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char,
> boost::cpp_regex_traits<char> > > const&,
> boost::regex_constants::_match_flags)':
> /home/antoine/miniconda3/envs/pyarrow/include/boost/regex/v4/regex_match.hpp:50:
> undefined reference to
> `boost::re_detail_106700::perl_matcher<__gnu_cxx::__normal_iterator<char
> const*, std::string>,
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
> std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> >
> >::match()'
> ../../debug/libparquet.a(metadata.cc.o): In function `perl_matcher':
> /home/antoine/miniconda3/envs/pyarrow/include/boost/regex/v4/perl_matcher.hpp:386:
> undefined reference to
> `boost::re_detail_106700::perl_matcher<__gnu_cxx::__normal_iterator<char
> const*, std::string>,
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
> std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> >
> >::construct_init(boost::basic_regex<char, boost::regex_traits<char,
> boost::cpp_regex_traits<char> > > const&,
> boost::regex_constants::_match_flags)'
> {code}
> Compiler is clang-6.0. There are no system boost headers. I'm using boost-cpp
> 1.67.0 from Anaconda, and {{-D_GLIBCXX_USE_CXX11_ABI=0}} is in the compile
> flags.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)