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

GHC ghc-devs at haskell.org
Mon Jul 31 19:22:53 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 bgamari):

 Hmm, this is quite odd; I have no such problem while compiling `lens` with
 `-fuse-ld=gold` on FreeBSD 11.0 (amd64) (although with gcc 4.8.5),
 {{{
 $ freebsd-version
 11.0-RELEASE-p1
 $ pkg info
 gcc-4.8.5_2                    GNU Compiler Collection 4.8
 libiconv-1.14_9                Character set conversion library
 gmp-5.1.3_3                    Free library for arbitrary precision
 arithmetic
 binutils-2.27_4,1              GNU binary tools
 ...
 $ ghc -V
 The Glorious Glasgow Haskell Compilation System, version 8.2.1
 $ ghc --info
  [("Project name","The Glorious Glasgow Haskell Compilation System")
  ,("GCC extra via C opts"," -fwrapv -fno-builtin")
  ,("C compiler command","gcc")
  ,("C compiler flags"," -std=gnu99 -fno-stack-protector")
  ,("C compiler link flags"," -fuse-ld=gold")
  ,("C compiler supports -no-pie","NO")
 ...
 }}}

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


More information about the ghc-tickets mailing list