Actions
Feature #4863
closedillumos-gate can't be built with fresh perl versions
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-05-13
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
When I try to build illumos-gate with perl 5.16, I receive warnings from ld about symbol referencing errors. For example:
Undefined first referenced symbol in file XS_Sun__Solaris__Lgrp_lgrp_latency_cookie mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_children mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_cookie_stale mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_latency mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_root mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_view mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_cpus mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_fini mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_init mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_home mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_parents mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_mem_size mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_resources mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_affinity_set mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_affinity_get mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_nlgrps mapfile-vers XS_Sun__Solaris__Lgrp_lgrp_version mapfile-vers ld: warning: symbol referencing errors
Later perl versions make functions defined through XS_EUPXS macros static and so not visible outside of the module.
Suggested fix is to define PERL_EUPXS_ALWAYS_EXPORT.
Related issues
Updated by Alexander Pyhalov over 9 years ago
Webrev is here: http://cr.illumos.org/~webrev/alp/4863/
Updated by Electric Monk over 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 1f2ca518aeecee8616fccc0c46a339773faea7d5
commit 1f2ca518aeecee8616fccc0c46a339773faea7d5 Author: Dan McDonald <danmcd@omniti.com> Date: 2015-02-09T20:40:43.000Z 4863 illumos-gate can't be built with fresh perl versions Reviewed by: Andy Stormont <AStormont@racktopsystems.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: ???
Actions