Project

General

Profile

Actions

Bug #14229

closed

secflags_dts relies on compiler defaults

Added by Robert Mustacchi 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
tests
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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 -m64.

The simple solution is to make sure we always specify -m32 and -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.

Actions

Also available in: Atom PDF