The changelog for 3.4.0 mentions Ogre compatibility which may help with masked dev-games/ogre-1.12.9-r1.