Current-Users archive

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

Re: Some problems under NetBSD/amd64-current



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:

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


Home | Main Index | Thread Index | Old Index