[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

Paul Howarth <paul@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jose.p.oliveira.oss@gmail.c
                   |                            |om, ppisar@xxxxxxxxxx,
                   |                            |tcallawa@xxxxxxxxxx
          Component|perl-Module-Build           |perl-ExtUtils-CBuilder
           Assignee|jplesnik@xxxxxxxxxx         |ppisar@xxxxxxxxxx



--- Comment #4 from Paul Howarth <paul@xxxxxxxxxxxx> ---
I think the problem may actually lie within ExtUtils::CBuilder (which
Module::Build delegates the processes of compiling and linking to), and more
specifically to the patch we added to get the linking to libperl to happen in
the first place. In that patch, $cf->{lddlflags} has "-lperl" appended to it,
and that goes before the object files in the linker command. On the other hand,
the ExtUtils::CBuilder::Platform::android module already has code to add
libperl to the mix, and does it by fiddling with $args{extra_linker_flags}
instead. Maybe our patch should do the same?


-- 
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