[pkg-fgfs-crew] Bug#837452: Bug#837452: simgear: Please build libSimGearCore.a and libSimGearScene.a with -fPIC

Markus Wanner markus at bluegap.ch
Sun Sep 11 20:46:19 UTC 2016


Control: tags -1 +moreinfo

On 11.09.2016 20:11, Balint Reczey wrote:
> During a rebuild of all packages in sid, several packages
> failed to build on amd64 with patched GCC and dpkg. The root
> cause seems to be that libSimGearCore.a is shipped as a non-PIC library.

I think that matches the current policy (10.2 Libraries: "therefore the
static version must not be compiled with the -fPIC flag"). I'm hesitant
to violate that policy, even if I generally welcome the move to PIE.

Also note that simgear well respects DEB_BUILD_MAINT_OPTIONS via
dpkg-buildflags. A simgear compiled with DEB_BUILD_MAINT_OPTIONS
including hardening=+pie will generate a PIE-enabled library. That in
turn allows compiling fgrun with the same options, leading to a
PIE-enabled executable.

> The rebuild tested if packages are ready for a transition
> enabling PIE and bindnow for amd64.

Are you sure this tested against a re-built simgear?

Kind Regards

Markus Wanner


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1513 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fgfs-crew/attachments/20160911/1839da4d/attachment.sig>


More information about the pkg-fgfs-crew mailing list