Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ghc-tinfo6-nopie-8.2.2 requires changes to its settings file to work on Arch Linux #3648
General summary/comments (optional)
Using the pre-built GHC requires changes to build packages on Arch Linux. This seems related to #3488, but not identical.
Steps to reproduce
Use the pre-built
A successful build without having to modify files shipped with pre-build GHC.
The following error:
Based on #3488 I changed
Attempting another build after that results in the same error.
Attempt another build. Success!
Method of installation
Same seems to be true with ghc-tinfo6-nopie-8.0.2 as well.
referenced this issue
Dec 14, 2017
I just (re-)ran into the
This seems to be a slightly different fix — it looks like the default option name is plain wrong (though I don't really know what's going on).
This problem exist to me too.
Gentoo profile 17.0 is GCC compile with
I also solved the problem by adding @magthe PIC flag, but I do not think that writing a compilation flag by hand is a royal road.
I do not think this is a problem of Arch alone, I think it is a problem affecting the whole PIE effective system.
Since environment changed and ghc was installed in another place, I examined it.