This also happens with the binary from debian buster 10.4 ,
therefore I don't think it is caused by my specific build
options, which anyway are:
CFLAGS='-g -O2 -fdebug-prefix-map=/home/grfz/src/emacs=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-pie'
LDFLAGS='-Wl,-z,relro -no-pie'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 '
./configure -C --prefix=/usr/local/stow/emacs-snapshot
--with-file-notification=inotify --with-cairo --without-toolkit-scroll-bars
--with-x-toolkit=gtk3 --with-sound=yes --without-gconf --with-mailutils
--with-x=yes --enable-checking=yes --enable-check-lisp-object-type=yes
--with-nativecomp
For me this assertion error is not a big problem since I now
exclude the linux src tree from the tags creation because of
emacs performance reasons.