OpenSolaris

Printable Version Enter a New Search
Bug ID 6271886
Synopsis gcc and cmd/logadm don't get along
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:logger
Keywords tonic-gcc
Responsible Engineer April Chin
Reported Against snv_14
Duplicate Of
Introduced In solaris_9
Commit to Fix snv_21
Fixed In snv_21
Release Fixed solaris_nevada(snv_21)
Related Bugs
Submit Date 17-May-2005
Last Update Date 12-August-2005
Description
When building ON with gcc (on x86) there are a few warnings in cmd/logadm.
gcc doesn't like 'static's that don't define storage, and it thinks a couple
functions can fall off the end without returning a value because err() might
return. Unfortunately err can't be marked __NORETURN because it might depending
on the flags, or at least it looks like that to me.

The suggested fix compiles but I haven't tested it.
 xxxxx@xxxxx.com 2005-05-17 18:55:03 GMT
Work Around
N/A
Comments
N/A