Re: [Boost-bugs] [Boost C++ Libraries] #4828: Boost fails to compile on AIX 6.1 with IBM XL C/C++ V10.01

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4828: Boost fails to compile on AIX 6.1 with IBM XL C/C++ V10.01
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-26 15:49:51


#4828: Boost fails to compile on AIX 6.1 with IBM XL C/C++ V10.01
-----------------------------------+----------------------------------------
  Reporter: cpaolino@… | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment (by Michael Haubenwallner <michael.haubenwallner@…>):

 Same problems here on AIX 6.1, although using gcc:
 {{{
     "g++" -ftemplate-depth-128 -fno-strict-aliasing -finline-functions
 -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1
 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -I"libs/math/src/tr1" -c -o
 "bin.v2/libs/math/build/gcc-4.5.1/gentoorelease/pch-off/threading-
 multi/acoshl.o" "libs/math/build/../src/tr1/acoshl.cpp"
 libs/math/build/../src/tr1/acoshl.cpp:14:44: error: redefinition of 'long
 double acoshl(long double)'
 /prefix/lib/gcc/powerpc-ibm-aix6.1.0.0/4.5.1/include-fixed/math.h:860:20:
 error: 'long double acoshl(long double)' previously defined here
 }}}
 This isn't bound to boost-1.44.0 or gcc-4.5.1, I do have this same problem
 with boost-1.45.0 (using gcc-4.5.1) as well as boost-1.39 (using
 gcc-4.2.4).

 Thing is, AIX6.1 defines many math-functions as inlines in
 /usr/include/math.h already, as one can see in
 http://gcc.gnu.org/bugzilla/attachment.cgi?id=15004

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