[GHC] #15338: ghc-pkg misbehaves after possible miscompilation on m68k and sh4

GHC ghc-devs at haskell.org
Tue Jul 17 09:39:12 UTC 2018


#15338: ghc-pkg misbehaves after possible miscompilation on m68k and sh4
-------------------------------------+-------------------------------------
        Reporter:  glaubitz          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  m68k
 Type of failure:  Incorrect result  |            Test Case:
  at runtime                         |
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4959
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by glaubitz):

 Some packages like haskell-ansi-wl-pprint still seem to have issues
 though:

 {{{
 Running debian/hlibrary.setup configure --ghc -v2 --package-
 db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-
 packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option
 =-optl-Wl\,-z\,relro --haddockdir=/usr/lib/ghc-doc/haddock/ansi-wl-
 pprint-0.6.8.2/ --datasubdir=ansi-wl-pprint --htmldir=/usr/share/doc
 /libghc-ansi-wl-pprint-doc/html/ --enable-library-profiling
 Configuring ansi-wl-pprint-0.6.8.2...
 hlibrary.setup: failed to parse output of 'ghc-pkg dump'
 make: *** [/usr/share/cdbs/1/class/hlibrary.mk:142: configure-ghc-stamp]
 Error 1
 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
 status 2
 }}}

 This is with the patch tested on GHC 8.2.2 with the patch and with
 optimization set to -O0.

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


More information about the ghc-tickets mailing list