OpenSolaris

Printable Version Enter a New Search
Bug ID 6755382
Synopsis new "more linker like" version of lint2 exposes new lint warnings in ON
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-misc
Keywords
Responsible Engineer John Beck
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_101
Fixed In snv_101
Release Fixed solaris_nevada(snv_101)
Related Bugs 6761697
Submit Date 2-October-2008
Last Update Date 22-October-2008
Description
* SS11 lint2 would complete kernel global cross-checks in about 3-4 minutes.
* SS12 lint2 increased this to 30-45 minutes, with several hundred MB of RAM
  tied down the whole time, leading to many problems.
* Fedor provided us with a new SS12 lint2 binary to test that has greatly
  improved both the memory consumption and brought KGCCs down to about 8
  minutes.  As an added bonus, he adds "I was explicitly trying to make lint
  behavior and lint assumptions closer to that of linker." which resulted in
  138 new lint warnings in our x86 nightly build.
* I fixed those, and got most of them reviewed, then Fedor sent us a sparc
  binary which uncovered 12 new warnings, all E_NAME_MULTIPLY_DEF2 either
  with modlinkage or ds_ops being used non-statically in different modules.
* This CR is to fix all 150 new warnings.
Work Around
N/A
Comments
N/A