Bug#867853: closed by Gianfranco Costamagna <locutusofborg at debian.org> (Re: Bug#867853: gcc: error: unrecognized command line option =?UTF-8?Q?=E2=80=98-no-pie=E2=80=99?=)

Gianfranco Costamagna locutusofborg at debian.org
Mon Jul 10 16:50:03 UTC 2017


Hello,




>I'm not sure I understand this response.
>
>When you say "gcc-specific", are you saying that the Debian Haskell package supports compilers other than gcc?  It appears to me that it specifically requires gcc.


I mean, that the flag has been added by gcc, and a lot of programs in the archive are supplying it to the build, with a backward incompatible
change.

e.g. you can think about all the -dkms packages, because pie is something that the kernel can't use.

So, instead of patching every single control file of a tool using no-pie, I would suggest to patch gcc if there still are supported configurations
without the -f-no-pie switch.
(I mean, implement that switch and do nothing when used)

>When you say "fix the whole archive" what do you mean?


the above :)
>I suggest only a update to the "debian/control" file to prevent/discourage users from trying to use ghc with older, unsupported compilers.


updating control file, adding version constraints with versions not in the archive anymore is kind of useless, speaking about Buster we won't have such
gcc versions anymore since at least two stable releases.
>Last question:

>If I contribute a patch to the debian/control file to do this, would it get applied?

nobody complained so far about this issue, so you are probably one of the few people not updating their compiler :)

I'm really not sure this is worth the effort

G.



More information about the Pkg-haskell-maintainers mailing list