Comment 288 for bug 1632470

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/30618
Committed: http://github.com/Juniper/contrail-controller/commit/15abf924b5a54373721639673682543837b355cd
Submitter: Zuul (<email address hidden>)
Branch: master

commit 15abf924b5a54373721639673682543837b355cd
Author: Prakash Bailkeri <email address hidden>
Date: Thu Apr 20 11:48:45 2017 +0530

Config cassandra client: Fix compile error in optimization build

Compile Error while making production build

In file included from /usr/include/c++/4.8/algorithm:62:0,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:42,
from /usr/include/boost/shared_ptr.hpp:17,
from build/include/sandesh/sandesh_types.h:13,
from controller/src/ifmap/ifmap_server_show.cc:5:
/usr/include/c++/4.8/bits/stl_algo.h: In function ‘void std::inplace_merge(_BIter, _BIter, _BIter, _Compare) [with _BIter = __gnu_cxx::__normal_iterator<ConfigDBUUIDCacheEntry*, std::vector<ConfigDBUUIDCacheEntry> >; _Compare = boost::_bi::bind_t<bool, bool (*)(const ConfigDBUUIDCacheEntry&, const ConfigDBUUIDCacheEntry&), boost::_bi::list2<boost::arg<1>, boost::arg<2> > >]’:
/usr/include/c++/4.8/bits/stl_algo.h:3242:5: internal compiler error: Max. number of generated reload insns per insn is achieved (90)

}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.

Fix:
Remove the boost bind and pass function pointer to Sort method.

Change-Id: Ia513b3fc85ccea189880b82d78b5a155a29416ca
Related-bug: #1632470