Open ghost opened 2 years ago
I believe I narrowed this down to this newish code by @kilimanjaro: https://github.com/quil-lang/quilc/blob/846f8168ef86646a0fce6f5d649e82d8275122fd/src/tools/circuit-diagram.lisp#L350-L356
I believe this is caused by this rather longstanding issue with SBCL: https://bugs.launchpad.net/sbcl/+bug/309115
It looks like a way to muffle the warning is to just DECLARE (NOTINLINE SORT)
. Haven't tried it though.
This is just recently fixed in master in SBCL, so can probably wait. Fixed in this commit
Was the timing of the SBCL fix a coincidence?
Was the timing of the SBCL fix a coincidence?
Not exactly. Some complaining on the sbcl-devel list helped inspire it.
In SBCL shen you declare compiler policy like so
and build like so
you get this compiler warning
With typical environment settings, this causes ASDF to stop the build. You get thrown into the debugger looking something like this: