g++4.9 -fvtable-verify link error: não é possível encontrar vtv_start.o

g++4.9 -fvtable-verify link error: não é possível encontrar vtv_start.o

Estou executando o g++ 4.9.2.0ubuntu1~14.04 (instalado a partir do conjunto de ferramentas ppa: ppa:ubuntu-toolchain-r/test) e quero usar o recurso Virtual Table Verification (VTV) ( -fvtable-verifyemOpções de dialeto C++). Quando executo o comando:

g++ -fvtable-verify=std -o test test.cpp

O vinculador sai com os seguintes erros:

/usr/bin/ld: cannot find vtv_start.o: No such file or directory
/usr/bin/ld: cannot find -lvtv

O mesmo erro ocorre com g++ 5.1. Alguma pista do que pode estar errado? Devo instalar algum pacote adicional para que o VTV funcione?

Atualizar.Tentar instalar manualmente libvtvusando apt-get install libvtv0falha com o seguinte erro:

The following packages have unmet dependencies:
libvtv0 : Depends: gcc-4.9-base (= 4.9-20140406-1ubuntu1) but 4.9.2-0ubuntu1~14.04 is to be installed

Responder1

Recompilar gcca partir do código-fonte --enable-vtable-verifyresolveu o problema.

informação relacionada