[GHC] #15338: ghc-pkg misbehaves after possible miscompilation on m68k and sh4
GHC
ghc-devs at haskell.org
Wed Jul 4 22:07:05 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):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by slyfox):
I think I can reproduce it in qemu-sh4 on ghc-HEAD. Will look at it.
{{{
$ file utils/ghc-pkg/dist-install/build/tmp/ghc-pkg
utils/ghc-pkg/dist-install/build/tmp/ghc-pkg: ELF 32-bit LSB executable,
Renesas SH, version 1 (SYSV), dynamically linked, interpreter /lib/ld-
linux.so.2, for GNU/Linux 3.2.0, not stripped
$ LD_LIBRARY_PATH="$(pwd)/rts/dist/build:"$(for d in $(find -name '*.so' |
fgrep dist-install); do dirname "$(pwd)/$d"; done | tr '$\n' ':') utils
/ghc-pkg/dist-install/build/tmp/ghc-pkg --version
GHC package manager version 8.7.20180704
$ LD_LIBRARY_PATH="$(pwd)/rts/dist/build:"$(for d in $(find -name '*.so' |
fgrep dist-install); do dirname "$(pwd)/$d"; done | tr '$\n' ':') utils
/ghc-pkg/dist-install/build/tmp/ghc-pkg --version | cat
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15338#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list