[Boost-bugs] [Boost C++ Libraries] #4883: epoll_reactor.hpp doesn`t compile with some versions of gcc

Subject: [Boost-bugs] [Boost C++ Libraries] #4883: epoll_reactor.hpp doesn`t compile with some versions of gcc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-23 14:39:25


#4883: epoll_reactor.hpp doesn`t compile with some versions of gcc
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: chris_kohlhoff
     Type: Patches | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 epoll_reactor.hpp doesn`t compile with some old versions of gcc. Actually
 I have 4.0.2. I have applied small patch that resolves problem.

 Here is example of compilation error.

  * Compile discovery_layer.cxx [class: dll] ...
 /usr/bin/g++ -MT /home/esuitebuild/AV-Desk-REL-600-AV_201011220/0bld-
 generic-gcc/drwcs/io/discovery_layer.odll -MD -MP -MF /home/esuitebuild
 /AV-Desk-REL-600-AV_201011220/0bld-generic-gcc/d\
 rwcs/io/discovery_layer.odll.dep -fPIC -DPIC -DNDEBUG -pipe -c
 -march=pentiumpro -Wall -W -Wredundant-decls -pthread -pedantic -Wno-long-
 long -D_REENTRANT -D_THREAD_SAFE -D_LARGEFILE64_S\
 OURCE -o /home/esuitebuild/AV-Desk-REL-600-AV_201011220/0bld-generic-
 gcc/drwcs/io/discovery_layer.odll discovery_layer.cxx -O3 -s
 -I"/home/esuitebuild/AV-Desk-REL-600-AV_201011220/drwcs" \
 -isystem"/home/esuitebuild/boost_1_45_0" -I"/home/esuitebuild/AV-Desk-
 REL-600-AV_201011220/ES-Key" -I"/home/esuitebuild/AV-Desk-
 REL-600-AV_201011220/0ins-generic-gcc/include" -I"/home/esui\
 tebuild/AV-Desk-REL-600-AV_201011220/zlib" -I/usr/local/include
 -DSYSTEM=\"Linux\" -DARCH=\"x86\" -DUSE_THREADS -D__BUILD_DRWCC__
 -DBOOST_ALL_NO_LIB -DSTATIC=static
 /home/esuitebuild/boost_1_45_0/boost/asio/detail/impl/epoll_reactor.ipp:
 In member function 'void boost::asio::detail::epoll_reactor::start_op(int,
 boost::asio::detail::socket_type, boost:\
 :asio::detail::epoll_reactor::descriptor_state*&,
 boost::asio::detail::reactor_op*, bool)':
 /home/esuitebuild/boost_1_45_0/boost/asio/detail/impl/epoll_reactor.ipp:140:
 error: 'boost::asio::detail::epoll_reactor::<anonymous enum>' is/uses
 anonymous type
 /home/esuitebuild/boost_1_45_0/boost/asio/detail/impl/epoll_reactor.ipp:140:
 error: trying to instantiate 'template<class T> struct
 boost::is_integral'
 {standard input}: Assembler messages:
 {standard input}:1788: Error: Local symbol `.LTHUNK0' can't be equated to
 undefined symbol
 `_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEE\
 D0Ev'
 {standard input}:1788: Error: Local symbol `.LTHUNK1' can't be equated to
 undefined symbol
 `_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEE\
 D0Ev'
 {standard input}:1788: Error: Local symbol `.LTHUNK2' can't be equated to
 undefined symbol
 `_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEE\
 D1Ev'
 {standard input}:1788: Error: Local symbol `.LTHUNK3' can't be equated to
 undefined symbol
 `_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEE\
 D1Ev'
 {standard input}:1788: Error: Local symbol `.LTHUNK4' can't be equated to
 undefined symbol
 `_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEED0\

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