valgrind can run the OpenSmalltalk (a dialect or fork of Squeak) interpreter on 
OpenIndiana.

I reported a bug (not sure this is really a bug) for it  #17199.

This relates to https://illumos.org/man/7/epoll  because epoll can be enabled 
for OpenSmalltalk on OpenIndiana.

This is to my knowledge, different from Solaris, as the Illumos kernel supports 
Linux epoll.

OpenSmalltalk on Linux also has some issues with epoll (some Linux users prefer 
to disable the Linux epoll support in OpenSmalltalk).

The Illumos manpage states 

"The epoll facility is implemented for purposes of offering compatibility
 to and portability of Linux-borne applications; native applications
 should continue to prefer using event ports via the port_create(3C),
 port_associate(3C) and port_getn(3C) interfaces."

So in fact, it may be better to simply disable epoll for OpenSmalltalk, but if 
it is enabled, valgrind emits messages related to epoll_ctl().

Regards,
David Stes


----- Op 15 feb 2025 om 8:50 schreef Paul Floyd via oi-dev 
oi-dev@openindiana.org:

> Hi
> 
> Just joined the list, and by coincidence I saw
> 
> <quote>
> Am 12.01.25 um 10:48 schrieb Cedric Blancher:
> > Good morning!
> >
> > Does OpenIndiana have a valgrind package? Illumos/x86-64 is supported
> > by valgrind
> >
> > Ced
> ╰─➤  pkg list -a|grep valgrind
> developer/debug/valgrind 3.22.0-2023.0.0.0          ---
> 
> We have it but I don't use it because it is not in a good shape. We had
> many failing tests last time I checked.
> </quote>
> 
> Well the good news is that I'm a Valgrind maintainer and I just pushed a
> few fixes for Solaris and Illumos.
> 
> The most important of these concerns signal handling. The functions that
> create and destroy Valgrind's synthesized sigframe were causing
> segfaults. I didn't debug the exact cause, something related to
> optimisations done by GCC.
> 
> I'll be asking more questions as I try to clean up more of the
> outstanding issues.
> 
> A+
> Paul
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to