If I try to compile an extension using CGC (instead of 3m), I get the following error: $mzc --cgc --ld example.so example.o example_wrap.o link-extension: (/usr/bin/gcc -fPIC -shared example.o example_wrap.o /usr/lib/racket/mzdyn.o -o example.so) link-extension: gcc-4.4.real: /usr/lib/racket/mzdyn.o: No such file or directory I think it'll just be a matter of setting the correct compilation flags. Cheers, Rafael
Actually, it's a matter of the amd64 packages using the 3m garbage collector instead of CGC. Our packages, like upstreams, only provide the binaries/libraries for one GC which means you have /usr/lib/racket/mzdyn3m.o installed, not /usr/lib/racket/mzdyn.o. The description of the racket package specifies which GC was built. I consider this reasonable behavior and will close the bug unless you have any objections.
I think that, ideally, both would be added. However, I understand that it might be technically complicated. So I suggest that mzc returns a small explanation of the error. Something in the lines: CGC garbage collector not supported. what do you think? The current error makes it look like there's something wrong with the package or the system. []'s Rafael