Re: [Boost-bugs] [Boost C++ Libraries] #10038: filesystem library with -std=c++11 causes undefined reference to copy_file

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10038: filesystem library with -std=c++11 causes undefined reference to copy_file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-11 11:15:01


#10038: filesystem library with -std=c++11 causes undefined reference to copy_file
------------------------------+--------------------------------------------
  Reporter: jim.king@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be | Component: filesystem
  Determined | Severity: Problem
   Version: Boost 1.56.0 | Keywords: filesystem copy_file undefined
Resolution: |
------------------------------+--------------------------------------------

Comment (by jim.king@…):

 Using "strings" I extracted the mangled name from the library:

 {{{
 # strings /usr/lib/libboost_filesystem-clang35-mt-d-1_56.so | grep
 copy_file
 _ZN5boost10filesystem6detail9copy_fileERKNS0_4pathES4_NS0_11copy_option9enum_typeEPNS_6system10error_codeE
 ...
 }}}

 This demangles to:

 {{{
 boost::filesystem::detail::copy_file(boost::filesystem::path const&,
 boost::filesystem::path const&, boost::filesystem::copy_option::enum_type,
 boost::system::error_code*)
 }}}

 The ::enum_type is a different signature.

 I built boost 1.56 with:

 {{{
 ./b2 toolset=clang --prefix=/usr --build-type=complete --build-dir=...
 --layout=versioned install
 }}}

 (where ... was a directory outside the source directory)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10038#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC