[odb-users] odb 2.3.0 can't compile with gcc 4.9.0

Miguel Revilla Rodríguez yo at miguelrevilla.com
Tue May 6 21:04:16 EDT 2014


Hi again,

I just found that the bug is already reported and scheduled for fix in
4.9.1.

Thanks for your help,

Miguel


2014-05-07 2:58 GMT+02:00 Boris Kolpackov <boris at codesynthesis.com>:

> 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