Project

General

Profile

Bug #2224

closed-bins should be stripped of CTF

Added by Rich Lowe about 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2012-03-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The closed binaries contain CTF information which was made unique against a genunix from long ago. This has always been a problem for GCC but recent changes to types containing in genunix are sufficient to make that type information now incorrect even with studio builds.

Pending more general ways of implementing this, which suffer from other issues (see #1961) we should integrate Jason's ctfstrip, and use it during the build, as the GCC branch has been doing for a while now.

Note that the major user-visible face of this problem occurs should a type which is "damage" be a type referred to by DTrace, which will prevent the use of any DTrace consumer. It also, obviously, harms debugging since the debugger will believe the incorrect type information.

#1

Updated by Rich Lowe over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

Resolved in r13815 commit:61cf2631639d

Also available in: Atom PDF