[csw-maintainers] can I use gcc instead of /opt/SUNWspro/bin/cc ?

John Ellson ellson at opencsw.org
Fri May 20 18:31:16 CEST 2011


I'm having a hard time getting graphviz-2.28 to build on current9s.

The latest problem is with installed perl headers, outside of my ability
to fix:

    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.
    ...


My guess is that I won't get this problem if I build with gcc, instead
of /opt/SUNWspro/bin/cc

Is that permitted for OpenCSW builds?   If so, where can I find a recent
gcc installed?

John


More information about the maintainers mailing list