Package: heaplayer
Version: 3.2.2-2
Severity: serious
Justification: fails to build from source

heaplayer failed to build on a sparc buildd, duplicated on my sparc pbuilder.
It also failed to build on other buildds.  


cd hoard;       g++ -Wall -fPIC -fmessage-length=0 -pipe -O3 
-finline-limit=65000 -fkeep-inline-functions -finline-functions -ffast-math 
-fomit-frame-pointer -DNDEBUG -I. -I../../heaplayers -D_REENTRANT=1 -shared 
-DUSE_HOARD -o ../allocators/libhoard.so libhoard.cpp
basehoardmanager.h: In instantiation of 
'BaseHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>':
hoardmanager.h:69:   instantiated from 
'HoardManager<AlignedSuperblockHeap<TheLockType, 8192u>, 
EmptyHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>, 
HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u, 8, TheLockType, 
bogusThresholdFunctionClass, ProcessHeap1>'
conformantheap.h:7:   instantiated from 
'ConformantHeap<HoardManager<AlignedSuperblockHeap<TheLockType, 8192u>, 
EmptyHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>, 
HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u, 8, TheLockType, 
bogusThresholdFunctionClass, ProcessHeap1> >'
hoard.h:98:   instantiated from here
basehoardmanager.h:14: warning: 'class 
BaseHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>' has 
virtual functions but non-virtual destructor
emptyhoardmanager.h: In instantiation of 
'EmptyHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>':
hoardmanager.h:398:   instantiated from 
'HoardManager<AlignedSuperblockHeap<TheLockType, 8192u>, 
EmptyHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>, 
HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u, 8, TheLockType, 
bogusThresholdFunctionClass, ProcessHeap1>'
conformantheap.h:7:   instantiated from 
'ConformantHeap<HoardManager<AlignedSuperblockHeap<TheLockType, 8192u>, 
EmptyHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>, 
HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u, 8, TheLockType, 
bogusThresholdFunctionClass, ProcessHeap1> >'
hoard.h:98:   instantiated from here
emptyhoardmanager.h:9: warning: 'class 
EmptyHoardManager<HoardSuperblock<TheLockType, 8192, ProcessHeap1>, 8192u>' has 
virtual functions but non-virtual destructor
basehoardmanager.h: In instantiation of 
'BaseHoardManager<HoardSuperblock<TheLockType, 8192, SmallHeap>, 8192u>':
hoardmanager.h:69:   instantiated from 
'HoardManager<AlignedSuperblockHeap<TheLockType, 8192u>, ProcessHeap, 
HoardSuperblock<TheLockType, 8192, SmallHeap>, 8192u, 8, TheLockType, 
hoardThresholdFunctionClass, SmallHeap>'
hoard.h:187:   instantiated from here
basehoardmanager.h:14: warning: 'class 
BaseHoardManager<HoardSuperblock<TheLockType, 8192, SmallHeap>, 8192u>' has 
virtual functions but non-virtual destructor
heapmanager.h: In constructor 'HeapManager<LockType, HeapType>::HeapManager()':
heapmanager.h:23: error: there are no arguments to 'setTidMap' that depend on a 
template parameter, so a declaration of 'setTidMap' must be available
heapmanager.h:23: error: (if you use '-fpermissive', G++ will accept your code, 
but allowing the use of an undeclared name is deprecated)
heapmanager.h:25: error: 'MaxHeaps' was not declared in this scope
heapmanager.h:26: error: there are no arguments to 'setInusemap' that depend on 
a template parameter, so a declaration of 'setInusemap' must be available
heapmanager.h: In member function 'void HeapManager<LockType, 
HeapType>::chooseZero()':
heapmanager.h:33: error: there are no arguments to 'setTidMap' that depend on a 
template parameter, so a declaration of 'setTidMap' must be available
heapmanager.h: In member function 'int HeapManager<LockType, 
HeapType>::findUnusedHeap()':
heapmanager.h:46: error: 'MaxHeaps' was not declared in this scope
heapmanager.h:46: error: there are no arguments to 'getInusemap' that depend on 
a template parameter, so a declaration of 'getInusemap' must be available
heapmanager.h:48: error: 'MaxHeaps' was not declared in this scope
heapmanager.h:54: error: there are no arguments to 'setInusemap' that depend on 
a template parameter, so a declaration of 'setInusemap' must be available
heapmanager.h:55: error: there are no arguments to 'setTidMap' that depend on a 
template parameter, so a declaration of 'setTidMap' must be available
heapmanager.h: In member function 'void HeapManager<LockType, 
HeapType>::releaseHeap()':
heapmanager.h:69: error: there are no arguments to 'getTidMap' that depend on a 
template parameter, so a declaration of 'getTidMap' must be available
heapmanager.h:71: error: there are no arguments to 'setInusemap' that depend on 
a template parameter, so a declaration of 'setInusemap' must be available
heapmanager.h:75: error: there are no arguments to 'getInusemap' that depend on 
a template parameter, so a declaration of 'getInusemap' must be available
heapmanager.h:76: error: there are no arguments to 'setInusemap' that depend on 
a template parameter, so a declaration of 'setInusemap' must be available
../../heaplayers/hybridheap.h: At global scope:
../../heaplayers/hybridheap.h: In instantiation of 'HL::HybridHeap<4008, 
ThreadPoolHeap<1024, 128, PerThreadHoardHeap>, BigHeap>':
../../heaplayers/ansiwrapper.h:21:   instantiated from 
'HL::ANSIWrapper<HL::HybridHeap<4008, ThreadPoolHeap<1024, 128, 
PerThreadHoardHeap>, BigHeap> >'
ignoreinvalidfree.h:13:   instantiated from 
'IgnoreInvalidFree<HL::ANSIWrapper<HL::HybridHeap<4008, ThreadPoolHeap<1024, 
128, PerThreadHoardHeap>, BigHeap> > >'
hoard.h:253:   instantiated from 'HoardHeap<1024, 128>'
heapmanager.h:13:   instantiated from 'HeapManager<TheLockType, HoardHeap<1024, 
128> >'
libhoard.cpp:82:   instantiated from here
../../heaplayers/hybridheap.h:26: warning: comparison between 'enum 
RedirectFree<LockMallocHeap<SmallHeap>, HoardSuperblock<TheLockType, 8192, 
SmallHeap>, 8192u>::<anonymous>' and 'enum 
AddHeaderHeap<HoardSuperblock<TheLockType, 8192, BigHeapSuper>, 8192u, 
AlignedMmap<8192u, HL::MmapHeap> >::<anonymous>'
../../heaplayers/hybridheap.h:26: warning: enumeral mismatch in conditional 
expression: 'RedirectFree<LockMallocHeap<SmallHeap>, 
HoardSuperblock<TheLockType, 8192, SmallHeap>, 8192u>::<anonymous enum>' vs 
'AddHeaderHeap<HoardSuperblock<TheLockType, 8192, BigHeapSuper>, 8192u, 
AlignedMmap<8192u, HL::MmapHeap> >::<anonymous enum>'
libhoard.cpp: In function 'void* startMeUp(void*)':
libhoard.cpp:399: warning: unused variable 'tl'
libhoard.cpp: In function 'int pthread_create(pthread_t*, const 
pthread_attr_t*, void* (*)(void*), void*)':
libhoard.cpp:439: warning: unused variable 't'
tlab.h: In constructor 'ThreadLocalAllocationBuffer<NumBins, getSizeClass, 
getClassSize, LocalHeapThreshold, SuperblockType, SuperblockSize, 
ParentHeap>::ThreadLocalAllocationBuffer(ParentHeap*) [with int NumBins = 32, 
int (* getSizeClass)(size_t) = HL::bins<Header, 8192>::getSizeClass [with 
Header = NoHeader], size_t (* getClassSize)(int) = HL::bins<Header, 
8192>::getClassSize [with Header = NoHeader], int LocalHeapThreshold = 65536, 
SuperblockType = HoardSuperblock<TheLockType, 8192, SmallHeap>, int 
SuperblockSize = 8192, ParentHeap = PerThreadHoardHeap]':
libhoard.cpp:155:   instantiated from here
tlab.h:131: warning: 'ThreadLocalAllocationBuffer<32, HL::bins<Header, 
8192>::getSizeClass [with Header = NoHeader], HL::bins<Header, 
8192>::getClassSize [with Header = NoHeader], 65536, 
HoardSuperblock<TheLockType, 8192, SmallHeap>, 8192, 
PerThreadHoardHeap>::_localHeapBytes' will be initialized after
tlab.h:128: warning:   'PerThreadHoardHeap* ThreadLocalAllocationBuffer<32, 
HL::bins<Header, 8192>::getSizeClass [with Header = NoHeader], HL::bins<Header, 
8192>::getClassSize [with Header = NoHeader], 65536, 
HoardSuperblock<TheLockType, 8192, SmallHeap>, 8192, 
PerThreadHoardHeap>::_parentHeap'
tlab.h:27: warning:   when initialized here
superblockheader.h: In member function 'int 
SuperblockHeader<H>::isValidSuperblock() const [with H = 
AddLockSuperblockHeader<TheLockType, NoHeader, 8192u, 
HoardSuperblock<TheLockType, 8192, SmallHeap>, SmallHeap>]':
ignoreinvalidfree.h:24:   instantiated from 'size_t 
IgnoreInvalidFree<S>::getSize(void*) [with S = 
HL::ANSIWrapper<HL::HybridHeap<4008, ThreadPoolHeap<1024, 128, 
PerThreadHoardHeap>, BigHeap> >]'
libhoard.cpp:194:   instantiated from here
superblockheader.h:92: warning: comparison between signed and unsigned integer 
expressions
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:
 In member function 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::destroy_node(std::_Rb_tree_node<_Val>*) [with _Key = const void*, _Val 
= std::pair<const void* const, size_t>, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, size_t> >, _Compare = 
HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const void*, 
size_t> >]':
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:994:
   instantiated from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::erase(std::_Rb_tree_iterator<_Val>) [with _Key = const void*, _Val = 
std::pair<const void* const, size_t>, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, size_t> >, _Compare = 
HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const void*, 
size_t> >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:410:
   instantiated from 'void std::map<_Key, _Tp, _Compare, 
_Alloc>::erase(typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, 
std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator) 
[with _Key = const void*, _Tp = size_t, _Compare = HL::MmapHeap::MyLess, _Alloc 
= HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> >]'
../../heaplayers/mmapheap.h:206:   instantiated from here
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:389:
 error: no matching function for call to 
'HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> 
>::destroy(std::pair<const void* const, size_t>*)'
../../heaplayers/stlallocator.h:100: note: candidates are: void 
HL::STLAllocator<T, SuperHeap>::destroy(T*) [with T = std::pair<const void*, 
size_t>, SuperHeap = HL::MmapHeap::MyHeap]
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:
 In member function 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::destroy_node(std::_Rb_tree_node<_Val>*) [with _Key = const void*, _Val 
= std::pair<const void* const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]':
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:1057:
   instantiated from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = const void*, _Val = 
std::pair<const void* const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:570:
   instantiated from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::~_Rb_tree() [with _Key = const void*, _Val = std::pair<const void* 
const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:92:
   instantiated from here
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:389:
 error: no matching function for call to 'AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>::destroy(std::pair<const void* const, std::pair<void*, size_t> >*)'
../../heaplayers/stlallocator.h:100: note: candidates are: void 
HL::STLAllocator<T, SuperHeap>::destroy(T*) [with T = std::pair<const void*, 
std::pair<void*, size_t> >, SuperHeap = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::SourceHeap]
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:
 In member function '_Alloc std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::get_allocator() const [with _Key = const void*, _Val = std::pair<const 
void* const, size_t>, _KeyOfValue = std::_Select1st<std::pair<const void* 
const, size_t> >, _Compare = HL::MmapHeap::MyLess, _Alloc = 
HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> >]':
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:389:
   instantiated from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::destroy_node(std::_Rb_tree_node<_Val>*) [with _Key = const void*, _Val 
= std::pair<const void* const, size_t>, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, size_t> >, _Compare = 
HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const void*, 
size_t> >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:994:
   instantiated from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::erase(std::_Rb_tree_iterator<_Val>) [with _Key = const void*, _Val = 
std::pair<const void* const, size_t>, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, size_t> >, _Compare = 
HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const void*, 
size_t> >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:410:
   instantiated from 'void std::map<_Key, _Tp, _Compare, 
_Alloc>::erase(typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, 
std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator) 
[with _Key = const void*, _Tp = size_t, _Compare = HL::MmapHeap::MyLess, _Alloc 
= HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> >]'
../../heaplayers/mmapheap.h:206:   instantiated from here
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:351:
 error: conversion from 'const 
HL::STLAllocator<std::_Rb_tree_node<std::pair<const void* const, size_t> >, 
HL::MmapHeap::MyHeap>' to non-scalar type 
'HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> >' requested
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:
 In member function '_Alloc std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::get_allocator() const [with _Key = const void*, _Val = std::pair<const 
void* const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]':
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:389:
   instantiated from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::destroy_node(std::_Rb_tree_node<_Val>*) [with _Key = const void*, _Val 
= std::pair<const void* const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:1057:
   instantiated from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = const void*, _Val = 
std::pair<const void* const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:570:
   instantiated from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::~_Rb_tree() [with _Key = const void*, _Val = std::pair<const void* 
const, std::pair<void*, size_t> >, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, std::pair<void*, size_t> > >, 
_Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:92:
   instantiated from here
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:351:
 error: conversion from 'const 
HL::STLAllocator<std::_Rb_tree_node<std::pair<const void* const, 
std::pair<void*, size_t> > >, AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::SourceHeap>' to non-scalar type 'AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>' requested
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:
 In member function 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, 
_KeyOfValue, _Compare, _Alloc>::_M_create_node(const _Val&) [with _Key = const 
void*, _Val = std::pair<const void* const, size_t>, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, size_t> >, _Compare = 
HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const void*, 
size_t> >]':
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:793:
   instantiated from 'typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, const 
_Val&) [with _Key = const void*, _Val = std::pair<const void* const, size_t>, 
_KeyOfValue = std::_Select1st<std::pair<const void* const, size_t> >, _Compare 
= HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const 
void*, size_t> >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:902:
   instantiated from 'typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::insert_unique(std::_Rb_tree_iterator<_Val>, const _Val&) [with _Key = 
const void*, _Val = std::pair<const void* const, size_t>, _KeyOfValue = 
std::_Select1st<std::pair<const void* const, size_t> >, _Compare = 
HL::MmapHeap::MyLess, _Alloc = HL::MmapHeap::MyAllocator<std::pair<const void*, 
size_t> >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:384:
   instantiated from 'typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, 
std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator 
std::map<_Key, _Tp, _Compare, _Alloc>::insert(typename std::_Rb_tree<_Key, 
std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, 
_Compare, _Alloc>::iterator, const std::pair<const _Key, _Tp>&) [with _Key = 
const void*, _Tp = size_t, _Compare = HL::MmapHeap::MyLess, _Alloc = 
HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:339:
   instantiated from '_Tp& std::map<_Key, _Tp, _Compare, 
_Alloc>::operator[](const _Key&) [with _Key = const void*, _Tp = size_t, 
_Compare = HL::MmapHeap::MyLess, _Alloc = 
HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> >]'
../../heaplayers/mmapheap.h:182:   instantiated from here
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:367:
 error: no matching function for call to 
'HL::MmapHeap::MyAllocator<std::pair<const void*, size_t> 
>::construct(std::pair<const void* const, size_t>*, const std::pair<const void* 
const, size_t>&)'
../../heaplayers/stlallocator.h:99: note: candidates are: void 
HL::STLAllocator<T, SuperHeap>::construct(T*, const T&) [with T = 
std::pair<const void*, size_t>, SuperHeap = HL::MmapHeap::MyHeap]
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:
 In member function 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, 
_KeyOfValue, _Compare, _Alloc>::_M_create_node(const _Val&) [with _Key = const 
void*, _Val = std::pair<const void* const, std::pair<void*, size_t> >, 
_KeyOfValue = std::_Select1st<std::pair<const void* const, std::pair<void*, 
size_t> > >, _Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, 
_Alloc = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>]':
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:793:
   instantiated from 'typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, const 
_Val&) [with _Key = const void*, _Val = std::pair<const void* const, 
std::pair<void*, size_t> >, _KeyOfValue = std::_Select1st<std::pair<const void* 
const, std::pair<void*, size_t> > >, _Compare = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyLess2, _Alloc = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:902:
   instantiated from 'typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::insert_unique(std::_Rb_tree_iterator<_Val>, const _Val&) [with _Key = 
const void*, _Val = std::pair<const void* const, std::pair<void*, size_t> >, 
_KeyOfValue = std::_Select1st<std::pair<const void* const, std::pair<void*, 
size_t> > >, _Compare = AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, 
_Alloc = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:384:
   instantiated from 'typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, 
std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::iterator 
std::map<_Key, _Tp, _Compare, _Alloc>::insert(typename std::_Rb_tree<_Key, 
std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, 
_Compare, _Alloc>::iterator, const std::pair<const _Key, _Tp>&) [with _Key = 
const void*, _Tp = std::pair<void*, size_t>, _Compare = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyLess2, _Alloc = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::MyAllocator2<std::pair<const 
void*, std::pair<void*, size_t> > >]'
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_map.h:339:
   instantiated from '_Tp& std::map<_Key, _Tp, _Compare, 
_Alloc>::operator[](const _Key&) [with _Key = const void*, _Tp = 
std::pair<void*, size_t>, _Compare = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyLess2, _Alloc = AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>]'
alignedmmap.h:67:   instantiated from 'void* AlignedMmapHelper<false, 
Alignment_, SuperHeap>::malloc(size_t) [with unsigned int Alignment_ = 8192u, 
SuperHeap = HL::MmapHeap]'
addheaderheap.h:27:   instantiated from 'void* AddHeaderHeap<SuperblockType, 
SuperblockSize, SuperHeap>::malloc(size_t) [with SuperblockType = 
HoardSuperblock<TheLockType, 8192, BigHeapSuper>, unsigned int SuperblockSize = 
8192u, SuperHeap = AlignedMmap<8192u, HL::MmapHeap>]'
../../heaplayers/lockedheap.h:40:   instantiated from 'void* 
HL::LockedHeap<LockType, Super>::malloc(size_t) [with LockType = TheLockType, 
Super = BigHeapSuper]'
hoard.h:232:   instantiated from here
/usr/lib/gcc/sparc-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_tree.h:367:
 error: no matching function for call to 'AlignedMmapHelper<false, 8192u, 
HL::MmapHeap>::MyAllocator2<std::pair<const void*, std::pair<void*, size_t> > 
>::construct(std::pair<const void* const, std::pair<void*, size_t> >*, const 
std::pair<const void* const, std::pair<void*, size_t> >&)'
../../heaplayers/stlallocator.h:99: note: candidates are: void 
HL::STLAllocator<T, SuperHeap>::construct(T*, const T&) [with T = 
std::pair<const void*, std::pair<void*, size_t> >, SuperHeap = 
AlignedMmapHelper<false, 8192u, HL::MmapHeap>::SourceHeap]
superblock.h: In constructor 'Superblock<H, SuperblockSize>::Superblock(size_t) 
[with H = AddLockSuperblockHeader<TheLockType, NoHeader, 8192u, 
HoardSuperblock<TheLockType, 8192, SmallHeap>, SmallHeap>, int SuperblockSize = 
8192]':
hoardsuperblock.h:24:   instantiated from 'HoardSuperblock<TheLockType, 
SuperblockSize, HeapType_>::HoardSuperblock(size_t) [with TheLockType = 
TheLockType, int SuperblockSize = 8192, HeapType_ = SmallHeap]'
hoardmanager.h:335:   instantiated from 'void* HoardManager<SourceHeap, 
ParentHeap, SuperblockType_, SuperblockSize, EmptinessClasses, LockType, 
thresholdFunctionClass, HeapType>::getAnotherSuperblock(size_t) [with 
SourceHeap = AlignedSuperblockHeap<TheLockType, 8192u>, ParentHeap = 
ProcessHeap, SuperblockType_ = HoardSuperblock<TheLockType, 8192, SmallHeap>, 
unsigned int SuperblockSize = 8192u, int EmptinessClasses = 8, LockType = 
TheLockType, thresholdFunctionClass = hoardThresholdFunctionClass, HeapType = 
SmallHeap]'
hoardmanager.h:276:   instantiated from 'void* HoardManager<SourceHeap, 
ParentHeap, SuperblockType_, SuperblockSize, EmptinessClasses, LockType, 
thresholdFunctionClass, HeapType>::slowPathMalloc(size_t) [with SourceHeap = 
AlignedSuperblockHeap<TheLockType, 8192u>, ParentHeap = ProcessHeap, 
SuperblockType_ = HoardSuperblock<TheLockType, 8192, SmallHeap>, unsigned int 
SuperblockSize = 8192u, int EmptinessClasses = 8, LockType = TheLockType, 
thresholdFunctionClass = hoardThresholdFunctionClass, HeapType = SmallHeap]'
hoardmanager.h:114:   instantiated from 'void* HoardManager<SourceHeap, 
ParentHeap, SuperblockType_, SuperblockSize, EmptinessClasses, LockType, 
thresholdFunctionClass, HeapType>::malloc(size_t) [with SourceHeap = 
AlignedSuperblockHeap<TheLockType, 8192u>, ParentHeap = ProcessHeap, 
SuperblockType_ = HoardSuperblock<TheLockType, 8192, SmallHeap>, unsigned int 
SuperblockSize = 8192u, int EmptinessClasses = 8, LockType = TheLockType, 
thresholdFunctionClass = hoardThresholdFunctionClass, HeapType = SmallHeap]'
lockmallocheap.h:16:   instantiated from 'void* 
LockMallocHeap<Heap>::malloc(size_t) [with Heap = SmallHeap]'
redirectfree.h:50:   instantiated from 'void* RedirectFree<Heap, 
SuperblockType_, SuperblockSize>::malloc(size_t) [with Heap = 
LockMallocHeap<SmallHeap>, SuperblockType_ = HoardSuperblock<TheLockType, 8192, 
SmallHeap>, unsigned int SuperblockSize = 8192u]'
tlab.h:43:   instantiated from 'void* ThreadLocalAllocationBuffer<NumBins, 
getSizeClass, getClassSize, LocalHeapThreshold, SuperblockType, SuperblockSize, 
ParentHeap>::malloc(size_t) [with int NumBins = 32, int (* 
getSizeClass)(size_t) = HL::bins<Header, 8192>::getSizeClass [with Header = 
NoHeader], size_t (* getClassSize)(int) = HL::bins<Header, 8192>::getClassSize 
[with Header = NoHeader], int LocalHeapThreshold = 65536, SuperblockType = 
HoardSuperblock<TheLockType, 8192, SmallHeap>, int SuperblockSize = 8192, 
ParentHeap = PerThreadHoardHeap]'
libhoard.cpp:176:   instantiated from here
superblock.h:30: warning: unused variable 'verifyHeaderAligned'
superblock.h:33: warning: unused variable 'verifySize'
basehoardmanager.h: At global scope:
basehoardmanager.h:32: warning: inline function 'void 
BaseHoardManager<SuperblockType_, SuperblockSize>::lock() [with SuperblockType_ 
= HoardSuperblock<TheLockType, 8192, SmallHeap>, unsigned int SuperblockSize = 
8192u]' used but never defined
basehoardmanager.h:29: warning: inline function 'void 
BaseHoardManager<SuperblockType_, SuperblockSize>::free(void*) [with 
SuperblockType_ = HoardSuperblock<TheLockType, 8192, SmallHeap>, unsigned int 
SuperblockSize = 8192u]' used but never defined
basehoardmanager.h:35: warning: inline function 'void 
BaseHoardManager<SuperblockType_, SuperblockSize>::unlock() [with 
SuperblockType_ = HoardSuperblock<TheLockType, 8192, SmallHeap>, unsigned int 
SuperblockSize = 8192u]' used but never defined
libhoard.cpp: In function 'void pthread_exit(void*)':
libhoard.cpp:530: warning: 'noreturn' function does return
make[1]: *** [allocators] Error 1


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to