Hi Steinar,

2016-09-29 18:27 GMT+02:00 Steinar H. Gunderson <se...@debian.org>:
> On Mon, Sep 12, 2016 at 04:32:49PM +0200, Balint Reczey wrote:
>> During a rebuild of all packages in sid, nageru
>> failed to build on amd64 with patched GCC and dpkg. The root
>> cause seems to be that libbmusb.a is shipped as a non-PIC library.
>>
>> The rebuild tested if packages are ready for a transition
>> enabling PIE and bindnow for amd64 (and selected architectures).
>
> Hi,
>
> Is there a way to know which architectures should have -fPIC? All of them,
> or just amd64? (IIRC, there are architectures where -fPIC for static
> libraries makes linking fail, but my information might be very old.)

The set of architectures enabling PIE by default is not set yet and it looks
like we may target all architectures.
I don't know about any current issue with linking PIC static libraries.

I suggest simply switching on all architectures and I did so in packages I
already updated.

>
> Also, I see #837478 (linked from your page) has not gone into effect yet.

True. OTOH if you wish to switch to PIC I initiated the required discussion on
debian-devel:
https://lists.debian.org/debian-devel/2016/09/msg00277.html

In the packages I updated I added the README.Debian file to conform
to current Policy.
https://anonscm.debian.org/cgit/collab-maint/publib.git/commit/?id=bebd136864e3d357e84ef333a1b6bef83b2470e1

Cheers,
Balint

Reply via email to