Index | Thread | Search

From:
ASOU Masato <takeasou.masato@gmail.com>
Subject:
Re: ld.so not calling destructor
To:
Alexander Bluhm <bluhm@openbsd.org>, ASOU Masato <takeasou.masato@gmail.com>, tech@openbsd.org, Philip Guenther <guenther@openbsd.org>
Date:
Tue, 19 Aug 2025 15:47:37 +0900

Download raw body.

Thread
On Fri, Aug 15, 2025 at 6:47 PM Martin Pieuchot <mpi@grenadille.net> wrote:
>
> On 12/02/25(Wed) 13:55, Alexander Bluhm wrote:
> > On Fri, Jan 17, 2025 at 02:24:12PM +0900, ASOU Masato wrote:
> > > On Fri, Jan 17, 2025 at 2:19???PM ASOU Masato <takeasou.masato@gmail.com> wrote:
> > > > I applied your patch and following diff:
> >
> > With a slightly different patch for ld.so, only run-regress-prog1
> > of regress is failing.  I moved down the call to _dl_unlink_children()
> > a bit.  Also with this fix, a workaround a patch for llvm-openmp
> > can be removed.  It seems that the callbacks are called in the right
> > order now.
>
> What happened to this?

There is an issue with ld.so where the link to elf_object_t is not
updated when free() the elf_object_t. I am working on fixing this.
However, when I run the make command second time in /usr/src/regress,
an error occurs when the ececute vnconfig -u vnd2a command in
regress/usr.sbin/installboot. Therefore, I am currently investigating
this vnconfig issue.

--
ASOU Masato