Index | Thread | Search

From:
ASOU Masato <takeasou.masato@gmail.com>
Subject:
Re: ld.so not calling destructor
To:
tech@openbsd.org, "mpi@openbsd.org" <mpi@openbsd.org>
Cc:
Masato ASOU <takeasou.masato@gmail.com>
Date:
Wed, 7 Jan 2026 15:22:25 +0900

Download raw body.

Thread
I've put this on hold for now as it's taking a while to investigate
vnconfig.  I'm currently investigating why regress/libexec/ld.so
fails when applying the ld.so patch.
--
ASOU Masato

On Tue, Aug 19, 2025 at 3:47 PM ASOU Masato <takeasou.masato@gmail.com> wrote:
>
> 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