[GHC] #14064: Compiling problem on FreeBSD 11 ("failed in phase")

GHC ghc-devs at haskell.org
Tue Aug 1 19:05:19 UTC 2017


#14064: Compiling problem on FreeBSD 11 ("failed in phase")
-------------------------------------+-------------------------------------
        Reporter:  ohho              |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  FreeBSD           |         Architecture:  x86_64
 Type of failure:  GHC doesn't work  |  (amd64)
  at all                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ohho):

 Replying to [comment:7 bgamari]:
 > > Notice that line `--with-ld=...` above, if you installed gcc48 from
 ports, then it's configured with `--with-ld=/usr/local/bin/ld`.
 >
 > Sure, but my understanding is that `-fuse-ld=gold` (which I have
 confirmed does get passed to `gcc`) should override this default.
 >

 Yes, that's what I thought, too.\\
 My experience was, `ld` was called instead of `ld.gold`. I'll make further
 sure of that later.\\
 Could you please also confirm that `ld.gold` do get called?

 > > Since it's an unofficial build, I am not sure if I could use it in
 production, especial after seeing some test failures. (I am fairly new to
 GHC building & testing)
 >
 > For better or worse this looks relatively "normal" for a FreeBSD build,
 >
 >  ''... ...''

 Thank you very much for the detailed reply to the test results.

 Again, I'll tweak, build & test later, and keep an eye on those tickets.
 If there's anything I can help, please count me in. :-)

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


More information about the ghc-tickets mailing list