[GHC] #8721: Testsuite not reporting errors for DYN way on OS X

GHC ghc-devs at haskell.org
Thu Jul 7 08:28:33 UTC 2016


#8721: Testsuite not reporting errors for DYN way on OS X
-------------------------------+----------------------------------------
        Reporter:  darchon     |                Owner:
            Type:  bug         |               Status:  new
        Priority:  normal      |            Milestone:
       Component:  Test Suite  |              Version:  7.6.3
      Resolution:              |             Keywords:  dynamic linking
Operating System:  MacOS X     |         Architecture:  Unknown/Multiple
 Type of failure:  Other       |            Test Case:
      Blocked By:              |             Blocking:
 Related Tickets:              |  Differential Rev(s):
       Wiki Page:              |
-------------------------------+----------------------------------------
Changes (by thomie):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 Replying to [comment:3 darchon]:
 > No, it does not mean that we can refrain from setting
 `DYLD_LIBRARY_PATH`. in  f7be53ac9dac85b83e7fe5ecede01b98a572ba48, the
 rpaths are made relative to the final install location. During testing,
 the libraries are still in their build locations, so we still need
 `DYLD_LIBRARY_PATH` to find the libraries.

 We can do better. A normal `validate` //installs// the in-tree GHC into a
 directory `bindisttest/`, and then starts a testsuite run with
 `BINDIST=YES`. The testsuite driver then uses this //installed// GHC. Not
 setting `DYLD_LIBRARY_PATH` when `BINDIST=YES` should give us better
 coverage for DYN way on OS X, as this ticket requested.

 I don't have access to a Mac, but reopening for someone who does.

 I still wonder why on Linux we don't have to set `LD_LIBRARY_PATH`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8721#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list