[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#842098: Please revert the change to build static libraries with -fPIC



On Tue, 25 Oct 2016, Adrian Bunk wrote:

> Source: unicon
> Version: 3.0.4-15
> Severity: important
> 
> PIE by default in gcc was enabled in unstable a week ago.
> 
> There has recently been some confusion regarding the changes required
> for using PIE by default.
> 
> Static libraries do not have to be compiled with -fPIC for this change,
> -fPIE is sufficient and now the default when no flags are given.
> Any upload (including binNMU) would have been enough to fix this.
> 
> Compiling static libraries with -fPIC is usually wrong (policy section 10.2).
> 
> Please revert the change to build static libraries with -fPIC.

Hi.

I plan to make a QA upload to fix this bug. It may take some time
because I want to fix #840573 as well.

Thanks.


Reply to: