|
glibc 太旧了,没得搞。。。
CXX(target) out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/tcmalloc.o
third_party/tcmalloc/chromium/src/tcmalloc.cc:379: error: conflicting declaration 'void* (* volatile __malloc_hook)(size_t, const void*)'
/usr/include/malloc.h:165: error: '__malloc_hook' has a previous declaration as 'void* (* __malloc_hook)(size_t, const void*)'
third_party/tcmalloc/chromium/src/tcmalloc.cc:387: error: conflicting declaration 'void* (* volatile __realloc_hook)(void*, size_t, const void*)'
/usr/include/malloc.h:167: error: '__realloc_hook' has a previous declaration as 'void* (* __realloc_hook)(void*, size_t, const void*)'
third_party/tcmalloc/chromium/src/tcmalloc.cc:393: error: conflicting declaration 'void (* volatile __free_hook)(void*, const void*)'
/usr/include/malloc.h:163: error: '__free_hook' has a previous declaration as 'void (* __free_hook)(void*, const void*)'
third_party/tcmalloc/chromium/src/tcmalloc.cc:1587: error: conflicting declaration 'void* (* volatile __memalign_hook)(size_t, size_t, const void*)'
/usr/include/malloc.h:169: error: '__memalign_hook' has a previous declaration as 'void* (* __memalign_hook)(size_t, size_t, const void*)'
make: *** [out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/tcmalloc.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.EWi874 (%build) |
|