Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Some problems under NetBSD/amd64-current



Hi,

Martin Husemann <martin%duskware.de@localhost> writes:

> On Mon, Jul 20, 2026 at 06:07:18PM +0900, Ryo ONODERA wrote:
>> > (3) dig(1) fails with assertion
>> > $ dig txt _spf.google.com
>> > assertion "ALIGNED_P(q, obj->tlsalign)" failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
>> > zsh: abort (core dumped)  dig txt _spf.google.com
>
> The assertions in ld.elf_so(1) have just been enabled yesterday.
> So probably an old problem that has gone unnoticed so far.
>
> If you need a quick workaround for your system, remove the DEBUG 
> define from ld.elf_so compilation:

I am surprised to hear basic command is affected by such assertion.

If (3) was not related to (1) and (2), my report was redundant.

Thank you.

> RCS file: /cvsroot/src/libexec/ld.elf_so/Makefile,v
> retrieving revision 1.156
> diff -c -u -p -r1.156 Makefile
> --- Makefile    19 Jul 2026 20:06:42 -0000      1.156
> +++ Makefile    20 Jul 2026 09:12:28 -0000
> @@ -122,7 +122,7 @@ CPPFLAGS+=  -DHAVE_INITFINI_ARRAY
>  .if ${LDELFSO_MACHINE_ARCH} == "powerpc"
>  CPPFLAGS+=     -DRTLD_MAP_OBJECT_FIXUP
>  .endif
> -CPPFLAGS+=     -DDEBUG
> +#CPPFLAGS+=    -DDEBUG
>  #CPPFLAGS+=    -DRTLD_DEBUG
>  #CPPFLAGS+=    -DRTLD_DEBUG_RELOC
>  #CPPFLAGS+=    -DMALLOC_DEBUG
>
>
> Martin

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index