[racket-dev] Racket fails to build with backtrace

From: Dmitry Dzhus (dima at sphinx.net.ru)
Date: Sun Jul 4 06:17:52 EDT 2010

I've noticed several problems in `newgc.c` which prevent Racket from
building with backtrace support and I'm sending you two trivial patches
which will hopefully help fix these issues properly.

I think these commits:

http://git.racket-lang.org/plt/commitdiff/9b6ccb1476938785e95474968429359f05d7aaba
http://git.racket-lang.org/plt/commitdiff/706c1b9e00b1534a32f1c5df8ca35b16ec450e89

renamed `GC` to `GC_instance`, but there're some leftovers in
`backtrace.c` and `newgc.c` which lead to build failure due to
undeclared `GC` identifier.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: racket-5.0-rename-gc.patch
Type: text/x-patch
Size: 1666 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100704/39de3bac/attachment.bin>
-------------- next part --------------

Commit
http://git.racket-lang.org/plt/commit/baab09fc1b3cb37b31c13920db230b28e7bde4f0
introduced arity change in `GC_X_variable_stack` but one of the calls in
`newgc.c` was not updated to match new function signature.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: racket-5.0-thread-gc-backtrace.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100704/39de3bac/attachment-0001.bin>
-------------- next part --------------
-- 
Happy Hacking.

http://sphinx.net.ru
?

Posted on the dev mailing list.