fwiw I can't duplicate on MacOS 26.5.2 and ghc 9.12.5 rc2:
ghci -fobject-code
Loaded package environment from /Users/gcolpitts/.ghc/aarch64-darwin-9.12.4.20260614/environments/default
GHCi, version 9.12.4.20260614:
https://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /Users/gcolpitts/.ghci
λ> :load BugC
[1 of 3] Compiling BugA ( BugA.hs, BugA.o )
[2 of 3] Compiling BugB ( BugB.hs, BugB.o )
[3 of 3] Compiling BugC ( BugC.hs, BugC.o )
Ok, three modules loaded.
(0.41 secs,)
λ> bug
ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/aarch64-apple-darwin25/15' ignored
ld: warning: -U option is redundant when using -undefined dynamic_lookup
13
it :: ()
(3.58 secs, 70,664 bytes)
λ> :r
[1 of 3] Compiling BugA ( BugA.hs, BugA.o ) [Source file changed]
Ok, three modules reloaded.
λ> bug
ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/aarch64-apple-darwin25/15' ignored
ld: warning: -U option is redundant when using -undefined dynamic_lookup
14
it :: ()
(0.34 secs, 67,952 bytes)