Package: tbb
Version: 2.0r014-3
Severity: important
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://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of tbb_2.0r014-3 on em64t by sbuild/amd64 0.53
...
> g++  -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fPIC  -I../../src/tbb 
> -I../../include -I../../src ../../src/tbb/concurrent_queue.cpp
> g++  -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fPIC  -I../../src/tbb 
> -I../../include -I../../src ../../src/tbb/concurrent_vector.cpp
> ../../src/tbb/concurrent_vector.cpp: In static member function 'static void 
> tbb::internal::concurrent_vector_base::helper::extend_segment(tbb::internal::concurrent_vector_base&)':
> ../../src/tbb/concurrent_vector.cpp:76: error: 'memset' was not declared in 
> this scope
> make[2]: *** [concurrent_vector.o] Error 1
> make[2]: Leaving directory 
> `/build/tbm/tbb-2.0r014/build/linux_em64t_gcc_cc4.3.0_libc2.7_kernel2.6.22_release'
> make[1]: *** [tbb_release] Error 2
> make[1]: Leaving directory `/build/tbm/tbb-2.0r014'
> make: *** [build-stamp] Error 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