This occurs with gambit-4.8.4, when evaling a custom expander expanded source: *** ERROR IN #:case167, "/usr/local/gambit/v4.8.4/lib/_gambit#.scm"@347.38 -- Unbound variable: ##compilation-options It is a little hard to isolate a test case, but maybe this rings a bell Marc?