[Boost-bugs] [Boost C++ Libraries] #10265: [asio] AIX 6.1 bug with missing symbol in asio tests

Subject: [Boost-bugs] [Boost C++ Libraries] #10265: [asio] AIX 6.1 bug with missing symbol in asio tests
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-28 15:56:38


#10265: [asio] AIX 6.1 bug with missing symbol in asio tests
-----------------------------------------------+---------------------------
 Reporter: Axel Ismirlian <axel.ismirlian@…> | Owner:
     Type: Bugs | chris_kohlhoff
Milestone: To Be Determined | Status: new
  Version: Boost 1.55.0 | Component: asio
 Keywords: | Severity: Problem
-----------------------------------------------+---------------------------
 The symbol test_main was left undefined for every single one of the asio
 tests. As a result I would get the following error over and over:

 ld: 0711-317 ERROR: Undefined symbol: .test_main(int, char**)

 The weird thing is that the tests did not appear to be using this symbol
 at all, yet it was still preserved. To compensate I added an empty
 definition of test_main. This allowed all of the tests in the suite to
 run. Most of the tests passed except for two, but for unrelated issues
 that I still need to look at.

 It is possible that the semantics of the AIX linker and the way that GCC
 interacts with the linker are causing extra symbols to be preserved. There
 might need to be in the future more work that needs to be done for either,
 but for now I think this is a good solution.


 Please look at the Pull Request created for further details:
 https://github.com/boostorg/asio/pull/6

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