Bug#1100187: dpkg-dev: Please drop pie-{compile,link}.spec also on x32 and elsewhere

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <f6919da0ba5622a34e69211a3e77d6a3c35d928a.camel__32713.0905630597$1758458247$gmane$org@physik.fu-berlin.de>
Hi,

On Wed, 2025-03-12 at 15:46 +0200, Adrian Bunk wrote:
> This is a continuation of #1040062, with two parts:
> 
> First, I would appreciate if an x32 porter could take a look
> and approve that pie-{compile,link}.spec should also be dropped
> on x32.

Sure. I'm fine with whatever change gets us to build more packages
successfully on x32. I also appreciate these efforts, so thank
you very much!

> Changing gcc to default to PIE on x32 would likely work,
> but the current situation with x32 being the only half-PIE
> architecture due to the random set of packages with
> hardening=+all being PIE and others not causes breakage.

Yeah, that mixed configuration sounds like a bad idea.

> Examples of packages broken due to that:
> https://buildd.debian.org/freefem++
> https://buildd.debian.org/gpgme1.0
> https://buildd.debian.org/gprbuild
> https://buildd.debian.org/libedlib
> https://buildd.debian.org/libgpiod
> https://buildd.debian.org/marisa
> https://buildd.debian.org/python-pylibacl
> https://buildd.debian.org/python-pyxattr
> https://buildd.debian.org/roc-toolkit
> https://buildd.debian.org/uncalled
> 
> It also causes extra work when people workaround this
> breakage for individual packages:
> https://bugs.debian.org/1092588
> https://bugs.debian.org/1095522

Agreed.

> Second, even on architectures like m68k and sh4 where the pie
> specs do not make a difference there is the occasional breakage like
> https://buildd.debian.org/status/package.php?p=pylsqpack&suite=sid
> 
> While this might technically be a bug in a package,
> obscure breakage only on some of the most exotic ports
> rarely lead to fixing.

Agreed. Let's turn it off on architectures where it currently causes
more problems than it solves.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.