Benchmarks can no longer be built with Stack 1.6.1 #3630
Comments
I just downgraded to version 1.5.1 and it works again. Will use that for now. |
Works on my machine. |
Hmmm, seems like you have some nasty linker errors there?
Does https://docs.haskellstack.org/en/stable/faq/#i-get-strange-ld-errors-about-recompiling-with-fpic help? |
I have installed |
I haven't found a work-around for this one either. For me it's failing here:
|
What worked for me is installing |
Tough time on Arch right now! |
Hmm, so was there a regression here in stack 1.6.1 - is it some tradeoff where a different usecase got fixed but broke this one? |
I don't know, that documentation page says that this issue is "reported to be non-deterministic in some cases". I'm sure though that on my system |
A few hours of library fiddling did not help me. Downgraded to |
I just ran |
@flounders's solution works, I suggest it be mentioned in the docs. |
Glad that worked! Hmmm, but one recommended |
|
It seems Stack used to be able to find the correct ghc-build without manual intervention. What changed? |
This looks like another variant of #3518. Consolidating discussion there. |
I have a project, which has some benchmarks. Before upgrading to the latest Stack 1.6.1 I had no issues building and running the benchmarks, but now I'm getting the following:
Which apparently indicates an issue happening while building
code-page-0.1.3
, an error from theld.gold
linker. I'm wondering if it's an issue with Stack (because I'm using the same resolver and it worked before) or should I open an issue on the issue tracker of thecode-page
package.I'm on Arch Linux.
Method of installation: originally unpacked the archive from https://www.stackage.org/stack/linux-x86_64 and copied the binary to
~/.local/bin/
, upgraded by runningTo reproduce:
stack bench mmark
.The text was updated successfully, but these errors were encountered: