From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: MPS: dangling markers Date: Fri, 28 Jun 2024 17:18:17 +0000 Message-ID: <874j9d7zqe.fsf@localhost> References: <87v81u85hv.fsf@localhost> <87frsx81m2.fsf@localhost> <87cyo180y2.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8328"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org, Eli Zaretskii , eller.helmut@gmail.com To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 28 19:17:40 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sNFEC-0001wy-1R for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Jun 2024 19:17:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNFDM-0000kM-QB; Fri, 28 Jun 2024 13:16:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNFDJ-0000k4-8E for emacs-devel@gnu.org; Fri, 28 Jun 2024 13:16:45 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNFDG-0001Oj-G9 for emacs-devel@gnu.org; Fri, 28 Jun 2024 13:16:45 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1AFA3240027 for ; Fri, 28 Jun 2024 19:16:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719595000; bh=Zv7w9WBcjtpg/lfELFORF9RsM+Qz+JrtCXHR8K+1BB0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=XSmy2i+6llZ/u5X1kMzNr9fa/PJ+vnJiIwFsyb3ujhgSQ3DW/qljvRQ6Blu8XIx0k aJjaTsyGTeYkFoNfYtrtBI9He4Z+W898A6WCVhLTz4/FzAKfP8wyM4apnT9T8kGIGD 6IhpDp+1DagDKpeWVjywBUFxco2bQ2ybUJEudjh5A+UfX2PuAI6nRqrPOCJXgjsRJn LE+tk2j/NmGYNTCvFt4lTzMdMmkW56F7QLrcYNxf1PF/iBi8DP4BtVjRJZ5EBIZicw pfavYk02RuhEUJB1vWHimSeRFkn4U5g/SCBzfVwqlYkitCDXF0Z7GXWoMQP0NIpX6g PDLAQDRKvfIgQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W9htZ2cpJz9rxS; Fri, 28 Jun 2024 19:16:38 +0200 (CEST) In-Reply-To: Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320828 Archived-At: Gerd M=C3=B6llmann writes: >> But when we have for (...) for (...) break;, the break will only stop >> the inner loop, no? > > Oh, that's right. Didn't think of that... Shit. Emacs should use C++ so > that one can write real iterators :-(. You only fixed one place where break is used inside DO_MARKERS. But there are two such places ;) > Maybe you can also tell me what the compilation error is? make -j9 boostrap: make[2]: Leaving directory '/home/yantar92/Git/emacs' make actual-all make[2]: Entering directory '/home/yantar92/Git/emacs' make -C lib all make -C doc/lispref info make -C doc/lispintro info make -C doc/emacs info make[3]: Entering directory '/home/yantar92/Git/emacs/doc/lispintro' /bin/mkdir -p ../../info make[3]: Entering directory '/home/yantar92/Git/emacs/doc/lispref' /bin/mkdir -p ../../info GEN ../../info/eintr.info GEN info/dir cp elisp_type_hierarchy.txt ../../info/elisp_type_hierarchy.txt cp elisp_type_hierarchy.jpg ../../info/elisp_type_hierarchy.jpg make[3]: Entering directory '/home/yantar92/Git/emacs/doc/emacs' GEN ../../info/emacs.info GEN ../../info/elisp.info make[3]: Entering directory '/home/yantar92/Git/emacs/lib' GEN alloca.h GEN dirent.h GEN fcntl.h GEN inttypes.h GEN limits.h GEN signal.h GEN stddef.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/random.h GEN sys/select.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN unistd.h CC fingerprint.o CC acl-errno-valid.o CC acl-internal.o CC get-permissions.o CC set-permissions.o CC allocator.o CC binary-io.o CC boot-time.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC careadlinkat.o CC close-stream.o CC copy-file-range.o CC md5-stream.o CC md5.o CC sha1.o CC sha256.o CC sha512.o CC dtoastr.o CC dtotimespec.o CC fcntl.o CC file-has-acl.o CC filemode.o CC filevercmp.o CC fsusage.o CC gettime.o CC memset_explicit.o CC nanosleep.o CC nproc.o CC nstrftime.o CC pipe2.o CC qcopy-acl.o CC sig2str.o CC stat-time.o CC tempname.o CC time_rz.o CC timespec.o CC timespec-add.o CC timespec-sub.o CC u64.o CC unistd.o CC openat-die.o CC save-cwd.o AR libgnu.a make[3]: Leaving directory '/home/yantar92/Git/emacs/lib' make -C lib-src all make[3]: Entering directory '/home/yantar92/Git/emacs/lib-src' CCLD etags CCLD ctags CCLD emacsclient CCLD ebrowse CCLD hexl CC pop.o CCLD make-docfile CCLD make-fingerprint CCLD seccomp-filter CCLD movemail GEN seccomp-filter.bpf GEN seccomp-filter-exec.bpf make[3]: Leaving directory '/home/yantar92/Git/emacs/lib-src' make -C src BIN_DESTDIR=3D''/usr/local/bin/'' \ ELN_DESTDIR=3D'/usr/local/lib/emacs/31.0.50/' all make[3]: Entering directory '/home/yantar92/Git/emacs/src' GEN globals.h GEN buildobj.h make -C ../admin/charsets all make -C ../admin/unidata charscript.el make[4]: Entering directory '/home/yantar92/Git/emacs/admin/unidata' make -C ../admin/unidata emoji-zwj.el make -C ../admin/charsets cp51932.el make[4]: Entering directory '/home/yantar92/Git/emacs/admin/unidata' make[4]: Entering directory '/home/yantar92/Git/emacs/admin/charsets' make[4]: Nothing to be done for 'cp51932.el'. make[4]: Leaving directory '/home/yantar92/Git/emacs/admin/charsets' make -C ../admin/charsets eucjp-ms.el make[4]: Entering directory '/home/yantar92/Git/emacs/admin/charsets' make[4]: Nothing to be done for 'eucjp-ms.el'. make[4]: Leaving directory '/home/yantar92/Git/emacs/admin/charsets' make[4]: Nothing to be done for 'emoji-zwj.el'. make[4]: Leaving directory '/home/yantar92/Git/emacs/admin/unidata' make[4]: Nothing to be done for 'charscript.el'. make[4]: Leaving directory '/home/yantar92/Git/emacs/admin/unidata' make[4]: Entering directory '/home/yantar92/Git/emacs/admin/charsets' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/yantar92/Git/emacs/admin/charsets' CC dispnew.o CC frame.o CC scroll.o CC xdisp.o CC menu.o CC xmenu.o CC window.o CC charset.o CC coding.o CC category.o make[3]: Leaving directory '/home/yantar92/Git/emacs/doc/lispintro' CC ccl.o CC character.o CC chartab.o CC bidi.o CC cm.o CC term.o CC terminal.o CC xfaces.o CC xterm.o CC xfns.o CC xselect.o CC xrdb.o coding.c: In function =E2=80=98decode_coding_charset=E2=80=99: coding.c:5562:18: warning: potential null pointer dereference [-Wnull-deref= erence] 5562 | if (charset->id !=3D charset_ascii | ~~~~~~~^~~~ CC xsmfns.o CC xsettings.o CC gtkutil.o CC emacsgtkfixed.o CC dbusbind.o CC emacs.o CC keyboard.o CC macros.o CC keymap.o CC sysdep.o CC bignum.o CC buffer.o CC filelock.o CC insdel.o CC marker.o CC minibuf.o CC fileio.o CC dired.o CC cmds.o CC casetab.o CC casefiddle.o CC indent.o CC search.o CC regex-emacs.o CC undo.o CC alloc.o CC pdumper.o CC data.o CC doc.o CC editfns.o CC callint.o CC eval.o CC floatfns.o CC fns.o CC sort.o CC font.o CC print.o CC lread.o CC emacs-module.o CC syntax.o CC bytecode.o CC comp.o CC dynlib.o CC process.o CC gnutls.o CC callproc.o CC region-cache.o CC sound.o CC timefns.o CC atimer.o CC doprnt.o CC intervals.o CC textprop.o make[3]: Leaving directory '/home/yantar92/Git/emacs/doc/emacs' CC composite.o CC xml.o CC lcms.o CC inotify.o CC profiler.o CC decompress.o CC igc.o CC thread.o CC systhread.o CC sqlite.o CC treesit.o CC itree.o CC json.o CC xfont.o CC ftfont.o CC ftcrfont.o CC hbfont.o CC fontset.o CC fringe.o CC image.o CC textconv.o CC xgselect.o CC terminfo.o CC lastfile.o CCLD temacs GEN ../etc/DOC /bin/mkdir -p ../etc make -C ../lisp update-subdirs make[4]: Entering directory '/home/yantar92/Git/emacs/lisp' make[4]: Leaving directory '/home/yantar92/Git/emacs/lisp' cp -f temacs bootstrap-emacs rm -f bootstrap-emacs.pdmp ./temacs --batch -l loadup --temacs=3Dpbootstrap \ --bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/31.0.50/ root.c:294: Emacs fatal error: assertion failed: AddrIsAligned(limit, sizeo= f(Word)) make[3]: *** [Makefile:1018: bootstrap-emacs.pdmp] Aborted make[3]: Leaving directory '/home/yantar92/Git/emacs/src' make[2]: *** [Makefile:554: src] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/yantar92/Git/emacs/doc/lispref' make[2]: Leaving directory '/home/yantar92/Git/emacs' make[1]: *** [Makefile:1293: actual-bootstrap] Error 2 make[1]: Leaving directory '/home/yantar92/Git/emacs' make[1]: Entering directory '/home/yantar92/Git/emacs' *** *** "make bootstrap" failed with exit status 2. *** *** You could try to: *** - run "make extraclean" and run "make" again (or, equivalently, run *** "make bootstrap configure=3Ddefault"), to rebuild Emacs with the *** default configuration options, which might fix the problem *** - run "git clean -fdx" and run "make bootstrap" again, which might *** fix the problem if "make bootstrap configure=3Ddefault" did not *** !BEWARE! "git clean -fdx" deletes all files that are not under *** !BEWARE! version control, which means that all changes to such *** !BEWARE! files will be lost and cannot be restored later *** - run "make V=3D1", which displays the full commands invoked by make, *** to further investigate the problem *** - report the problem and ask for help by sending an email to *** bug-gnu-emacs@gnu.org, mentioning at least the build error *** message, the platform, and the repository revision displayed by *** "git rev-parse HEAD" *** make[1]: *** [Makefile:418: advice-on-failure] Error 2 make[1]: Leaving directory '/home/yantar92/Git/emacs' make: *** [Makefile:1276: bootstrap] Error 2 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at