Comment 11 for bug 1912371

Revision history for this message
Alex Murray (alexmurray) wrote :

These failures of the mocked tests have been reported upstream at https://github.com/flashrom/flashrom/issues/186 by others but no response - however I am pretty sure this is due to the use of LTO in impish - cmocka is known to fail with LTO due to the use of --wrap which doesn't play nicely with LTO - so in this case, the original functions get called, not the wrapped ones - https://bugzilla.redhat.com/show_bug.cgi?id=1693831

I can't find an easy way to only disable LTO for these tests so perhaps just best to set DEB_BUILD_MAINT_OPTIONS = optimize=-lto in debian/rules for now.

As such, I will proceed with the security audit based on this for now.