Simply by editing master.pike (that's the sole effect --with-relocatable-dumped-modules has AFAICT)?
Not quite the same result, but still some errors:
#### /usr/lib/pike7.8/modules/Locale.pmod/module.pmod: Failed to find name of unencodable object master(). /usr/lib/pike7.8/master.pike:5170: master()->Encoder()->nameof(master(),({0})) /usr/lib/pike7.8/master.pike:5201: master()->Encoder()->nameof(master().joinnode,UNDEFINED) /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:220: /main()->dumpit("/usr/lib/pike7.8/modules/Locale.pmod/module.pmod","/usr/lib/pike7.8/modules/Locale.pmod/module.pmod") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:183: /main()->dumpit("/usr/lib/pike7.8/modules/Locale.pmod","/usr/lib/pike7.8/modules/Locale.pmod") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:183: /main()->dumpit("/usr/lib/pike7.8/modules/","/usr/lib/pike7.8/modules/") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:341: /main()->dump_files() -:1: Pike.Backend(0)->`()(3600.0)
#### /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike: Failed to find name of unencodable object /main(). /usr/lib/pike7.8/master.pike:5170: master()->Encoder()->nameof(/main(),UNDEFINED) /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:220: /main()->dumpit("/usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike","/usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:183: /main()->dumpit("/usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod","/usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:183: /main()->dumpit("/usr/lib/pike7.8/modules/Tools.pmod","/usr/lib/pike7.8/modules/Tools.pmod") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:183: /main()->dumpit("/usr/lib/pike7.8/modules/","/usr/lib/pike7.8/modules/") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:341: /main()->dump_files() -:1: Pike.Backend(0)->`()(3600.0)
#### /usr/lib/pike7.8/modules/Local.pmod: Failed to find name of unencodable object master(). /usr/lib/pike7.8/master.pike:5170: master()->Encoder()->nameof(master(),({0})) /usr/lib/pike7.8/master.pike:5201: master()->Encoder()->nameof(master().joinnode,UNDEFINED) /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:220: /main()->dumpit("/usr/lib/pike7.8/modules/Local.pmod","/usr/lib/pike7.8/modules/Local.pmod") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:183: /main()->dumpit("/usr/lib/pike7.8/modules/","/usr/lib/pike7.8/modules/") /usr/lib/pike7.8/modules/Tools.pmod/Standalone.pmod/dump.pike:341: /main()->dump_files() -:1: Pike.Backend(0)->`()(3600.0)
(Naturally I've deleted all .o files first.)
The debug output leading up to that last one is
resolv("__builtin.automap_marker", "/usr/lib/pike7.8/modules/Local.pmod") => found _static_modules.Builtin()->automap_marker nameof (program Local.pmod) got the thing to encode - encoding recursively nameof (function aggregate) returned "caggregate" nameof (function reverse) returned "creverse" nameof (function __automap__) returned "c__automap__" nameof (program master().joinnode) got parent: master.pike found object for parent program in objects: master() nameof (master master()) found program in objects: master.pike got program of object: master.pike