Hi Chase,

I just tried to get the upgraded dtksh on the master-ksh93-upgrade branch to 
build with musl and it fails because bin/package is missing. If you are looking 
for a traditional SVR4 host to test, I have access to UnixWare.

Kind regards,
Lev

> On Jan 17, 2021, at 16:24, Chase via cdesktopenv-devel 
> <cdesktopenv-devel@lists.sourceforge.net> wrote:
> 
> Marcin you were right, it was ast malloc causing problems, I asked the leader 
> of ksh if there was any way to disable it and he told me to pass 
> -D_std_malloc. OpenBSD works perfectly now. Patch attached. I think we could 
> safely merge this branch now if there are no further objections...
> 
> 
> Thank you for your time,
> -Chase
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Sunday, January 17, 2021 2:48 PM, Marcin Cieslak <sa...@saper.info> wrote:
> 
>> On Sun, 17 Jan 2021, Chase via cdesktopenv-devel wrote:
>> 
>>> Not Working:
>>> OpenBSD 6.7, segfaults whenever free() is called, but this does work with 
>>> the old version, so it is a regression, but OpenBSD couldn't even boot when 
>>> I compiled normal master, it hung at dthello
>> 
>> Is this free() used in ksh, or libc free()? ksh93 brings in a library called 
>> libast which includes its own malloc
>> implementation. You might need to compile ksh93 and libast with debug 
>> symbols to see what's going on there.
>> 
>> One problem with libast's own malloc is that it uses ancient UNIX system 
>> call sbrk(2) which
>> is slowly phased out by FreeBSD - that's the reason why we can't have ksh93 
>> on the latest FreeBSD
>> systems on aarch64 architecture - the system call is simply not there.
>> 
>> Marcin
> 
> <0001-dtksh-use-std-malloc-instead-of-ast-malloc.patch>_______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel



_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to