Build error on FreeBSD with gcc 4.2 and Boost 1.45+

Bug #1017081 reported by ariel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geneva Optimization
Won't Fix
Low
Unassigned

Bug Description

Geneva head (0.9.9+) fails to build on FreeBSD 9.0 amd64 with gcc 4.2.1 and Boost 1.45.

Filtering the compiler output for Geneva filenames up to the first "error:", we get:
----------------------------------------------------------------------
include/hap/GRandomT.hpp:229: instantiated from here
...
include/hap/GRandomT.hpp:250: instantiated from here
src/geneva/GBaseEA.cpp:329: instantiated from here
...
src/geneva/GBaseEA.cpp:337: instantiated from here
...
src/geneva/GBaseEA.cpp:329: instantiated from here
...
src/geneva/GBaseEA.cpp:386: instantiated from here
...
src/geneva/GBaseEA.cpp:394: instantiated from here
src/geneva/GBaseEA.cpp:2304: instantiated from here
...
src/geneva/GBaseEA.cpp:2304: instantiated from here
include/geneva/GBaseEA.hpp:461: instantiated from 'void Gem::Geneva::GBaseEA::GEAOptimizationMonitor::serialize(Archive&, unsigned int) [with Archive = boost::archive::text_oarchive]'
...
/usr/local/include/boost/archive/shared_ptr_helper.hpp:144: error: lvalue required as unary '&' operand
----------------------------------------------------------------------
where (lots of) repeated lines have been replaced with ...

Revision history for this message
ariel (garcia) wrote :
description: updated
Revision history for this message
ariel (garcia) wrote :

BTW, the serialization error gets triggered in every single class of the main geneva library.

Revision history for this message
ariel (garcia) wrote :

s/the serialization error/this serialization error/

Revision history for this message
ariel (garcia) wrote :

Same error with Boost 1.48

summary: - Build error on FreeBSD with gcc 4.2 and Boost 1.45
+ Build error on FreeBSD with gcc 4.2 and Boost 1.45+
Revision history for this message
ariel (garcia) wrote :

Geneva 1.0 builds under FreeBSD with Boost 1.50 at least. Older Boost versions will not be supported in FreeBSD.

Changed in geneva:
status: New → Won't Fix
Revision history for this message
ariel (garcia) wrote :

Above comment should read "Older Boost versions will not be supported in FreeBSD using such old compilers as gcc 4.2".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.