Project

General

Profile

Bug #784

gcc-built cpr doesn't load

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2011-03-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

cpr references cpr_is_zfs() and cpr_is_ufs() in both the SPARC and x86 builds, but only actually defines them on SPARC.

It's not immediately clear how this works on studio-built x86. The symbols don't appear, the reference to them disappears.

History

#1

Updated by Rich Lowe over 9 years ago

Dissassembly makes it appear that Studio realizes that the condition at source:usr/src/uts/common/cpr/cpr_mod.c#L345 can never be true, and omits it (note that CPR_TODISK value is only possible on sparc).

#2

Updated by Rich Lowe over 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Rich Lowe
#3

Updated by Rich Lowe over 9 years ago

Resolved in r13302 commit:9ac77e048f67

#4

Updated by Rich Lowe over 9 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF