On Thu, Nov 30, 2023 at 9:31 PM Kinney, Michael D <michael.d.kin...@intel.com> wrote: > > Hi Pedro, > > I agree that silent failures are terrible. > > The issue is documented with the requirement to use #include here: > > https://github.com/tianocore/edk2/tree/master/UnitTestFrameworkPkg#googletest-configuration > > Unit tests are built with their own DSC configuration extensions. Does adding > --whole-archive to the GCC SLINK settings of the following file resolve the > issue? > > https://github.com/tianocore/edk2/blob/master/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
Thanks for the guidance! I got it to work by changing DLINK and DLINK2. Sent out a patch set addressing that. When that goes through (hopefully), we'll be able to respin these tests without the #include hack. -- Pedro -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111918): https://edk2.groups.io/g/devel/message/111918 Mute This Topic: https://groups.io/mt/102886794/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-