Re: Haskell-Cafe Digest, Vol 207, Issue 16

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Haskell-Cafe Digest, Vol 207, Issue 16

Sumit Raja

It may be that you have a dependency of this specific test (or the test
itself) that has the following stanza in its Cabal file:
"extra-libraries: gmp"


Thanks, makes sense. Any shortcuts to try and find which package has gmp enabled?

Interestingly this problem doesn't happen with ghc-8.6.5. Does build order decide on if this issue is triggered or not?

-Sumit


_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Reply | Threaded
Open this post in threaded view
|

Re: Haskell-Cafe Digest, Vol 207, Issue 16

Sylvain Henry-2
On 19/11/2020 01:48, Sumit Raja wrote:

It may be that you have a dependency of this specific test (or the test
itself) that has the following stanza in its Cabal file:
"extra-libraries: gmp"


Thanks, makes sense. Any shortcuts to try and find which package has gmp enabled?

You may grep for "gmp" in your "package.conf.d". A usual suspect is "bitvec" which has a "libmp" flag that you can disable.

Interestingly this problem doesn't happen with ghc-8.6.5. Does build order decide on if this issue is triggered or not?

I don't think so. My guess would be that using 8.6.5 changes the build plan (e.g. earlier versions of "bitvec" didn't explicitly link with gmp).

Cheers,
Sylvain


_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.