Bug#710826: perl: relro linker flag not included in lddlflags
Russ Allbery
rra at debian.org
Sun Jun 2 19:11:00 UTC 2013
Package: perl
Version: 5.14.2-21
Severity: normal
I feel like I must be missing something, but as near as I can tell,
-Wl,-z,relro doesn't appear to be passed into Perl module builds by
default. At least, it's not included in lddlflags, so I'm not seeing
it in a module that I'm building with Module::Build.
This module is embedded in another source package, so I'm doing some
odd things and I'm possibly missing something. But when I dump the
values of %Config, I see:
config_arg4 = -Dldflags= -Wl,-z,relro
config_arg5 = -Dlddlflags=-shared -Wl,-z,relro
but:
ldflags = -fstack-protector -L/usr/local/lib
lddlflags = -shared -L/usr/local/lib -fstack-protector
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.8-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages perl depends on:
ii libbz2-1.0 1.0.6-4
ii libc6 2.17-3
ii libdb5.1 5.1.29-5
ii libgdbm3 1.8.3-11
ii perl-base 5.14.2-21
ii perl-modules 5.14.2-21
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages perl recommends:
ii netbase 5.1
Versions of packages perl suggests:
pn libterm-readline-gnu-perl | libterm-readline-perl-perl <none>
ii make 3.81-8.2
ii perl-doc 5.14.2-21
-- no debconf information
More information about the Perl-maintainers
mailing list