I think this commit broke building without places support:
http://git.racket-lang.org/plt/commitdiff/d6bfd0688a471fc814e3c363a96cd67d4bdfb7c9
since `mz_proc_thread_self()` is declared in mzrt.c only when
MZ_UZE_MZRT is defined. Thus we cannot use it in sighand.c without
checking if it's available first.

The attached patch should fix the problem.

--- a/plt-5.0/src/racket/gc2/sighand.c	2010-07-04 11:47:22.000000000 +0400
+++ b/plt-5.0/src/racket/gc2/sighand.c	2010-07-04 11:48:09.000000000 +0400
@@ -55,7 +55,11 @@
       /* supposedly its coming from the user via kill */
       /* so just ignore it. */
       printf("SIGSEGV SI_USER SI_CODE %i fault on addr %p\n", c, p);
+      #ifdef MZ_USE_PLACES
       printf("pid %i uid %i thread %lx\n", si->si_pid, si->si_uid, mz_proc_thread_self());
+      #else
+      printf("pid %i uid %i\n", si->si_pid, si->si_uid);
+      #endif      
       return;
     }
     if (c == 128 ) {
-- 
Happy Hacking.

http://sphinx.net.ru
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Reply via email to