[odb-users] odb 2.3.0 can't compile with gcc 4.9.0
Miguel Revilla Rodríguez
yo at miguelrevilla.com
Mon May 5 06:01:03 EDT 2014
Hi,
My distro has updated gcc to 4.9.0 and odb has stopped both working and
compiling. We probably need a new release here. Anyway, thanks for the
great work.
Regards
The compile errors:
libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I.. -D_FORTIFY_SOURCE=2
-I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT
common.lo -MD -MP -MF .deps/common.Tpo -c common.cxx -fPIC -DPIC -o
.libs/common.o
In file included from ../odb/gcc-fwd.hxx:10:0,
from ../odb/gcc.hxx:8,
from cxx-lexer.cxx:5:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include/coretypes.h:46:9:
error: 'HOST_WIDEST_INT' does not name a type
typedef HOST_WIDEST_INT gcov_type;
^
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include/coretypes.h:47:34:
error: expected initializer before 'gcov_type_unsigned'
typedef unsigned HOST_WIDEST_INT gcov_type_unsigned;
^
cxx-lexer.cxx: In member function 'virtual cpp_ttype
cxx_string_lexer::next(std::string&, tree_node**)':
cxx-lexer.cxx:266:36: error: 'get_identifier' was not declared in this scope
tree id (get_identifier (name));
^
Makefile:947: recipe for target 'cxx-lexer.lo' failed
make[2]: *** [cxx-lexer.lo] Error 1
make[2]: *** Se espera a que terminen otras tareas....
In file included from ../odb/gcc-fwd.hxx:10:0,
from ../odb/gcc.hxx:8,
from context.cxx:5:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include/coretypes.h:46:9:
error: 'HOST_WIDEST_INT' does not name a type
typedef HOST_WIDEST_INT gcov_type;
^
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include/coretypes.h:47:34:
error: expected initializer before 'gcov_type_unsigned'
typedef unsigned HOST_WIDEST_INT gcov_type_unsigned;
^
In file included from ../odb/gcc-fwd.hxx:10:0,
from ../odb/context.hxx:8,
from ../odb/common.hxx:13,
from common.cxx:5:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include/coretypes.h:46:9:
error: 'HOST_WIDEST_INT' does not name a type
typedef HOST_WIDEST_INT gcov_type;
^
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/plugin/include/coretypes.h:47:34:
error: expected initializer before 'gcov_type_unsigned'
typedef unsigned HOST_WIDEST_INT gcov_type_unsigned;
^
Makefile:947: recipe for target 'common.lo' failed
make[2]: *** [common.lo] Error 1
Makefile:947: recipe for target 'context.lo' failed
make[2]: *** [context.lo] Error 1
make[2]: Leaving directory
'/home/tmp/yaourt-tmp-root/aur-odb/src/odb-2.3.0/odb'
Makefile:426: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/tmp/yaourt-tmp-root/aur-odb/src/odb-2.3.0/odb'
Makefile:373: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
More information about the odb-users
mailing list