[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 20:48:48 EDT 2014


Hi Boris,

Thanks for the patch. Now I'm getting this, but I'm not really sure if it
is related to your code (this is the second try to compile, hence a lot of
compiler output is not here, just the error):

# make -j1
Making all in odb
make[1]: Entering directory
'/usr/local/install/packages/aur/odb/src/odb-2.3.0/odb'
make  all-am
make[2]: Entering directory
'/usr/local/install/packages/aur/odb/src/odb-2.3.0/odb'
depbase=`echo validator.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX   --mode=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
validator.lo -MD -MP -MF $depbase.Tpo -c -o validator.lo validator.cxx &&\
mv -f $depbase.Tpo $depbase.Plo
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
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
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Makefile:947: recipe for target 'validator.lo' failed
make[2]: *** [validator.lo] Error 1
make[2]: Leaving directory
'/usr/local/install/packages/aur/odb/src/odb-2.3.0/odb'
Makefile:426: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/usr/local/install/packages/aur/odb/src/odb-2.3.0/odb'
Makefile:373: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1



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

> Hi Miguel,
>
> Miguel Revilla Rodríguez <yo at miguelrevilla.com> writes:
>
> > My distro has updated gcc to 4.9.0 and odb has stopped both working and
> > compiling.
>
> I actually tried to avoid this by testing each ODB release with the
> latest GCC snapshot. That didn't help much. Oh, well...
>
> In any case, I've updated the source code to work with GCC 4.9.0. The
> patch for ODB 2.3.0 is here:
>
> http://codesynthesis.com/~boris/tmp/odb/odb-2.3.0-gcc-4.9.0.patch
>
> Thanks for the bug report and let me know if you run into any other
> problems.
>
> Boris
>


More information about the odb-users mailing list