Bug 204290

Summary: devel/hs-cabal-install: compiling Haskell packages with option LLVM leads to segfaults
Product: Ports & Packages Reporter: martin
Component: Individual Port(s)Assignee: Walter Schwarzenfeld <w.schwarzenfeld>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: arrowd, pgj, tcberner, w.schwarzenfeld
Priority: --- Keywords: crash, needs-patch, needs-qa
Version: LatestFlags: pgj: maintainer-feedback+
Hardware: amd64   
OS: Any   

Description martin 2015-11-04 17:18:32 UTC
Hi,

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.

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

--
Martin
Comment 1 Gabor Pali freebsd_committer freebsd_triage 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 freebsd_triage 2018-11-06 21:36:03 UTC
Maintainer reset.
Comment 4 Gleb Popov freebsd_committer freebsd_triage 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.