Project

General

Profile

Feature #8876

oi-userland should warn about non-largefile-compatible 32-bit libraries

Added by Alexander Pyhalov about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-11-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

We cane embed checking that 32-bit libraries use largefile compilation environment in oi-userland build system.
The basic idea is to run nm on library and to check for wrong symbols (open instead of open64 and so on).

<rmustacc> The bad ways I'd do it are either by checking ctf data or checking for 32-bit components that they're using the lf64 entry points.
<rmustacc> So if you run nm on generated things, make sure you see open64, not open, etc.
<rmustacc> leoric: If you take a look at the list of functions in the man page lf64, then you can check each one to make sure you have the 64-bit version.
<rmustacc> As an undefined symbol.

Also available in: Atom PDF