c/6317: fixincludes breaks sys/sunddi.h

pmartin@rsasecurity.com pmartin@rsasecurity.com
Tue Apr 16 03:00:00 GMT 2002


>Number:         6317
>Category:       c
>Synopsis:       fixincludes breaks sys/sunddi.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 16 02:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Per-Erik Martin
>Release:        gcc version 3.0.3
>Organization:
>Environment:
SunOS 5.8 i86pc
>Description:
After installing the package gcc-3.0.3-sol8-intel-local
from http://www.sunfreeware.com/, fixinclude has apparently
been executed. The file
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.3/include/sys/sunddi.h
then includes two new lines

#include <sys/nvpair.h>
#include <sys/sysevent.h>

These files are not found at compile time.
>How-To-Repeat:
Compile a file with the following two includes:

#include <sys/ddi.h>
#include <sys/sunddi.h>
>Fix:
Workaround: Remove the file
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.3/include/sys/sunddi.h
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list