Hi Solaris developers,

a little bit out of topic. But I hope to get some competent reply from
this list.

I'm trying to run the C# environment mono under Solaris10/x86 and have
problems with the pthreads implementation. I can't state if the procedure 
'pthread_attr_getstack' dosn't work, or if there are prerequisites
missing. The returned values for stack address and stack size are both
zero. The following lines are from the source mini-x86.c. The g_assert
statement is in line 4729:
        
>          r = pthread_attr_getstack( &attr, (void**)&staddr, &stsize );
>         printf( "\n r, staddr, stsize: %d %x %x\n", r, staddr, stsize);
> 
>         g_assert (staddr);




Gmake aborts als follows:


> gmake[7]: Leaving directory `/home/src/mono/118/mcs/jay'
> gmake[6]: Leaving directory `/home/src/mono/118/mcs/jay'
> gmake[6]: Entering directory `/home/src/mono/118/mcs/mcs'
> gmake all-local
> gmake[7]: Entering directory `/home/src/mono/118/mcs/mcs'
> MONO_PATH="../class/lib/basic:
$MONO_PATH" /home/src/mono/118/runtime/mono-wrapper  ../class/lib/basic/mcs.exe 
  
-d:NET_1_1 -d:ONLY_1_1 -debug /target:exe /out:mcs.exe cs-parser.cs  
@mcs.exe.sources
> 
>  r, staddr, stsize: 0 0 0
> 
> ** ERROR **: file mini-x86.c: line 4729 (setup_stack): assertion failed: 
(staddr)
> aborting...

Can any one confirm that pthread_attr_getstack doesn't work yet or tell
me what I have to do to make it work?


-- Guenter
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to