[MacPorts] #23089: perl5.*: should use -Duseshrplib
#23089: perl5.*: should use -Duseshrplib ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: perl5.8, perl5.10 ---------------------------------------------+------------------------------ perl5.8 and perl5.10 should be compiled with a shared perl library: http://search.cpan.org/perldoc?README.macosx#Known_problems says: The default of building Perl statically may cause problems with complex applications like Tk: in that case consider building shared Perl {{{ Configure ... -Duseshrplib }}} but remember that there's a startup cost to pay in that case (see above "libperl and Prebinding"). ---------- However, http://search.cpan.org/perldoc?README.macosx#libperl_and_Prebinding also says: With 10.4 "Tiger" and newer, Apple has all but eliminated the performance penalty for non-prebound libraries. ---------- As MacPorts requires OS X 10.5, performance is no longer a reason not to use -Duseshrplib. However, not using -Duseshrplib breaks at least one port: http://trac.macports.org/ticket/23085 -- Ticket URL: <http://trac.macports.org/ticket/23089> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23089: perl5.*: should use -Duseshrplib ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: ricci@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: perl5.8, perl5.10 ---------------------------------------------+------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => ricci@… -- Ticket URL: <http://trac.macports.org/ticket/23089#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23089: perl5.*: should use -Duseshrplib ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: ricci@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: perl5.8, perl5.10 ---------------------------------------------+------------------------------ Comment(by jmr@…): This is what the shared variant already does, JFYI. So basically you're asking for this to become the default and there to be a static variant instead? -- Ticket URL: <http://trac.macports.org/ticket/23089#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23089: perl5.*: should use -Duseshrplib ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: ricci@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: perl5.8, perl5.10 ---------------------------------------------+------------------------------ Comment(by reg-macports.org@…): Oh, sorry. I had not noticed that there already is a variant. But yes, until ports (like wml) can depend on variants, the most compatible variant should be the default. -- Ticket URL: <http://trac.macports.org/ticket/23089#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23089: perl5.*: should use -Duseshrplib ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: ricci@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: perl5.8, perl5.10, perl5.12, perl5.14 ---------------------------------------------+------------------------------ Changes (by ricci@…): * status: new => assigned * port: perl5.8, perl5.10 => perl5.8, perl5.10, perl5.12, perl5.14 -- Ticket URL: <https://trac.macports.org/ticket/23089#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23089: perl5.*: should use -Duseshrplib ----------------------------------------------------+----------------------- Reporter: reg-macports.org@… | Owner: ricci@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: perl5.8, perl5.10, perl5.12, perl5.14 | ----------------------------------------------------+----------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed Comment: r94655 -- Ticket URL: <https://trac.macports.org/ticket/23089#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23089: perl5.*: should use -Duseshrplib ----------------------------------------------------+----------------------- Reporter: reg-macports.org@… | Owner: ricci@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: perl5.8, perl5.10, perl5.12, perl5.14 | ----------------------------------------------------+----------------------- Description changed by ryandesign@…: Old description:
perl5.8 and perl5.10 should be compiled with a shared perl library:
http://search.cpan.org/perldoc?README.macosx#Known_problems says: The default of building Perl statically may cause problems with complex applications like Tk: in that case consider building shared Perl {{{ Configure ... -Duseshrplib }}} but remember that there's a startup cost to pay in that case (see above "libperl and Prebinding"). ----------
However, http://search.cpan.org/perldoc?README.macosx#libperl_and_Prebinding also says:
With 10.4 "Tiger" and newer, Apple has all but eliminated the performance penalty for non-prebound libraries. ----------
As MacPorts requires OS X 10.5, performance is no longer a reason not to use -Duseshrplib.
However, not using -Duseshrplib breaks at least one port: http://trac.macports.org/ticket/23085
New description: perl5.8 and perl5.10 should be compiled with a shared perl library: http://search.cpan.org/perldoc?README.macosx#Known_problems says: The default of building Perl statically may cause problems with complex applications like Tk: in that case consider building shared Perl {{{ Configure ... -Duseshrplib }}} but remember that there's a startup cost to pay in that case (see above "libperl and Prebinding"). ---------- However, http://search.cpan.org/perldoc?README.macosx#libperl_and_Prebinding also says: With 10.4 "Tiger" and newer, Apple has all but eliminated the performance penalty for non-prebound libraries. ---------- As MacPorts requires OS X 10.5, performance is no longer a reason not to use -Duseshrplib. However, not using -Duseshrplib breaks at least one port: #23085 -- -- Ticket URL: <https://trac.macports.org/ticket/23089#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts