Bug#712228: Your mail

Balint Reczey balint at balintreczey.hu
Sat Sep 10 23:11:40 UTC 2016


Control: severity -1 important
Control: user balint at balintreczey.hu
Control: usertags -1 pie-bindnow-20160906
Control: tags -1 patch

Hi,

I'm facing this issue, too, preparing the transition to PIE be
enabled by default on many architectures, like in Ubuntu.

https://wiki.debian.org/Hardening/PIEByDefaultTransition

Ubuntu carries a bigger patch disabling PIE for amd64 and
other architectures where PIE is enabled in GCC by default:

https://patches.ubuntu.com/g/ghc/ghc_7.10.3-9ubuntu1.patch

Please merge the patch to make PIE disabled in d/rules for
the architectures it will be enabled by default in GCC.

The proposed patch for GCC lists all of those architectures
in #835148.

An other option would be bootstrapping GHC in Debian with
-fPIC, but I'm not sure if this is viable.

Thanks,
Balint

PS: Around 70% of the packages which FTBFS with PIE by default
are failing due to this bug thus it would be nice if the fix
could be applied soon.

On Thu, 2 Jan 2014 18:24:48 +0000 (GMT) Gianfranco Costamagna
<costamagnagianfranco at yahoo.it> wrote:
> Hi Joachim and Thomas,
> 
>  
> this bug [1] seems to be really similar to that one
> https://ghc.haskell.org/trac/ghc/ticket/3668
> 
> maybe somewhere debian is overriding the GHC flags and pie is added?
> Bests,
> 
> Gianfranco



More information about the Pkg-haskell-maintainers mailing list