[Debian-med-packaging] Bug#964082: parsinsert fails it's tests when built with -O2 gcc-13

Étienne Mollier emollier at debian.org
Sun Aug 27 22:26:32 BST 2023


Étienne Mollier, on 2023-08-26:
>                       After suspecting hardening, it turned out
> that the following, when combined with build of ParsInsert.o
> with -O2 optimization, is causing the test failure:
> 
> 	-specs=/usr/share/dpkg/no-pie-compile.specs

Rerunning these tests in a properly isolate chroot show me that
the hardening is also contributing to the improper results.
Hardening must be disabled and PIE must be enforced to ensure
the program runs appropriately 

	                         -O1  -O2   -O3
	-fPIE + no hardening      OK   OK    OK
	-fno-PIE + no hardening   OK  FAIL  FAIL
	-fPIE + hardening         OK  FAIL  FAIL
	-fno-PIE + hardening      OK  FAIL  FAIL

I'm considering pushing an upload that goes in the direction of
disabling hardening and enforcing PIE in the upcoming week,
unless there are reasons to hold on, or someone is faster than
me in uploading.

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  gpg: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-    on air: Dream Theater - Scene Three: II. Fatal Tragedy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230827/0076ab86/attachment.sig>


More information about the Debian-med-packaging mailing list