Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 09:31:08 GMT
From:      Vytautas <vytautas1987@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165088: bad interaction between boost and gcc
Message-ID:  <201202130931.q1D9V8mw066306@red.freebsd.org>
Resent-Message-ID: <201202130940.q1D9e6nh098673@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165088
>Category:       ports
>Synopsis:       bad interaction between boost and gcc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 09:40:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Vytautas
>Release:        9.0
>Organization:
>Environment:
64bit
>Description:
[  1%] Building CXX object CMakeFiles/_arx_arxsavetool_common.dir/src/io/SaveBlock.cpp.o
In file included from /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007/src/io/SaveBlock.h:53,
                 from /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007/src/io/SaveBlock.cpp:44:
/usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007/src/platform/Platform.h:46:3: warning: #warning "Unknown target platform"
In file included from /usr/local/include/boost/functional/hash/hash.hpp:15,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:17,
                 from /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007/src/io/SaveBlock.h:51,
                 from /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007/src/io/SaveBlock.cpp:44:
/usr/local/include/boost/functional/hash/detail/hash_float.hpp: In function 'size_t boost::hash_detail::float_hash_value(T)':
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:66: error: 'FP_ZERO' was not declared in this scope
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:68: error: 'FP_INFINITE' was not declared in this scope
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:70: error: 'FP_NAN' was not declared in this scope
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:72: error: 'FP_NORMAL' was not declared in this scope
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:73: error: 'FP_SUBNORMAL' was not declared in this scope
/usr/include/c++/4.2/cmath: In function 'int __gnu_cxx::__capture_fpclassify(_Tp) [with _Tp = float]':
/usr/include/c++/4.2/cmath:539:   instantiated from 'int std::fpclassify(_Tp) [with _Tp = float]'
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:65:   instantiated from 'size_t boost::hash_detail::float_hash_value(T) [with T = float]'
/usr/local/include/boost/functional/hash/hash.hpp:321:   instantiated from here
/usr/include/c++/4.2/cmath:468: error: 'fpclassify' was not declared in this scope
/usr/include/c++/4.2/cmath: In function 'int __gnu_cxx::__capture_fpclassify(_Tp) [with _Tp = double]':
/usr/include/c++/4.2/cmath:539:   instantiated from 'int std::fpclassify(_Tp) [with _Tp = double]'
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:65:   instantiated from 'size_t boost::hash_detail::float_hash_value(T) [with T = double]'
/usr/local/include/boost/functional/hash/hash.hpp:326:   instantiated from here
/usr/include/c++/4.2/cmath:468: error: 'fpclassify' was not declared in this scope
/usr/include/c++/4.2/cmath: In function 'int __gnu_cxx::__capture_fpclassify(_Tp) [with _Tp = long double]':
/usr/include/c++/4.2/cmath:539:   instantiated from 'int std::fpclassify(_Tp) [with _Tp = long double]'
/usr/local/include/boost/functional/hash/detail/hash_float.hpp:65:   instantiated from 'size_t boost::hash_detail::float_hash_value(T) [with T = long double]'
/usr/local/include/boost/functional/hash/hash.hpp:331:   instantiated from here
/usr/include/c++/4.2/cmath:468: error: 'fpclassify' was not declared in this scope
*** Error code 1

Stop in /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007.
*** Error code 1

Stop in /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007.
*** Error code 1

Stop in /usr/home/vytautas/arx/arx-ArxLibertatis-e0bc007.
>How-To-Repeat:
use make with boost
>Fix:
not known

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202130931.q1D9V8mw066306>