Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 02:22:10 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456076 - head/devel/breakpad
Message-ID:  <201712120222.vBC2MA3a083310@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Dec 12 02:22:10 2017
New Revision: 456076
URL: https://svnweb.freebsd.org/changeset/ports/456076

Log:
  devel/breakpad: require C++11 toolchain (on powerpc*, mips*, sparc*)
  
  checking whether /nxb-bin/usr/bin/c++ supports C++11 features by default... no
  checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -std=c++11... no
  checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -std=c++0x... no
  checking whether /nxb-bin/usr/bin/c++ supports C++11 features with +std=c++11... no
  checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -h std=c++11... no
  configure: error: *** A compiler with support for C++11 language features is required.
  
  In file included from src/processor/basic_code_modules.cc:46:
  ./src/processor/range_map-inl.h:132:14: error: no matching member function for call to 'erase'
          map_.erase(iterator_high);
          ~~~~~^~~~~
  ./src/processor/range_map-inl.h:64:10: note: in instantiation of member function
        'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::StoreRangeInternal' requested here
    return StoreRangeInternal(base, 0 /* delta */, size, entry);
           ^
  src/processor/basic_code_modules.cc:71:15: note: in instantiation of member function
        'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::StoreRange' requested here
      if (!map_.StoreRange(module->base_address(), module->size(), module)) {
                ^
  /usr/include/c++/4.2/bits/stl_map.h:453:7: note: candidate function not viable: no known conversion
        from 'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::MapConstIterator' (aka '_Rb_tree_const_iterator<std::pair<const
        unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range> >') to 'std::map<unsigned long,
        google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range, std::less<unsigned long>, std::allocator<std::pair<const
        unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range> > >::iterator' (aka '_Rb_tree_iterator<std::pair<const
        unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range> >') for 1st argument
        erase(iterator __position)
        ^
  /usr/include/c++/4.2/bits/stl_map.h:468:7: note: candidate function not viable: no known conversion
        from 'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::MapConstIterator' (aka '_Rb_tree_const_iterator<std::pair<const
        unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range> >') to 'const std::map<unsigned long,
        google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range, std::less<unsigned long>, std::allocator<std::pair<const
        unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
        google_breakpad::CodeModule> >::Range> > >::key_type' (aka 'const unsigned long') for 1st
        argument
        erase(const key_type& __x)
        ^
  /usr/include/c++/4.2/bits/stl_map.h:483:7: note: candidate function not viable: requires 2 arguments,
        but 1 was provided
        erase(iterator __first, iterator __last)
        ^
  1 error generated.
  
  Reported by:	pkg-fallout (mips64)

Modified:
  head/devel/breakpad/Makefile   (contents, props changed)

Modified: head/devel/breakpad/Makefile
==============================================================================
--- head/devel/breakpad/Makefile	Tue Dec 12 02:16:08 2017	(r456075)
+++ head/devel/breakpad/Makefile	Tue Dec 12 02:22:10 2017	(r456076)
@@ -11,7 +11,7 @@ COMMENT=	Client/server based crash-reporting system
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	autoreconf
+USES=		autoreconf compiler:c++11-lib
 GNU_CONFIGURE=	yes
 
 USE_GITHUB=	yes



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