[Bug 1666098] Overspecification in perl -MExtUtils::Embed -e ldopts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1666098

Petr Pisar <ppisar@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
The unneeded libraries are there because of this:

ExtUtils::Embed adds $Config{perllibs} to ldopts:

$ perl -MConfig -e 'print qq{$Config{perllibs}\n}'
-lpthread -lresolv -ldl -lm -lcrypt -lutil -lc

and perllibs is documented as:

        The list of libraries needed by Perl only (any libraries needed by
        extensions only will by dropped, if using dynamic loading).

The perllibs documentation is not clear (as always) whether the flags are for
linking with Perl or linking the Perl.
The perllibs value suggests its for linking the Perl.

ExtUtils::Embed documents ldopts like this:

        Output arguments for linking the Perl library and extensions to your
        application.

I will forward this discrepancy to upstream, but do not hope in any action.
Upstream is very reluctant to touching this code and any downstream changes
always makes angry one or another party depending on which misfeature we remove
and they rely on.

The other options are there because perl enforces its ABI to applications that
use perl. That's upstream's deliberate decision and that fix will be very
painful. (No, it's not about rewriting ExtUtils::Embed, that's only a symptom.
The real issue is Perl's build system that's hindered by a compatibility with
the whole CPAN.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux