Source: mpdecimal
Version: 4.0.0-1
Severity: normal
X-Debbugs-Cc: sk...@bytereef.org




-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Since there is only a single ./configure step for libmpdec and libmpdec++,
mpdecimal uses the non-standard LDXXFLAGS.  (Unfortunately, without separate
LDXXFLAGS, it is not possible to specify -stdlib=libc++ for testing LLVM's
libc++.)


So, at some point LDXXFLAGS="$LDFLAGS" should be set, so that the C++ linker
also gets "-Wl,-z,relro -Wl,-z,now -Wl,--as-needed".


This will possibly get rid of the Lintian warning:

   https://udd.debian.org/lintian-tag/hardening-no-relro


Stefan Krah

Reply via email to