Project

General

Profile

Feature #5107

Eliminate "native" programs that run during the build

Added by Gordon Ross about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-08-19
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

There are "native" programs used in parts of the build, where we compile a program that runs ("native") on the build machine, and then run it to get some output needed by the build. Building these is almost always problematic due to conflicting requirements about which headers these programs should use.

As suggested by Robert Mustacchi, in this mail thread: (now quoting)
http://www.listbox.com/member/archive/182179/2014/05/search/NDkwMg/sort/time_rev/page/1/entry/3:5/20140530210229:3AA09D50-E85F-11E3-8EA0-C3D3F43283F0/

The correct approach here is to use a native program to dump the ctf
data in something that's built natively using the headers. That's the
conclusion that we came to last time this particular problem came up on
the mailing lists.


Related issues

Related to illumos gate - Bug #5106: elfdump compiles using headers from the build systemClosed2014-08-19

Actions

History

#1

Updated by Robert Mustacchi about 5 years ago

Importantly, most native programs are fine. Specifically the problem is that you shouldn't have a native program use anything as part of the compilation process from the proto area. Accepting input from the proto area or from the gate in general, is perfectly fine.

Also available in: Atom PDF