[odb-users] odb-2.4.0 fails to compile with internal compiler error

Timo Rothenpieler timo at rothenpieler.org
Wed Feb 11 08:10:34 EST 2015


I updated the Gentoo odb overlay to the new 2.4.0 release.

While testing, i got the following error while building odb:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. 
-I/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/plugin/include -O2 -pipe 
-march=native -c 
-fPIC -DPIC -o .libs/validator.o
internal compiler error: in possible_polymorphic_call_targets, at 

A full buildlog is available here:


I am using gcc 4.9.2, installed via portage.
I was able to track this down to the -O2 option. Building with -O1 or 
without an -O option works fine.
Building with -O2 (even without -pipe and -march=native) makes it fail 
with above error.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150211/265786c6/signature.pgp

More information about the odb-users mailing list