distro perl's ldflags='... -Wl,-z,relro ...' causing module build errors. bug in distro perl flags? or module code?

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

 



i'm attempting to build a MaxMind GeopIP2 DB reader perl module

	MaxMind::DB::Reader::XS

	( https://metacpan.org/pod/MaxMind::DB::Reader::XS
 )

on Fedora 32.


the build fails on F32 with Errors:

	"/usr/bin/ld: unrecognized option '-Wl,-z,relro'"

&

	"Unsupported compile language "C"" ?

I've filed a bug at the module upstream

	uninstallable on Fedora32, errors: "/usr/bin/ld: unrecognized option '-Wl,-z,relro'" & "Unsupported compile language "C"" ?
		https://github.com/maxmind/MaxMind-DB-Reader-XS/issues/32

the build fails only with Fedora's distro perl, which _includes_ the ldflags

	perl -V | grep -i " ldflags"
		ldflags ='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib'

but is _successful_ on opensuse, where distro perl's ldflags do NOT include '-Wl,-z,relro',

	perl -V | grep -i " ldflags"
		ldflags =' -L/usr/local/lib64 -fstack-protector-strong'


Is this^ a problem with Fedora's perl build flags "incorrectly" _including_ relro?  I've found/followed some of the perl hardening threads @ Fedora; IIUC, it's intentional ...

Or likely an issue with the module not correctly dealing with it?
_______________________________________________
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