[OmniOS-discuss] illumos-gate, perl & sunpro

Richard PALO richard at netbsd.org
Fri Jun 24 05:24:33 UTC 2016


since over a year I needed to use the following patch as already discusse here
and on developer@:
> richard at omnis:/home/richard/src/illumos-gate/usr/src/cmd/perl$ git diff illumos-omnios .
> diff --git a/usr/src/cmd/perl/Makefile.perl b/usr/src/cmd/perl/Makefile.perl
> index 0164546..b3944aa 100644
> --- a/usr/src/cmd/perl/Makefile.perl
> +++ b/usr/src/cmd/perl/Makefile.perl
> @@ -55,3 +55,6 @@ XSUBPP64 = $(PERLDIR)/bin/$(MACH64)/perl $(PERLDIR)/lib/ExtUtils/xsubpp \
>         -typemap $(PERLDIR)/lib/ExtUtils/typemap
>  
>  C99MODE = $(C99_ENABLE)
> +
> +CERRWARN += -_cc=-erroff=E_ATTRIBUTE_UNKNOWN
> +CERRWARN += -_cc=-erroff=E_ATTRIBUTE_PARAM_UNDEFINED
> 

This is needed in order to simply build illumos-gate with the studio shadow compiler.

In the meanwhile, alp@ came up with a patch that seems to work
for OpenIndiana/Hipster but I haven't seen it in omnios-build.
'oi-userland/components/perl/perl516/patches/sunpro.patch'

Any way to get consensus on one or the other?

(I'd try to apply it myself and do a pull request but it has
been ages since I've had a working omnios-build, unfortunately,
and perl is particularly broken on my machine also as already discussed
prior in this forum)

cheers

-- 
Richard PALO




More information about the OmniOS-discuss mailing list