-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack-setup-2: nopie fixes for Arch, Gentoo, and Void Linux #34
Conversation
* Removes GHC <8.0.2 for all Linux `-nopie` builds, since those don't work reliably. * Removes `configure-env` for all remaining Linux `-nopie` builds, since GHC >=8.0.2 autodetects GCCs that support `-no-pie` (and the configure-envs interfered with the auto-detection causing it to fail on some distros) * Patches Linux GHC >= 8.0.2 bindists so that their `configure` script detects Gentoo Hardened GCC and adds `--no-pie` to linker arguments. * Adds ncurses6 GHC 8.2.2 bindist for Void Linux Relates to commercialhaskell/stack#3518 commercialhaskell/stack#3636
How can I test it? Currently I use 8.0.2 in a 32-bit fork of Archlinux :) as the original ceased to support 32 bits. And I had to put |
@nponeccop Via the I haven't tried it, but this should work: setup-info: "https://raw.githubusercontent.com/fpco/stackage-content/nopie-fixes-arch-gentoo/stack/stack-setup-2.yaml" |
It says "unrecognized fields", so I'm updating my stack (which wasn't that outdated) to see. The current master
|
@nponeccop The |
@borsboom |
The current version of Stack will only try the "most specific" bindist and won't fall back to others if it doesn't exist. That's been improved in the |
It's with master
|
You need commit acb196788948bab7a01e13cddf6e6cd5b5bf93a0. I just merged that PR this morning. |
Should I try it with this setup info or with the defaults? With the default config it says:
It ends with
|
Try it with this branch (although I suspect it won't make any difference)
…On Dec 29, 2017 1:05 PM, "nponeccop" ***@***.***> wrote:
Should I try it with this setup info or with the defaults?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEGJfoU5iZsTc3ZI-im5ilcnSe_NibCks5tFVP6gaJpZM4RNo6h>
.
|
Having heard no objections, merging this. |
-nopie
builds, since those don't workreliably.
configure-env
for all remaining Linux-nopie
builds, sinceGHC>=8.0.2 autodetects GCCs that support
-no-pie
(and theconfigure-envs interfered with the auto-detection causing it to fail
on some distros)
configure
script detects Gentoo Hardened GCC and adds
--no-pie
to linker arguments.
Relates to commercialhaskell/stack#3518 commercialhaskell/stack#3636