From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57789: Emacs 28.1 clone build with native compilation crashes on s390x Date: Fri, 3 Jan 2025 12:59:24 -0600 Message-ID: References: <87h71aix5r.fsf@trouble.defaultvalue.org> <83tu5a3cdw.fsf@gnu.org> <87pmfxhfoz.fsf@trouble.defaultvalue.org> <87mtb1hfl6.fsf@trouble.defaultvalue.org> <87tu55k90g.fsf@trouble.defaultvalue.org> <83pmftz1pn.fsf@gnu.org> <871qs0trcx.fsf@trouble.defaultvalue.org> <87y0ztc27x.fsf@trouble.defaultvalue.org> <87r05jagqq.fsf@trouble.defaultvalue.org> 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="34919"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 57789@debbugs.gnu.org, Eli Zaretskii To: Rob Browning , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 20:00:21 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tTmuC-0008s6-FM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 20:00:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTmu0-0002j1-0M; Fri, 03 Jan 2025 14:00:08 -0500 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 1tTmtv-0002f8-EO for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 14:00:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTmtv-00026G-3u for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 14:00:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=kwBPQCCwx8ktvKr9V4gELaE4Eei/D/4DNCA27vkqvKU=; b=SQDtO4bkpj0pYotyBzrRZkwBSN1bhFg5Zf24G/acWwVjJmvkgcf58PSaMCwt0uGTOh9Qh2BkTEvB1zNgYmWB1bVuNWR8QTz9Ywhahvav1g8sCFZ9zIZREBZvkcZZ6eVOvL9oWHOmlvzeltBwz1/B8CWLiAh5Ulnnv8oxPRLVBrVqgBDd7WX8fiiIxY1h4o0TiORZV3es9pCgZaTH0jsVnyaiDMZxq3zLE0Ra8RyxaiwD7Q5mRso9t1zbtiUdhqh2OclzeMHae57vU5BaAA0H46U3TO+/A7DcMQxu1u+LJ8AtCbL+dH0KEYlwLTW86N71aSqzQaLqtPqW+4cyiVoolA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTmtu-0001mg-P0 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 14:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57789-submit@debbugs.gnu.org id=B57789.17359307756754 (code B ref 57789); Fri, 03 Jan 2025 19:00:02 +0000 Original-Received: (at 57789) by debbugs.gnu.org; 3 Jan 2025 18:59:35 +0000 Original-Received: from localhost ([127.0.0.1]:52077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTmtR-0001kn-US for submit@debbugs.gnu.org; Fri, 03 Jan 2025 13:59:34 -0500 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:43067) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTmtP-0001kA-O5 for 57789@debbugs.gnu.org; Fri, 03 Jan 2025 13:59:32 -0500 Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5d3e829ff44so25047982a12.0 for <57789@debbugs.gnu.org>; Fri, 03 Jan 2025 10:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735930765; x=1736535565; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=kwBPQCCwx8ktvKr9V4gELaE4Eei/D/4DNCA27vkqvKU=; b=K7qkDUN1hI2hxaWQXB4JIcIGQ9UZkaVKOUBPMptYIt25h5ZVt5D9BxgoMVIM/y3S6P 2btoQ7jf1dup0uijvglDaJ87IFlbHNJ7Uagx67ixJVlcCmZQ/xHsLv++aU1TOP/Z5WMy 7UCOgwEiY3wU7WFzpVixnucR+8T3H1LMwWwXm5v1qyQ63iEyRe8UtTjNAOQe2bZST4/K wgTFOHx7kJNuvqPJvBkGwLGkF37R4O+0+K/UQ0/3zvpDgoVbBXjE7KbKBJ50JdFb335y 5qrs7yL4rDWfpv+xKFmPgVZ2uXTqgKnLwsZLoCwKjIinrwnJoJdaTmZHpvwXJN0E4p8k TA2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735930765; x=1736535565; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=kwBPQCCwx8ktvKr9V4gELaE4Eei/D/4DNCA27vkqvKU=; b=sb8iIKF/svCLt+gykY2Cmw9zjZ36JUx3AOQTWbOrMyPdT+fHWP63LVDMd0Yrkx3ifl qC5bvgPgfusqX1V5AS9G5FraZgkkNyryPEEsH/M+FM9uKrIt7scS58xh3VgjYoSUrjCX hGgrazAUnEzVwLeRvIL2UAGLLVrHEAa+Z/TZb41uefzqvzSJqZ4K/5tYOZizVN2dqxaF 4mbkO2GAwAsUJB6oO8g3XfwVOy3Ca2aBJ/1U1zFu3zMCEVeBr9xsjPmu54dIz05KaxQz lp4yNO+Zb2gvchnmP40rraQLFdPYNkq4TQYbe+snjBGuT2XdZHesOO2ID75hZIMCrGs1 qKOg== X-Forwarded-Encrypted: i=1; AJvYcCXcKNlFG1yQEcBBbJB8ZRUn071ff0v/k/gXjbv3wKsf0EpTuINnkhFlvjvu9DoxsHC6jV9sZA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxa0vJ4fZZVUBKGOutoXwUbYg8zquMpNKKFOJVHrSjK/sxp68n6 ktNO9odG9Ku654vSQesQUfOk2Fut/jLK0Xo3xp2cBerzctQY5bx/QQidjjd6RvIwrKejGmwGsW4 173RjqfcrcjKaZYTUeQetB403Tqs= X-Gm-Gg: ASbGncs3ymcr5zC6sCRtc7XGbjzbzeqk8EZcVjMgYGWgWGn6U+nRHvpWTx+OmeJjuFS lBBy49Oy+vQoPqtjHXxH7WydMcg+X7QADXq+Cf8k= X-Google-Smtp-Source: AGHT+IEFIL2qXN9Yx6h91zEwkJaAXxja/CXGybekXpPoCnD7Cy3SjGYmXSJqroYceNAYB+uiFwCS7dhOdAI/S3Yo8Ug= X-Received: by 2002:a05:6402:3513:b0:5d3:e9fd:9a16 with SMTP id 4fb4d7f45d1cf-5d80245b6e8mr47363642a12.12.1735930765177; Fri, 03 Jan 2025 10:59:25 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Jan 2025 12:59:24 -0600 In-Reply-To: <87r05jagqq.fsf@trouble.defaultvalue.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298300 Archived-At: Rob Browning writes: > In any case, I just tried both the current Debian package and an > upstream emcs-29.4 checkout on zelenka.debian.org, and both fail. > > The emacs-29.4 tree fails like this: > > make[3]: Entering directory '/home/rlb/emacs/admin/unidata' > make[3]: Nothing to be done for 'charscript.el'. > make[3]: Leaving directory '/home/rlb/emacs/admin/unidata' > make -C ../admin/unidata emoji-zwj.el > make[3]: Entering directory '/home/rlb/emacs/admin/unidata' > make[3]: Nothing to be done for 'emoji-zwj.el'. > make[3]: Leaving directory '/home/rlb/emacs/admin/unidata' > ELC+ELN ../lisp/emacs-lisp/eldoc.elc > > Error: wrong-type-argument ("../lisp/emacs-lisp/eldoc.el" hash-table-p [u= nbound unbound unbound unbound unbound unbound unbound unbound unbound unbo= und unbound unbound unbound unbound unbound unbound unbound unbound unbound= unbound unbound unbound unbound unbound unbound unbound unbound unbound un= bound unbound unbound unbound unbound unbound unbound unbound unbound unbou= nd unbound unbound unbound unbound unbound unbound unbound unbound unbound = unbound unbound unbound unbound unbound unbound unbound unbound unbound unb= ound unbound unbound unbound unbound unbound unbound unbound unbound unboun= d unbound unbound unbound unbound unbound unbound unbound unbound unbound u= nbound unbound unbound unbound unbound unbound unbound unbound unbound unbo= und unbound unbound unbound unbound unbound unbound unbound unbound unbound= unbound unbound unbound unbound unbound unbound unbound unbound unbound un= bound unbound unbound unbound unbound unbound unbound unbound unbound unbou= nd unbound unbound unbound unbound unbound unbound unbound unbound unbound = unbound unbound unbound unbound unbound unbound unbound unbound]) > Fatal error 11: Segmentation fault > Backtrace: > ../src/bootstrap-emacs(emacs_backtrace+0x46) [0x2aa1c2f12f6] > ../src/bootstrap-emacs(terminate_due_to_signal+0x9e) [0x2aa1c18fb76] > ../src/bootstrap-emacs(+0x8fdde) [0x2aa1c18fdde] > ../src/bootstrap-emacs(+0x1ef45a) [0x2aa1c2ef45a] > ../src/bootstrap-emacs(+0x1ef4a2) [0x2aa1c2ef4a2] > linux-vdso64.so.1(__kernel_rt_sigreturn+0x0) [0x3ffdc0e5480] > ../src/bootstrap-emacs(+0x2433a4) [0x2aa1c3433a4] > ../src/bootstrap-emacs(visit_static_gc_roots+0x196) [0x2aa1c342dae] > ../src/bootstrap-emacs(garbage_collect+0x1e6) [0x2aa1c3445d6] > ../src/bootstrap-emacs(eval_sub+0x54c) [0x2aa1c370244] > ../src/bootstrap-emacs(eval_sub+0x4ac) [0x2aa1c3701a4] > ../src/bootstrap-emacs(Fcond+0x84) [0x2aa1c3711f4] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Fwhile+0x6e) [0x2aa1c370fb6] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Flet+0x2e2) [0x2aa1c374012] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Fcond+0x84) [0x2aa1c3711f4] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(+0x271716) [0x2aa1c371716] > ../src/bootstrap-emacs(+0x27362c) [0x2aa1c37362c] > ../src/bootstrap-emacs(eval_sub+0x290) [0x2aa1c36ff88] > ../src/bootstrap-emacs(Fsetq+0xa8) [0x2aa1c370ab0] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Fwhile+0x6e) [0x2aa1c370fb6] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Flet+0x2e2) [0x2aa1c374012] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Fcond+0x84) [0x2aa1c3711f4] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(+0x271716) [0x2aa1c371716] > ../src/bootstrap-emacs(+0x27362c) [0x2aa1c37362c] > ../src/bootstrap-emacs(eval_sub+0x290) [0x2aa1c36ff88] > ../src/bootstrap-emacs(Fsetq+0xa8) [0x2aa1c370ab0] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Fwhile+0x6e) [0x2aa1c370fb6] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Flet+0x2e2) [0x2aa1c374012] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ../src/bootstrap-emacs(Fcond+0x84) [0x2aa1c3711f4] > ../src/bootstrap-emacs(eval_sub+0x8d2) [0x2aa1c3705ca] > ... > make[3]: *** [Makefile:282: ../lisp/emacs-lisp/eldoc.elc] Segmentation fa= ult > make[2]: *** [Makefile:841: ../lisp/emacs-lisp/eldoc.elc] Error 2 > make[2]: Leaving directory '/home/rlb/emacs/src' > make[1]: *** [Makefile:544: src] Error 2 > make[1]: Leaving directory '/home/rlb/emacs' > make[1]: Entering directory '/home/rlb/emacs' > *** > *** "make all" failed with exit status 2. > *** > *** You could try to: > *** - run "make bootstrap", which might fix the problem > *** - run "make V=3D1", which displays the full commands invoked by make, > *** to further investigate the problem > *** > make[1]: *** [Makefile:414: advice-on-failure] Error 2 > make[1]: Leaving directory '/home/rlb/emacs' > make: *** [Makefile:370: all] Error 2 > > Hope this helps Thanks. Could you run the crashing command under GDB, and when it segfaults, produce the C-level and Lisp-level backtrace, and post them here? There are instructions in DEBUG for how to do it. Make sure to configure the build according to DEBUG, i.e. something like ./configure --enable-checking=3D'yes,glyphs' --enable-check-lisp-object-t= ype \ CFLAGS=3D'-O0 -g3'