Package: google-perftools
Version: 0.8-5
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.


> Automatic build of google-perftools_0.8-5 on em64t by sbuild/amd64 0.53
...
> g++ -g -Wall -O2 -o .libs/heap-profiler_unittest -g -pthread 
> heap_profiler_unittest-heap-profiler_unittest.o  ./.libs/libtcmalloc.so 
> /build/tbm/google-perftools-0.8/.libs/libstacktrace.so 
> /usr/lib/gcc-snapshot/lib/../lib64/libstdc++.so -Wl,--rpath -Wl,/usr/lib 
> -Wl,--rpath -Wl,/usr/lib/gcc-snapshot/lib/../lib64
> creating heap-profiler_unittest
> g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -g -pthread -g -Wall -O2 -c -o 
> heap_checker_unittest-heap-checker_unittest.o `test -f 
> 'src/tests/heap-checker_unittest.cc' || echo 
> './'`src/tests/heap-checker_unittest.cc
> src/tests/heap-checker_unittest.cc: In function 'void* operator new(size_t, 
> const Initialized&)':
> src/tests/heap-checker_unittest.cc:176: error: 'memset' was not declared in 
> this scope
> src/tests/heap-checker_unittest.cc: In function 'void* operator new 
> [](size_t, const Initialized&)':
> src/tests/heap-checker_unittest.cc:181: error: 'memset' was not declared in 
> this scope
> src/tests/heap-checker_unittest.cc: In function 'void 
> CheckLeak(HeapLeakChecker*, size_t, size_t)':
> src/tests/heap-checker_unittest.cc:191: warning: comparison between signed 
> and unsigned integer expressions
> src/tests/heap-checker_unittest.cc:192: warning: comparison between signed 
> and unsigned integer expressions
> src/tests/heap-checker_unittest.cc: In function 'void TestSTLAllocInverse()':
> src/tests/heap-checker_unittest.cc:623: warning: comparison between signed 
> and unsigned integer expressions
> src/tests/heap-checker_unittest.cc: In function 'void TestLibCAllocate()':
> src/tests/heap-checker_unittest.cc:680: error: 'strerror' was not declared in 
> this scope
> src/tests/heap-checker_unittest.cc: In function 'int main(int, char**)':
> src/tests/heap-checker_unittest.cc:1130: warning: unused variable 
> 'start_address'
> src/tests/heap-checker_unittest.cc: At global scope:
> src/tests/heap-checker_unittest.cc:933: warning: 'live_leak4' defined but not 
> used
> src/tests/heap-checker_unittest.cc:937: warning: 'live_leak_arr1' defined but 
> not used
> make[1]: *** [heap_checker_unittest-heap-checker_unittest.o] Error 1
> make[1]: Leaving directory `/build/tbm/google-perftools-0.8'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2

-- 
Martin Michlmayr
http://www.cyrius.com/



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

Reply via email to