From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval EXEC Newsgroups: gmane.emacs.devel Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland Date: Sat, 7 Sep 2024 15:46:10 +0800 Message-ID: <7d041be0-0ea9-492a-becd-e76d5fb4142c@gmail.com> References: <8734mezkgo.fsf@gmail.com> <875xrani8k.fsf@gmail.com> <86bk122azc.fsf@gnu.org> <87v7zagcal.fsf@gmail.com> <867cbp3nw7.fsf@gnu.org> <87v7z9msrl.fsf@gmail.com> <874j6tqxyg.fsf@gmail.com> <87jzfpfhmf.fsf@protonmail.com> <87ed5xxp40.fsf@gmail.com> <877cbpfcr3.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25018"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Eli Zaretskii , gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 07 11:57:32 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 1smsCB-0006ML-4Q for ged-emacs-devel@m.gmane-mx.org; Sat, 07 Sep 2024 11:57:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smsBk-0005sJ-0A; Sat, 07 Sep 2024 05:57:04 -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 1smq9D-0000A6-Og for emacs-devel@gnu.org; Sat, 07 Sep 2024 03:46:21 -0400 Original-Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smq9B-0000LW-MU; Sat, 07 Sep 2024 03:46:19 -0400 Original-Received: by mail-pl1-x643.google.com with SMTP id d9443c01a7336-205909afad3so28421165ad.2; Sat, 07 Sep 2024 00:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725695175; x=1726299975; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=biSE80t/M0ExsKULLFVVWHVhMD/Ryw6SnwLm1SZYu1U=; b=A44qxKD+t75xLIE3RCd00pTDwiXNd6pC0q9/kiWndjUUD6ooUsItXBXYp3x92So3b+ IlE08NmA0oou9a1wgLK/RkefBPmDmQweu8rE5G4SC64D4bSDhIotbAaugBNZEA0VqCb9 c5wTV3OMbUpbZ8l2ypzlRYx0sk3qxUoM1MYjRIF64KX4Ee+fXXjFIonwgIj8nXKhxYcq RvcskGg7sEwok9hAavENnYqQcKr2JqLaG/J4eTgJZExPed4SFnBPsRCmQdh57xwGvj2d f9W9jmYmJ2lakLsfh+/eSaoLZUb2w/a68oETl5gIBHURwnoObtOmvXy4iH7E5yj1wZG3 RAxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725695175; x=1726299975; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=biSE80t/M0ExsKULLFVVWHVhMD/Ryw6SnwLm1SZYu1U=; b=ihS4cvusWxf2FQyfVB8n+pGS3XJGjYP8VVOIsxH0pEau15miodZQxcEKeAo1YpATfu m4GHrkkSOQzs1wcaLh/SGoR3vu2bE9q8a/FEGLXJHM9r2EIZag2HtnrmE1LMaKUPcci7 +8l5XMkExTFFxdmXiKCvuye0NZjuhYUn/Xi6Oa6q0XQZBesflphWu4leK613Kchknhmm AT5wdvL5xedd873TjTW35odFL0d4CMD8sCGRpkGe1IdedTOdxsdu26hKbcNFru26Dq3U h8PXqK8oiXPe1UW/q96R6cFGqShD0/04SSmeOMUZjSR5Z00sMlCxpIBZbgtCGW/jgi9x Bmtg== X-Forwarded-Encrypted: i=1; AJvYcCUJSDN/1EfwDlN7GcB+pEAewW9bLyO9jraEfKDG41Iq15WyCfqOH5WyrU5BDcvS5wHoln+/FjJkRHdZzQ==@gnu.org X-Gm-Message-State: AOJu0YxtGm7IVad0AgFvUhE0B6ddfnW7BHM4q9U2VBsn+d5eSkr35zi+ DhBhS4BFCbqzD1C715cZDCQFwQyW+/MjgEfVLA07TH1q8O5qqp14 X-Google-Smtp-Source: AGHT+IEZ1H7G9mVuzGHgo4eG/32s8m3P970Qw4GQ6EDqPvDaU99DHrgvCgdSUscjLY8ic3WpHaWM4Q== X-Received: by 2002:a17:903:1c1:b0:206:96bf:b0d6 with SMTP id d9443c01a7336-2070a7e4cbcmr19205135ad.51.1725695174542; Sat, 07 Sep 2024 00:46:14 -0700 (PDT) Original-Received: from [28.0.0.1] (144.34.182.14.16clouds.com. [144.34.182.14]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20710e33a22sm4696915ad.98.2024.09.07.00.46.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Sep 2024 00:46:14 -0700 (PDT) Content-Language: en-US In-Reply-To: <877cbpfcr3.fsf@protonmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::643; envelope-from=execvy@gmail.com; helo=mail-pl1-x643.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 07 Sep 2024 05:57:02 -0400 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:323487 Archived-At: Hello Pie, how did you compile mps with `-g3 -ggdb -O0`? I can't compile mps: ``` mps on  master ❯ git rev-parse HEAD e2f9497bf3b842fdaa21942da4edd1e6f02b9509 mps on  master ❯ make distclean; ./configure CC=cc --prefix=$(realpath ../mps-build) CFLAGS='-g3 -ggdb -O0 -Wno-error'  && make make -C code -f lii6ll.gmk EXTRA_TARGETS="mpseventcnv mpseventpy mpseventtxt" clean make[1]: Entering directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' lii6ll: clean make[1]: Leaving directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' rm -rf autom4te.cache/ config.log config.status Makefile checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for a BSD-compatible install... /run/current-system/sw/bin/install -c checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /run/current-system/sw/bin/grep checking for egrep... /run/current-system/sw/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target platform... Linux x86_64 checking for gnumake... no checking for gmake... no checking for make... make checking sqlite3.h usability... no checking sqlite3.h presence... no checking for sqlite3.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating example/scheme/Makefile CONFIGURE/MAKE IS NOT THE BEST WAY TO BUILD THE MPS -- see for alternative approaches make -C code -f lii6ll.gmk EXTRA_TARGETS="mpseventcnv mpseventpy mpseventtxt" make[1]: Entering directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' make[2]: Entering directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' make[3]: Entering directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' lii6ll: lii6ll/cool/abq.d lii6ll: lii6ll/cool/arena.d lii6ll: lii6ll/cool/arenacl.d lii6ll: lii6ll/cool/arenavm.d lii6ll: lii6ll/cool/arg.d lii6ll: lii6ll/cool/boot.d lii6ll: lii6ll/cool/bt.d lii6ll: lii6ll/cool/buffer.d lii6ll: lii6ll/cool/cbs.d lii6ll: lii6ll/cool/dbgpool.d lii6ll: lii6ll/cool/dbgpooli.d lii6ll: lii6ll/cool/event.d lii6ll: lii6ll/cool/failover.d lii6ll: lii6ll/cool/format.d lii6ll: lii6ll/cool/freelist.d lii6ll: lii6ll/cool/global.d lii6ll: lii6ll/cool/land.d lii6ll: lii6ll/cool/ld.d lii6ll: lii6ll/cool/locus.d lii6ll: lii6ll/cool/message.d lii6ll: lii6ll/cool/meter.d lii6ll: lii6ll/cool/mpm.d lii6ll: lii6ll/cool/mpsi.d lii6ll: lii6ll/cool/nailboard.d lii6ll: lii6ll/cool/policy.d lii6ll: lii6ll/cool/pool.d lii6ll: lii6ll/cool/poolabs.d lii6ll: lii6ll/cool/poolmfs.d lii6ll: lii6ll/cool/poolmrg.d lii6ll: lii6ll/cool/protocol.d lii6ll: lii6ll/cool/range.d lii6ll: lii6ll/cool/rangetree.d lii6ll: lii6ll/cool/ref.d lii6ll: lii6ll/cool/ring.d lii6ll: lii6ll/cool/root.d lii6ll: lii6ll/cool/sa.d lii6ll: lii6ll/cool/sac.d lii6ll: lii6ll/cool/scan.d lii6ll: lii6ll/cool/seg.d lii6ll: lii6ll/cool/shield.d lii6ll: lii6ll/cool/splay.d lii6ll: lii6ll/cool/ss.d lii6ll: lii6ll/cool/table.d lii6ll: lii6ll/cool/trace.d lii6ll: lii6ll/cool/traceanc.d lii6ll: lii6ll/cool/tract.d lii6ll: lii6ll/cool/trans.d lii6ll: lii6ll/cool/tree.d lii6ll: lii6ll/cool/version.d lii6ll: lii6ll/cool/vm.d lii6ll: lii6ll/cool/walk.d lii6ll: lii6ll/cool/lockix.d lii6ll: lii6ll/cool/prmci6.d lii6ll: lii6ll/cool/prmcix.d lii6ll: lii6ll/cool/prmclii6.d lii6ll: lii6ll/cool/protix.d lii6ll: lii6ll/cool/protsgix.d lii6ll: lii6ll/cool/pthrdext.d lii6ll: lii6ll/cool/span.d lii6ll: lii6ll/cool/thix.d lii6ll: lii6ll/cool/vmix.d lii6ll: lii6ll/cool/poolamc.d lii6ll: lii6ll/cool/poolams.d lii6ll: lii6ll/cool/poolawl.d lii6ll: lii6ll/cool/poollo.d lii6ll: lii6ll/cool/poolmv2.d lii6ll: lii6ll/cool/poolmvff.d lii6ll: lii6ll/cool/poolsnc.d lii6ll: lii6ll/cool/mpsliban.d lii6ll: lii6ll/cool/mpsioan.d lii6ll: lii6ll/cool/fmtdy.d lii6ll: lii6ll/cool/fmtno.d lii6ll: lii6ll/cool/fmtdytst.d lii6ll: lii6ll/cool/fmthe.d lii6ll: lii6ll/cool/fmtscheme.d lii6ll: lii6ll/cool/pooln.d lii6ll: lii6ll/cool/testlib.d lii6ll: lii6ll/cool/testthrix.d lii6ll: lii6ll/cool/eventcnv.d lii6ll: lii6ll/cool/eventpy.d lii6ll: lii6ll/cool/eventtxt.d lii6ll: lii6ll/cool/abqtest.d lii6ll: lii6ll/cool/addrobj.d lii6ll: lii6ll/cool/airtest.d lii6ll: lii6ll/cool/amcss.d lii6ll: lii6ll/cool/amcsshe.d lii6ll: lii6ll/cool/amcssth.d lii6ll: lii6ll/cool/amsss.d lii6ll: lii6ll/cool/amssshe.d lii6ll: lii6ll/cool/apss.d lii6ll: lii6ll/cool/arenacv.d lii6ll: lii6ll/cool/awlut.d lii6ll: lii6ll/cool/awluthe.d lii6ll: lii6ll/cool/awlutth.d lii6ll: lii6ll/cool/btcv.d lii6ll: lii6ll/cool/bttest.d lii6ll: lii6ll/cool/djbench.d lii6ll: lii6ll/cool/extcon.d lii6ll: lii6ll/cool/finalcv.d lii6ll: lii6ll/cool/finaltest.d lii6ll: lii6ll/cool/forktest.d lii6ll: lii6ll/cool/fotest.d lii6ll: lii6ll/cool/gcbench.d lii6ll: lii6ll/cool/landtest.d lii6ll: lii6ll/cool/locbwcss.d lii6ll: lii6ll/cool/lockcov.d lii6ll: lii6ll/cool/lockut.d lii6ll: lii6ll/cool/locusss.d lii6ll: lii6ll/cool/locv.d lii6ll: lii6ll/cool/messtest.d lii6ll: lii6ll/cool/mpmss.d lii6ll: lii6ll/cool/mpsicv.d lii6ll: lii6ll/cool/mv2test.d lii6ll: lii6ll/cool/nailboardtest.d lii6ll: lii6ll/cool/poolncv.d lii6ll: lii6ll/cool/qs.d lii6ll: lii6ll/cool/sacss.d lii6ll: lii6ll/cool/segsmss.d lii6ll: lii6ll/cool/sncss.d lii6ll: lii6ll/cool/steptest.d lii6ll: lii6ll/cool/tagtest.d lii6ll: lii6ll/cool/teletest.d lii6ll: lii6ll/cool/walkt0.d lii6ll: lii6ll/cool/zcoll.d lii6ll: lii6ll/cool/zmess.d lii6ll: lii6ll/cool/ztfm.d lii6ll: lii6ll/cool/abq.o lii6ll: lii6ll/cool/arena.o lii6ll: lii6ll/cool/arenacl.o lii6ll: lii6ll/cool/arenavm.o lii6ll: lii6ll/cool/arg.o lii6ll: lii6ll/cool/boot.o lii6ll: lii6ll/cool/bt.o lii6ll: lii6ll/cool/buffer.o lii6ll: lii6ll/cool/cbs.o lii6ll: lii6ll/cool/dbgpool.o lii6ll: lii6ll/cool/dbgpooli.o lii6ll: lii6ll/cool/event.o lii6ll: lii6ll/cool/failover.o lii6ll: lii6ll/cool/format.o lii6ll: lii6ll/cool/freelist.o lii6ll: lii6ll/cool/global.o lii6ll: lii6ll/cool/land.o lii6ll: lii6ll/cool/ld.o lii6ll: lii6ll/cool/locus.o lii6ll: lii6ll/cool/message.o lii6ll: lii6ll/cool/meter.o lii6ll: lii6ll/cool/mpm.o lii6ll: lii6ll/cool/mpsi.o lii6ll: lii6ll/cool/nailboard.o lii6ll: lii6ll/cool/policy.o lii6ll: lii6ll/cool/pool.o lii6ll: lii6ll/cool/poolabs.o lii6ll: lii6ll/cool/poolmfs.o lii6ll: lii6ll/cool/poolmrg.o lii6ll: lii6ll/cool/protocol.o lii6ll: lii6ll/cool/range.o lii6ll: lii6ll/cool/rangetree.o lii6ll: lii6ll/cool/ref.o lii6ll: lii6ll/cool/ring.o lii6ll: lii6ll/cool/root.o lii6ll: lii6ll/cool/sa.o lii6ll: lii6ll/cool/sac.o lii6ll: lii6ll/cool/scan.o lii6ll: lii6ll/cool/seg.o lii6ll: lii6ll/cool/shield.o lii6ll: lii6ll/cool/splay.o lii6ll: lii6ll/cool/ss.o lii6ll: lii6ll/cool/table.o lii6ll: lii6ll/cool/trace.o lii6ll: lii6ll/cool/traceanc.o lii6ll: lii6ll/cool/tract.o lii6ll: lii6ll/cool/trans.o trans.c:154:9: error: variable 'added' set but not used [-Werror,-Wunused-but-set-variable]   154 |   Count added = 0;       |         ^ 1 error generated. make[3]: *** [comm.gmk:628: lii6ll/cool/trans.o] Error 1 make[3]: Leaving directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' make[2]: *** [comm.gmk:398: target] Error 2 make[2]: Leaving directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' make[1]: *** [comm.gmk:370: mps.a] Error 2 make[1]: Leaving directory '/home/exec/Projects/github.com/Ravenbrook/mps/code' make: *** [Makefile:32: build-via-make] Error 2 ``` On 9/6/24 15:43, Pip Cet wrote: > "Eval EXEC" writes: > >> Hello Pip, what git commit hash or git tag show I compile from https://github.com/Ravenbrook/mps >> Should I compile mps from latest master branch, commit hash: >> e2f9497bf3b842fdaa21942da4edd1e6f02b9509 ? > Yes, please, that's the commit I'm using. > > Pip >