This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STL mt_allocator crash in global construcutor


On 07/12/05, Neil Bird <neil@fnxweb.com> wrote:
> Around about 07/12/05 10:22, Jonathan Wakely typed ...
> > The configure script in the FC4 SRPM defaults to "mt" for GNU systems
> > and "new" for all others, so you don't need to provide any configure
> > option.
>
>    For these testing purposes, I'm not using the SRPM.  I'll have another
> rummage in there though;  at first glance I can't see at 'mt' or 'any' refs.
> in the .spec., nor a customised configure.
>
>    What am I missing?

the relevant part of libstdc++-v3/configure, which says

  # Probe for host-specific support if no specific model is specified.
  # Default to "new".
  if test $enable_libstdcxx_allocator_flag = auto; then
    case ${target_os} in
      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
        enable_libstdcxx_allocator_flag=mt
        ;;
      *)
        enable_libstdcxx_allocator_flag=new
        ;;
    esac
  fi

That's different to the file in the FSF repository.

jon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]