Project

General

Profile

Actions

Bug #784

closed

gcc-built cpr doesn't load

Added by Rich Lowe about 10 years ago. Updated about 10 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.

Actions #1

Updated by Rich Lowe about 10 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).

Actions #2

Updated by Rich Lowe about 10 years ago

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

Updated by Rich Lowe about 10 years ago

Resolved in r13302 commit:9ac77e048f67

Actions #4

Updated by Rich Lowe about 10 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF