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

GHC ghc-devs at haskell.org
Sun Oct 8 17:23:28 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 mboes):

 On FreeBSD 10.1-RELEASE-p1, I get a bunch of e.g.

 {{{
 ...
 ld.lld: error: Section has flags incompatible with others with the same
 name libraries/ghc-prim/dist-install/build/GHC/CString.o:(.text.sFl_info)
 ...
 }}}

 errors and the build fails. Passing `--disable-ld-override` fixes this. It
 should probably be added automatically on this platform through auto
 configuration (hard for users to guess upfront what combination of
 `./configure` flags will make the build succeed).

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


More information about the ghc-tickets mailing list