23 Jun
2026
23 Jun
'26
5:48 p.m.
On Tue, Jun 23, 2026 at 6:44 AM Zubin Duggal
Which platform/OS are you building on and how did you obtain GHC?
Oh I should have mentioned, it's OSX, 26.5.1. Obtained via ghcup, and using the "ghcup" channel rather than vanilla. However, I just tested this with linux on a GCP VM and ghc 9.10.3 and I still see the issue. One thing, I see in your non-reproduction that it says "[1 of 3] Compiling BugA ( BugA.hs, BugA.o )", which implies -fobject-code is still on. The bug only seems to happen when you are in bytecode mode, but there are .o files available to load, so you'd have to restart ghci without -fobject-code.