[plt-scheme] 3m core dumps in openbsd-3.9-current

From: Jaime Vargas (jev at mac.com)
Date: Fri Aug 4 13:20:17 EDT 2006

This time it worked. Thx.  -- Jaime

On Aug 4, 2006, at 11:23 AM, Matthew Flatt wrote:

> I guess there's no consistency at all for a signal handler's  
> prototype.
> I've changed it to match OpenBSD's prototype (based on man pages I
> found on the web).
>
> Let me know if that works...
>
> Matthew
>
> At Fri, 4 Aug 2006 11:14:17 -0400, Jaime Vargas wrote:
>> On Aug 4, 2006, at 11:04 AM, Matthew Flatt wrote:
>>
>>> I changed the 3m write-barrier signal handler so that it should now
>>> work for OpenBSD (and many other Unix variants).
>>>
>>> Please update plt/src/mzscheme/gc2/sighand.c, remove
>>> <build>/mzscheme/gc2/gc2.o, and then retry `make 3m'.
>>
>> Hmm. The compiler didn't like the change.
>>
>> gcc -g -O2 -DNEWGC_BTC_ACCOUNT  -DMZ_NO_ICONV -I./.. -I./../ 
>> include  -
>> Wall  -c ./gc2.c -o gc2.o
>> In file included from newgc.c:1772,
>>                   from gc2.c:15:
>> sighand.c:61: warning: `struct siginfo' declared inside parameter  
>> list
>> sighand.c:61: warning: its scope is only this definition or
>> declaration, which is probably not what you want
>> sighand.c: In function `fault_handler':
>> sighand.c:63: error: dereferencing pointer to incomplete type
>> sighand.c: In function `initialize_signal_handler':
>> sighand.c:82: warning: assignment from incompatible pointer type
>> gmake[4]: *** [gc2.o] Error 1
>> gmake[4]: Leaving directory `/home/jvargas/plt/src/mzscheme/gc2'
>> gmake[3]: *** [all] Error 2
>> gmake[3]: Leaving directory `/home/jvargas/plt/src/mzscheme/gc2'
>> gmake[2]: *** [3m] Error 2
>> gmake[2]: Leaving directory `/home/jvargas/plt/src/mzscheme'
>> gmake[1]: *** [mz3m] Error 2
>> gmake[1]: Leaving directory `/home/jvargas/plt/src'
>> gmake: *** [3m] Error 2

--
Jaime E. Vargas
601 Birch St. SW
Vienna, VA 22180
M. 703-628-3529
Skype: JaimeV7


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20060804/0b78e15a/attachment.html>

Posted on the users mailing list.