[MacPorts] #53709: ghc @7.8.3: segmentation fault during build

MacPorts noreply at macports.org
Thu Jun 22 07:15:14 UTC 2017


#53709: ghc @7.8.3: segmentation fault during build
---------------------+-----------------
  Reporter:  kkbt    |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  ghc     |
---------------------+-----------------
Changes (by mojca):

 * cc: kencu (added)
 * version:  2.4.1 =>


Comment:

 Here are the logs (not necessarily failing for the same reason):
 *
 [https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/30515
 10.11]
 * [https://build.macports.org/builders/ports-10.8_x86_64_legacy-
 builder/builds/31382 10.8]
 * [https://build.macports.org/builders/ports-10.6_i386_legacy-
 builder/builds/23677 10.6_i386]
 * [https://build.macports.org/builders/ports-10.5_ppc_legacy-
 builder/builds/33768 10.5_ppc] - fails because of dependency on clang-3.5
 which doesn't support ppc

 It is worth noting that ghc builds just fine on 10.6/x86_64, 10.7, 10.9,
 10.10, 10.12.

 Now, if you take a look at the blacklist:
 {{{
 # Compilation fails with older versions of clang. clang-4.1 from Xcode 4.5
 is
 # too old, clang-5.1 from from Xcode 5.1 works. I do not have any data
 points in
 # between, so I'm blacklisting everything lower than 5.1. If you want to
 test
 # the versions in between, be my guest.
 # Also avoid LLVM GCC 4.2 and GCC 4.2, which are before MacPorts' clang
 3.4 in
 # the fallback list on some systems.
 # NOTE that it is actually the C compiler used in ghc-bootstrap that is
 # relevant here. This code block is duplicated in this port to avoid
 # inconsistencies.
 compiler.blacklist-append \
                 llvm-gcc-4.2 \
                 gcc-4.2 \
                 {clang < 503.0.38} \
                 macports-clang-3.3
 }}}
 the `clang < 503.0.38` blacklists the system compiler on 10.7 and earlier,
 but not on 10.8 and later. It could be that the system compiler on 10.8 is
 simply no longer up to the task. I guess that blacklisting clang on 10.8
 would solve the problem on that OS, but that's probably orthogonal to the
 problem on 10.11.

 Do we have anyone with 10.8?

 Does anyone have ideas about 10.11?

--
Ticket URL: <https://trac.macports.org/ticket/53709#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list