New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23089 (assigned defect)

Opened 2 years ago

Last modified 7 months ago

perl5.*: should use -Duseshrplib

Reported by: reg-macports.org@… Owned by: ricci@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: reg-macports.org@…
Port: perl5.8, perl5.10, perl5.12, perl5.14

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

Change History

Changed 2 years ago by jmr@…

  • owner changed from macports-tickets@… to ricci@…

Changed 2 years ago 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?

Changed 2 years ago 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.

Changed 7 months ago by ricci@…

  • status changed from new to assigned
  • port changed from perl5.8, perl5.10 to perl5.8, perl5.10, perl5.12, perl5.14

Changed 7 months ago by reg-macports.org@…

  • cc reg-macports.org@… added

Cc Me!

Note: See TracTickets for help on using tickets.