[bug-notifications] [perl 0004771]: problem with /opt/csw/lib/perl/5.10.1/CORE/proto.h and /opt/SUNWspro/bin/cc

Mantis Bug Tracker noreply at opencsw.org
Fri May 20 19:09:20 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4771 
====================================================================== 
Reported By:                ellson
Assigned To:                
====================================================================== 
Project:                    perl
Issue ID:                   4771
Category:                   packaging
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-05-20 19:03 CEST
Last Modified:              2011-05-20 19:09 CEST
====================================================================== 
Summary:                    problem with /opt/csw/lib/perl/5.10.1/CORE/proto.h
and /opt/SUNWspro/bin/cc
Description: 
When attempting to build graphviz-2.28 on current9s (sparc-sun-solaris2.9)
I get compile errors that beginning with ...


    CXX    libgv_perl_la-gv_perl.lo
    CC: Warning: Option -xnorunpath passed to ld, if ld is invoked,
ignored otherwise
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 38: Warning: attribute
nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 43: Warning: attribute
nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 48: Warning: attribute
nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 53: Warning: attribute
nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 58: Warning: attribute
nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 67: Warning: attribute
nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 90: Warning: attribute
__malloc__ is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 94: Warning: attribute
__malloc__ is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 98: Warning: attribute
__malloc__ is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 118: Warning:
attribute nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 129: Warning:
attribute nonnull is unsupported and will be skipped..
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 130: Error: "{"
expected instead of "(".
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 130: Error: The
function "nonnull" must have a prototype.
    "/opt/csw/lib/perl/5.10.1/CORE/proto.h", line 134: Error: Linkage
specifications are allowed only at file level.
    ...



Is 5.10.1 expect to be compatible with Sun's compilers?
====================================================================== 

---------------------------------------------------------------------- 
 (0009062) ellson (developer) - 2011-05-20 19:09
 https://www.opencsw.org/mantis/view.php?id=4771#c9062 
---------------------------------------------------------------------- 
In fact the problem is occurring with the C++ compiler, not C 

./configure is finding:
CXX='/opt/SUNWspro/bin/CC'



More information about the bug-notifications mailing list