secflags_dts relies on compiler defaults
I recently started seeing failures of the secflags_dts tests in os-tests. This happened to not be because we have broken the system, but rather the test. It grabs a lot of libraries in /usr/lib and then tries to use them to create needed entries as part of the secflags. It tries to grab libraries by default from
/urs/lib/ by default; however, it doesn't specify
-m32 to ensure that a 32-bit binary is generated. This results in potentially finding 32-bit libraries that don't have a corresponding 64-bit variant when the compiler default is
The simple solution is to make sure we always specify
-m64. While here, I've caused the test to build both a 32-bit and 64-bit version to make sure we get both covered.