Package: freehdl
Version: 0.0.4-1
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 freehdl_0.0.4-1 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"freehdl\" 
> -DPACKAGE_TARNAME=\"freehdl\" -DPACKAGE_VERSION=\"0.0.4\" 
> "-DPACKAGE_STRING=\"freehdl 0.0.4\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 
> -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_GETOPT_H=1 
> -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 
> -DHAVE_SOCKET=1 -I. -I. -I.. -I.. -g -O2 -MT libfreehdl_kernel_la-error.lo 
> -MD -MP -MF .deps/libfreehdl_kernel_la-error.Tpo -c error.cc  -fPIC -DPIC -o 
> .libs/libfreehdl_kernel_la-error.o
> In file included from 
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/ext/hash_map:64,
>                  from ../freehdl/kernel-util.hh:13,
>                  from ../freehdl/kernel-db.hh:80,
>                  from ../freehdl/std-vhdl-types.hh:2218,
>                  from error.cc:4:
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2:
>  warning: #warning This file includes at least one deprecated or antiquated 
> header. Please consider use of an equivalent, non-deprecated interface for 
> the requested functionality. A list of valid replacements is as follows: Use: 
> Instead of: <sstream>, basic_stringbuf <strstream>, strstreambuf <sstream>, 
> basic_istringstream <strstream>, istrstream <sstream>, basic_ostringstream 
> <strstream>, ostrstream <sstream>, basic_stringstream <strstream>, strstream 
> <unordered_set>, unordered_set <ext/hash_set>, hash_set <unordered_set>, 
> unordered_multiset <ext/hash_set>, hash_multiset <unordered_map>, 
> unordered_map <ext/hash_set>, hash_map <unordered_map>, unordered_multimap 
> <ext/hash_set>, hash_multimap <functional>, bind <functional>, binder1st 
> <functional>, bind <functional>, binder2nd <functional>, bind <functional>, 
> bind1st <functional>, bind <functional>, bind2nd <memory>, unique_ptr 
> <memory>, auto_ptr To disable this warning use -Wno-deprecated.
> In file included from ../freehdl/std-vhdl-types.hh:6,
>                  from error.cc:4:
> ../freehdl/kernel-acl.hh: In member function 'acl& acl::operator=(const 
> acl&)':
> ../freehdl/kernel-acl.hh:133: error: 'memcpy' was not declared in this scope
> In file included from error.cc:4:
> ../freehdl/std-vhdl-types.hh: In member function 'buffer_stream& 
> buffer_stream::binary_write(const void*, int)':
> ../freehdl/std-vhdl-types.hh:56: error: 'memcpy' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh: In member function 'buffer_stream& 
> buffer_stream::operator<<(const char*)':
> ../freehdl/std-vhdl-types.hh:63: error: 'strlen' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh:66: error: 'strcpy' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh: In member function 'buffer_stream& 
> buffer_stream::operator<<(int)':
> ../freehdl/std-vhdl-types.hh:110: error: 'strcpy' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh: In member function 'buffer_stream& 
> buffer_stream::operator<<(lint)':
> ../freehdl/std-vhdl-types.hh:145: error: 'strcpy' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh: In function 'int do_case_select(int, int, 
> unsigned int, const unsigned int*, const unsigned int*, const int*, const 
> enumeration**, const int*)':
> ../freehdl/std-vhdl-types.hh:478: error: 'memcmp' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh: In member function 'record_info& 
> record_info::set(int, int, char**, void* (*)(void*, int), int)':
> ../freehdl/std-vhdl-types.hh:1003: error: 'memset' was not declared in this 
> scope
> ../freehdl/std-vhdl-types.hh: In constructor 
> 'array_type<E>::array_type(array_info*, const E*)':
> ../freehdl/std-vhdl-types.hh:1582: error: there are no arguments to 'memset' 
> that depend on a template parameter, so a declaration of 'memset' must be 
> available
> ../freehdl/std-vhdl-types.hh:1582: error: (if you use '-fpermissive', G++ 
> will accept your code, but allowing the use of an undeclared name is 
> deprecated)
> ../freehdl/std-vhdl-types.hh: In constructor 
> 'array_type<E>::array_type(array_info*, const E&)':
> ../freehdl/std-vhdl-types.hh:1610: error: there are no arguments to 'memset' 
> that depend on a template parameter, so a declaration of 'memset' must be 
> available
> ../freehdl/std-vhdl-types.hh: In member function 'array_type<E>& 
> array_type<E>::init(type_info_interface*, const void*)':
> ../freehdl/std-vhdl-types.hh:1680: error: there are no arguments to 'memset' 
> that depend on a template parameter, so a declaration of 'memset' must be 
> available
> ../freehdl/std-vhdl-types.hh:1692: error: there are no arguments to 'memset' 
> that depend on a template parameter, so a declaration of 'memset' must be 
> available
> ../freehdl/std-vhdl-types.hh: In member function 'array_type<E>& 
> array_type<E>::init(type_info_interface*)':
> ../freehdl/std-vhdl-types.hh:1736: error: there are no arguments to 'memset' 
> that depend on a template parameter, so a declaration of 'memset' must be 
> available
> ../freehdl/std-vhdl-types.hh: In member function 'array_type<E>& 
> array_type<E>::init(type_info_interface*, const E&)':
> ../freehdl/std-vhdl-types.hh:1767: error: there are no arguments to 'memset' 
> that depend on a template parameter, so a declaration of 'memset' must be 
> available

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


Reply via email to