[Boost-bugs] [Boost C++ Libraries] #11182: Iostreams can't find symbol only on OSX

Subject: [Boost-bugs] [Boost C++ Libraries] #11182: Iostreams can't find symbol only on OSX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-11 16:34:04


#11182: Iostreams can't find symbol only on OSX
------------------------------+-----------------------
 Reporter: a.santini@… | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------
 '''System''': Darwin Kernel Version 14.3.0

 '''Compiler''': GCC 4.9

 '''Boost version''': Tried with 1.55, 1.57, 1.58-beta, boost-trunk of
 today

 '''Minimal example''':

 {{{
 #include <boost/iostreams/device/file_descriptor.hpp>
 #include <boost/iostreams/stream.hpp>

 int main () {
   boost::iostreams::stream<boost::iostreams::file_descriptor> fdstream;
   return 0;
 }
 }}}

 '''Outcome''':

 {{{
 $ /usr/local/bin/g++-4.9 -I /opt/boost/include/ -L /opt/boost/lib/
 -lboost_iostreams -o foo foo.cpp
 Undefined symbols for architecture x86_64:
   "boost::iostreams::file_descriptor::seek(long, std::_Ios_Seekdir)",
 referenced from:
       std::fpos<__mbstate_t>
 boost::iostreams::detail::seek_device_impl<boost::iostreams::any_tag>::seek<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&,
 long, std::_Ios_Seekdir, std::_Ios_Openmode) in ccr82hhn.o
 ld: symbol(s) not found for architecture x86_64
 collect2: error: ld returned 1 exit status
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11182>
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:18 UTC