Bug#1100187: dpkg-dev: Please drop pie-{compile,link}.spec also on x32 and elsewhere
Adrian Bunk <[email protected]> Wed, 12 Mar 2025 15:46:25 +0200
| Newsgroups | gmane.linux.debian.ports.amd64 |
|---|---|
| Message-ID | <174178718535.1503973.12746843100930148507.reportbug__42287.621698209$1741787312$gmane$org@localhost> |
Package: dpkg-dev Version: 1.22.2 Severity: important Tags: ftbfs X-Debbugs-Cc: [email protected], John Paul Adrian Glaubitz <[email protected]> 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. 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. 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 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.