[odb-users] odb 2.3.0 can't compile with gcc 4.9.0
Boris Kolpackov
boris at codesynthesis.com
Tue May 6 20:58:23 EDT 2014
Hi Miguel,
Miguel Revilla Rodríguez <yo at miguelrevilla.com> writes:
> 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
> validator.lo -MD -MP -MF .deps/validator.Tpo -c validator.cxx -fPIC -DPIC
> -o .libs/validator.o
> validator.cxx:1575:1: internal compiler error: in
> possible_polymorphic_call_targets, at ipa-devirt.c:1539
This looks like a bug in GCC 4.9.0. The two things that you would
want to do:
1. Submit the bug report to GCC.
2. Disable validation when building ODB. I built it without optimization
and haven't hit this issue which appears to in the inter-procedure
optimization (ipa) code.
Boris
More information about the odb-users
mailing list