Opened 20 months ago

Last modified 16 months ago

#15064 new bug

T8089 mysteriously fails when GHC is built with LLVM

Reported by: bgamari Owned by: osa1
Priority: highest Milestone: 8.8.1
Component: Compiler (LLVM) Version: 8.2.2
Keywords: ci-breakage Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


CircleCI's LLVM build revealed that T8089 fails. The test is quite simple,

main = threadDelay maxBound

and is expected to timeout. However, it somehow exits with code 0 in all ways when built with LLVM.

This didn't reproduce when I tried make test TEST=T8089 EXTRA_HC_OPTS=-fllvm locally, so either it's a library issue or environment-sensitive.

Change History (6)

comment:1 Changed 20 months ago by bgamari

Priority: normalhighest

Setting priority to highest as this may be miscompilation.

comment:2 Changed 20 months ago by bgamari

Keywords: ci-breakage added

comment:3 Changed 18 months ago by bgamari

Owner: set to bgamari

comment:4 Changed 17 months ago by osa1

Owner: changed from bgamari to osa1

comment:5 Changed 17 months ago by osa1

Can't reproduce locally. Can you share the circleci link that shows the failure? What version of llvm does circleci use?

comment:6 Changed 16 months ago by bgamari


This won't be fixed for GHC 8.6.

Note: See TracTickets for help on using tickets.