[Bug 1716324] Module::Build lists the object files after the linker flags, causing underlinking with -Wl,--as-needed

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

 



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

Petr Pisar <ppisar@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmaslano@xxxxxxxxxx,
                   |                            |paul@xxxxxxxxxxxx,
                   |                            |steve@xxxxxxxxx
          Component|perl-Text-Xslate            |perl-Module-Build
            Summary|perl-Text-Xslate-3.5.6-5.fc |Module::Build lists the
                   |30 is not linked to         |object files after the
                   |libperl.so                  |linker flags, causing
                   |                            |underlinking with
                   |                            |-Wl,--as-needed



--- Comment #3 from Petr Pisar <ppisar@xxxxxxxxxx> ---
I read Module::Build::XSUtil, and it does not do anything special regarding the
order of object files and linker flags. Module::Build::XSUtil inherits from
Module::Build. I checked perl-RPM2 that also uses Module::Build, and the issue
manifests there either:

  gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib
-fstack-protector-strong -lperl -o blib/arch/auto/RPM2/RPM2.so lib/RPM2.o -lrpm
-lrpmio

I conclude this is a bug in perl-Module-Build.


-- 
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://docs.fedoraproject.org/en-US/project/code-of-conduct/
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