
#15529: runtime bug when profiling retainers -------------------------------------+------------------------------------- Reporter: flip101 | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5075 Wiki Page: | -------------------------------------+------------------------------------- Comment (by flip101): I tried the ghc-8.6 branch but i get build errors. Now it's becomming too difficult to check this for me, i will wait until it lands in stack nightly or if anyone can help. {{{#!bash # # install ghc # sudo apt install git autoconf automake libtool make gcc g++ libgmp-dev ncurses-dev libtinfo-dev python3 xz-utils clang-5.0 clang-6.0 llvm-5.0 llvm-6.0 mkdir ghc-8.6-install git clone --single-branch --branch ghc-8.6 --recursive git://git.haskell.org/ghc.git ghc-8.6 cd ghc-8.6 ./boot PATH=~/.stack/programs/x86_64-linux/ghc-8.4.3/bin:$PATH /usr/bin/time ./configure --prefix=~/haskell/forks/ghc-8.6-install /usr/bin/time make -j3 /usr/bin/time make test THREADS=3 /usr/bin/time make make install # # build project # cd ~/haskell/myproject # version check PATH=~/haskell/forks/ghc-8.6-install/bin:$PATH stack exec ghc --skip-ghc- check --system-ghc --allow-different-user -- --version PATH=~/haskell/forks/ghc-8.6-install/bin:$PATH stack clean --skip-ghc- check --system-ghc --allow-different-user # step with error PATH=~/haskell/forks/ghc-8.6-install/bin:$PATH stack build -j2 --skip-ghc- check --system-ghc --allow-different-user # not-completed steps: PATH=~/haskell/forks/ghc-8.6-install/bin:$PATH stack build -j2 --skip-ghc- check --system-ghc --allow-different-user --ghc-options '-O0 -rtsopts=all -fprof-auto -fprof-auto-calls -fprof-cafs' --executable-profiling PATH=~/haskell/forks/ghc-8.6-install/bin:$PATH stack exec vfix --skip-ghc- check --system-ghc --allow-different-user -- +RTS -hr -sstderr }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15529#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler