https://bugzilla.redhat.com/show_bug.cgi?id=1716324
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mmaslano@redhat.com, | |paul@city-fan.org, | |steve@silug.org 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@redhat.com --- 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.