[M3devel] pthreads on FreeBSD, was: endless exception loop on FreeBSD

Tony Hosking hosking at cs.purdue.edu
Sun Dec 23 20:53:58 CET 2007


On Dec 23, 2007, at 2:48 PM, Olaf Wagner wrote:

> Quoting Tony Hosking <hosking at cs.purdue.edu>:
>
>> Ah!  Lights turning on in my head...
>>
>> It is probably the case that you have neglected to tell the  
>> compiler to
>> avoid using global exception information.  You need to set
>> Global_handler_stack FALSE in m3middle/src/Target.m3 for the
>> pthreads-based targets.
>
> Great! This seems to have done the trick. I've now been able to
> recompile the whole system and run mentor with the FreeBSD pthreads
> library. I'd never have found this setting, because it was nowhere
> near I expected the problem.

Excellent.

> Exception handling is one of the areas I was never familiar with
> in (C)M3. Probably I should learn to understand how the system
> works in this respect, too. Is there any documentation about
> the current state of things apart from the source code?

I'm afraid I don't think there is much in the way of documentation  
other than the code.

> Thanks for your help and the great whole pthreads contribution,

Let me know if you have any other problems.

>
> Olaf
> -- 
> Olaf Wagner -- elego Software Solutions GmbH
>                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin,  
> Germany
> phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23  
> 45 86 95
>    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz:  
> Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:  
> DE163214194
>




More information about the M3devel mailing list