Bug 204290 - devel/hs-cabal-install: compiling Haskell packages with option LLVM leads to segfaults
Summary: devel/hs-cabal-install: compiling Haskell packages with option LLVM leads to ...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Walter Schwarzenfeld
Keywords: crash, needs-patch, needs-qa
Depends on:
Reported: 2015-11-04 17:18 UTC by martin
Modified: 2018-11-07 11:32 UTC (History)
4 users (show)

See Also:
pgj: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description martin 2015-11-04 17:18:32 UTC

I wanted to use LLVM as backend for GHC and all my Haskell packages. When I do this, hs-cabal-install is unusable. Simple commands like "cabal update" or "cabal build" crash with segfaults. Removing the option LLVM for all the packages in Haskell's environment makes hs-cabal-install usable again.

Option LLVM does not affect all Haskell packages. It is only a problem with cabal, which I've identified so far.

To change options, you need to erase all previous settings in /var/db/ports which affect lang/ghc and */hs-*, then rebuild all packages.

Comment 1 Gabor Pali freebsd_committer 2016-02-02 13:11:47 UTC
This sounds like an upstream issue (although it might be fully FreeBSD-specific only).  I will take a look into this.
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-01-13 20:45:23 UTC
Is this still relevant?
Comment 3 Rene Ladan freebsd_committer 2018-11-06 21:36:03 UTC
Maintainer reset.
Comment 4 Gleb Popov freebsd_committer 2018-11-07 07:54:08 UTC
Not relevant anymore, as LLVM option have been removed.
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-11-07 11:32:42 UTC
See comment 4. Close here overcome by events.