Re: gcc bug ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

On Thu, Mar 26, 2015 at 11:16 PM, 施不二 <shirui816@xxxxxxxxx> wrote:

> This error just occurred when I compile HOOMD-BLUE which could be compiled
> normally using gcc 4.9.1
>
> /usr/include/boost/signals2/detail/signal_template.hpp: In instantiation of
> 'void boost::signals2::detail::signal1_impl<R, T1, Combiner, Group,
> GroupCompare, SlotFunction, ExtendedSlotFunction,
> Mutex>::force_cleanup_connections(const connection_list_type*) const [with
> R = std::bitset<32ul>; T1 = unsigned int; Combiner = comm_flags_bitwise_or;
> Group = int; GroupCompare = std::less<int>; SlotFunction =
> boost::function<std::bitset<32ul>(unsigned int)>; ExtendedSlotFunction =
> boost::function<std::bitset<32ul>(const boost::signals2::connection&,
> unsigned int)>; Mutex = boost::signals2::mutex;
> boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare,
> SlotFunction, ExtendedSlotFunction, Mutex>::connection_list_type =
> boost::signals2::detail::grouped_list<int, std::less<int>,
>
> boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group,
> boost::optional<int> >, boost::signals2::slot1<std::bitset<32ul>, unsigned
> int, boost::function<std::bitset<32ul>(unsigned int)> >,
> boost::signals2::mutex> > >; typename
> boost::signals2::detail::group_key<Group>::type =
> std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int>
> >]':
> /usr/include/boost/signals2/detail/signal_template.hpp:420:15:   required
> from 'boost::signals2::detail::signal1_impl<R, T1, Combiner, Group,
> GroupCompare, SlotFunction, ExtendedSlotFunction,
> Mutex>::invocation_janitor::~invocation_janitor() [with R =
> std::bitset<32ul>; T1 = unsigned int; Combiner = comm_flags_bitwise_or;
> Group = int; GroupCompare = std::less<int>; SlotFunction =
> boost::function<std::bitset<32ul>(unsigned int)>; ExtendedSlotFunction =
> boost::function<std::bitset<32ul>(const boost::signals2::connection&,
> unsigned int)>; Mutex = boost::signals2::mutex]'
> /usr/include/boost/signals2/detail/signal_template.hpp:240:85:   required
> from 'boost::signals2::detail::signal1_impl<R, T1, Combiner, Group,
> GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::result_type
> boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare,
> SlotFunction, ExtendedSlotFunction, Mutex>::operator()(T1) [with R =
> std::bitset<32ul>; T1 = unsigned int; Combiner = comm_flags_bitwise_or;
> Group = int; GroupCompare = std::less<int>; SlotFunction =
> boost::function<std::bitset<32ul>(unsigned int)>; ExtendedSlotFunction =
> boost::function<std::bitset<32ul>(const boost::signals2::connection&,
> unsigned int)>; Mutex = boost::signals2::mutex;
> boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare,
> SlotFunction, ExtendedSlotFunction, Mutex>::result_type =
> std::bitset<32ul>]'
> /usr/include/boost/signals2/detail/signal_template.hpp:718:17:   required
> from 'boost::signals2::signal1<R, T1, Combiner, Group, GroupCompare,
> SlotFunction, ExtendedSlotFunction, Mutex>::result_type
> boost::signals2::signal1<R, T1, Combiner, Group, GroupCompare,
> SlotFunction, ExtendedSlotFunction, Mutex>::operator()(T1) [with R =
> std::bitset<32ul>; T1 = unsigned int; Combiner = comm_flags_bitwise_or;
> Group = int; GroupCompare = std::less<int>; SlotFunction =
> boost::function<std::bitset<32ul>(unsigned int)>; ExtendedSlotFunction =
> boost::function<std::bitset<32ul>(const boost::signals2::connection&,
> unsigned int)>; Mutex = boost::signals2::mutex; boost::signals2::signal1<R,
> T1, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction,
> Mutex>::result_type = std::bitset<32ul>]'
>
> /home/shirui/hoomd-blue/src/hoomd-blue/libhoomd/communication/Communicator.cc:1023:41:
>   required from here
> /usr/include/boost/signals2/detail/signal_template.hpp:502:9: internal
> compiler error: Segmentation fault
>          }
>          ^
>

It is indeed a gcc bug. File it upstream gcc bug tracker with all
information that allow developers to reproduce your problem.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux