I have a gentoo virtualbox guest (Windows 10 host). Mostly stable, but virtualbox-guest-additions-5.2.16. Xorg video driver is xf86-video-vboxvideo. The setup used to work fine, but rendering has always been done by modesetting_drv. Vboxvideo_drv could never load correctly, so xorg fell back to modesetting.
I always had LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack" in make.conf.
Today I read that these can cause problems with vboxvideo_drv. The ebuild seems to add "lazy", but this is not enough without "norelro", or is it?
I configured xf86-video-vboxvideo and xorg-server with "lazy", "execstack" and "norelro". No change after remerging xf86-video-vboxvideo. The problems started after remerging xorg-server: No x session. From the Xorg.0.log (cannot paste, not at the machine right now):
Code: Select all
Failed to load /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so: Undefined symbol "vgaHWFreeHWRec"
...
Failed to load /usr/lib64/xorg/modules/drivers/modesetting_drv.so: Undefined symbol "shadowRemove"So I thought "Get at least a working desktop again with vesa?" Nope:
Code: Select all
Failed to load /usr/lib64/xorg/modules/drivers/vesa_drv.so: Undefined symbol "VBESetModeParameters"How did I do this, and how to repair? Any ideas, before I start emerge -e?
Thank you.

