[GHC] #12479: build fail of commercialhaskell.com with stack build on mac os x sierra beta 4
GHC
ghc-devs at haskell.org
Tue Oct 4 16:48:22 UTC 2016
#12479: build fail of commercialhaskell.com with stack build on mac os x sierra
beta 4
-------------------------------------+-------------------------------------
Reporter: stephenb | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 8.0.2
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #12198 | Differential Rev(s): Phab:D2532
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
darchon said,
> I'm not sure, but I think GHC also nubs the `RPATH`s (in the case of
dynload system), this would have to be checked.
For the record, I believe we compute the linker command line in
`SysTools.linkDynLib`, which calls `collectLibraryPaths` to compute the
set of needed `RPATH` directories. `collectLibraryPaths` indeed calls
`nub`, but it does **not** `sort` before doing so, meaning that `nub`
won't always remove all duplicates. This should be fixed.
`Cabal` should also be checked for this issue.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12479#comment:40>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list