>If libvtv is a separate library (I've not looked)

It is a separate library whose source is inside the gcc source folder. Much
of the documentation for enabling vtable verify is for compiling gcc from
source outside of Yocto and just references using the flag with ./configure
when building gcc from source.

>  I suspect there are tweaks needed to the gcc-runtime recipe to build it

I put “—enable-vtable-verify” in the gcc-common include so it should have
been picked up by gcc.bb, gcc-cross and gcc-runtime. I also tried adding to
just gcc cross and gcc runtime recipes. I also looked at how the sanitizer
libraries were being built with gcc-sanitizers, but was unable to get a
working solution. I gave up to focus on other priorities, but figured I’d
ask the list in case someone had come across this before.


On Wednesday, September 27, 2023, Richard Purdie <
[email protected]> wrote:

> On Wed, 2023-09-27 at 09:40 -0500, Alex Roberts wrote:
> > Hello All,
> >
> > I'm having trouble getting gcc-cross-9.3.0 recipe to build libvtv. I
> > have added “—enable-vtable-verify” to EXTRA_OECONF via a .bbappend.
> > The vtable stubs are added to libstdc++ but libvtv itself is not
> > compiled. This causes recipes compiling with -fstandard-verify to fail
> > because libvtv doesn’t exist and cannot be linked in.
> >
> > Looking at the autoconf files and the resulting Makefile, libvtv
> > should be getting configured and compiled with the recipe, but I can
> > not determine why it is not.
> >
> > Does anyone have experience enabling vtable-verify to a cross-compiler
> > toolchain?
>
> If libvtv is a separate library (I've not looked), I suspect there are
> tweaks needed to the gcc-runtime recipe to build it?
>
> Cheers,
>
> Richard
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61147): https://lists.yoctoproject.org/g/yocto/message/61147
Mute This Topic: https://lists.yoctoproject.org/mt/101618304/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to