From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Andr=C3=A1s?= Svraka Newsgroups: gmane.emacs.bugs Subject: bug#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation Date: Thu, 1 Jun 2023 09:37:26 +0200 Message-ID: <8A3309DB-D869-4D4B-9B04-DC18D0BCD890@gmail.com> References: <86wn1jtezk.fsf@gnu.org> <83jzxjcac9.fsf@gnu.org> <86h6smopo6.fsf@gnu.org> <835y92dfgd.fsf@gnu.org> <86v8h2k475.fsf@gnu.org> <83r0rqaycc.fsf@gnu.org> <86wn1h3dpz.fsf@gnu.org> <835y91brfv.fsf@gnu.org> <86fs849xb0.fsf@gnu.org> <83ild08i8j.fsf@gnu.org> <86y1lwmfcw.fsf@gnu.org> <83ild06sb5.fsf@gnu.org> <83a5yc6m2e.fsf@gnu.org> <86lehbi6pu.fsf@gnu.org> <83r0r3jjka.fsf@gnu.org> <86wn0unbjd.fsf@gnu.org> <83fs7ijou6.fsf@gnu.org> <867csujb31.fsf@gnu.org> <835y8ej9f3.fsf@gnu.org> <86zg5psmnj.fsf@gnu.org> <83h6rxhrmd.fsf@gnu.org> <3C16E19D-FB9F-4EEF-85C2-8A6643663E25@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_275E8888-91B6-4EB4-BC10-85022DFC6AF6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23336"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Arash Esbati , akrl@sdf.org To: 63365@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 01 12:32:48 2023 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 1q4fbq-0005n4-C6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jun 2023 12:32:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4fbB-0006KS-48; Thu, 01 Jun 2023 06:32:05 -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 1q4fb9-0006Jq-Rx for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 06:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4fb9-00067j-Je for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 06:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4fb9-0003I9-Ei for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 06:32:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Andr=C3=A1s?= Svraka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jun 2023 10:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63365 X-GNU-PR-Package: emacs Original-Received: via spool by 63365-submit@debbugs.gnu.org id=B63365.168561550412565 (code B ref 63365); Thu, 01 Jun 2023 10:32:03 +0000 Original-Received: (at 63365) by debbugs.gnu.org; 1 Jun 2023 10:31:44 +0000 Original-Received: from localhost ([127.0.0.1]:37091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4fao-0003GV-Vo for submit@debbugs.gnu.org; Thu, 01 Jun 2023 06:31:44 -0400 Original-Received: from mail-ej1-f41.google.com ([209.85.218.41]:61664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4csU-0006mE-I1 for 63365@debbugs.gnu.org; Thu, 01 Jun 2023 03:37:49 -0400 Original-Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-96fdc081cb3so61091466b.2 for <63365@debbugs.gnu.org>; Thu, 01 Jun 2023 00:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685605060; x=1688197060; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=kTeMNMJUcoSQ8M4FUiqpEbM1mvJKLZnLDe6308NgfiQ=; b=FtTHmFuUGlrMrGi/1CWwjdek3PDvNWfgn2RIvno2p+OcbEK+pqAXKJUI4MxIvvwDge XDQuG2ICdkoy48vPA9wrvX/r4k7tK7tE9wzReJJ7l7Q4MWXwH43USLZhZMhWnAB5jcW3 YydDPI6jCeTV2MFQyrdH8hXGfedXZuFUAs81hJIDevRzcAGCZMzaIA2MPU/bEQSmW6xn X+oLkn1aiSpQDpw/91cFYpRMinX+aCZVNszlmf3yhZmkrY6uV4vMjkLCwT0f5GdSkkUe E2xzM1VnEj6ptr8AYZEQwwDVFxFuD/KwFTU9T8FKlfeYiA9qG/jlyqzfm9eMZhY5s0Ap 8XxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685605060; x=1688197060; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kTeMNMJUcoSQ8M4FUiqpEbM1mvJKLZnLDe6308NgfiQ=; b=dE65YQ+qdjPxaX8WMEhsOB3yAoIpyBFqI/0u7EvTGXIOUSQgyF4aRm/GaUnsB1VosZ gTN6iik05RooC8bhDLa3srDSpEG1ZguAKuXxvd2W8YW9WjQDQdgrs3OG9IWciFmbVxgG H5VrSP+NiGSyWrEj266bmHphtG7PKjoVQNRCeagDlfcGzL6si2eqIMfAifQCBOWYC6Nw nCxg/ZukyK8gQ5DwnkDTj2btkzToQgx+9PDm/GlPEReDr5EcMIH6SEdS2XljDlVqYiN5 YUXBbPD4fx0YYGKRm4ICLyA0k/ODfFmR+HPTG/JLc2D8LBa2YpelrOurIuksL1+nTrXI BhFg== X-Gm-Message-State: AC+VfDxzd8fqKuJsSv95860Ooq6IdJ0F8lqwZNilT2rhnnqO5nR0K9w1 wm2V0wM9N6SEnXCVrulBnVyJHOketDmlEg== X-Google-Smtp-Source: ACHHUZ4HP2wil31l4RIDPACBbFiGs1BKZ5L48/qiUJFszL9m2ASvq7eKphqG9sDnoR3o5oTkiD2gZw== X-Received: by 2002:a17:907:6d9e:b0:96f:c46f:d8fa with SMTP id sb30-20020a1709076d9e00b0096fc46fd8famr7699316ejc.1.1685605060315; Thu, 01 Jun 2023 00:37:40 -0700 (PDT) Original-Received: from smtpclient.apple ([2001:4c4e:1b8e:c900:e9f8:7355:e253:72ca]) by smtp.gmail.com with ESMTPSA id f13-20020a170906560d00b009603d34cfecsm10099438ejq.164.2023.06.01.00.37.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2023 00:37:39 -0700 (PDT) In-Reply-To: <3C16E19D-FB9F-4EEF-85C2-8A6643663E25@gmail.com> X-Mailer: Apple Mail (2.3731.600.7) X-Mailman-Approved-At: Thu, 01 Jun 2023 06:31:36 -0400 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:262689 Archived-At: --Apple-Mail=_275E8888-91B6-4EB4-BC10-85022DFC6AF6 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Sorry, forgot the attachment. --Apple-Mail=_275E8888-91B6-4EB4-BC10-85022DFC6AF6 Content-Disposition: attachment; filename=files.eln.log Content-Type: application/octet-stream; x-unix-mode=0644; name="files.eln.log" Content-Transfer-Encoding: 7bit Attaching to process 6872 [New Thread 6872.0x16a0] [New Thread 6872.0x11e4] Reading symbols from C:\_\B\src\build-UCRT64\src\emacs.exe... (gdb) thread apply all bt Thread 3 (Thread 6872.0x11e4): #0 0x00007ffc3d263021 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll.dll #1 0x00007ffc3d2901be in ntdll!DbgUiRemoteBreakin () from C:\Windows\SYSTEM32\ntdll.dll #2 0x00007ffc3b6a4dd0 in KERNEL32!BaseThreadInitThunk () from C:\Windows\System32\kernel32.dll #3 0x00007ffc3d23e3db in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll #4 0x0000000000000000 in ?? () Thread 2 (Thread 6872.0x16a0): #0 0x00007ffc3d262fc4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\SYSTEM32\ntdll.dll #1 0x00007ffc3d1cb77f in ntdll!RtlInitializeResource () from C:\Windows\SYSTEM32\ntdll.dll #2 0x00007ffc3b6a4dd0 in KERNEL32!BaseThreadInitThunk () from C:\Windows\System32\kernel32.dll #3 0x00007ffc3d23e3db in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll #4 0x0000000000000000 in ?? () Thread 1 (Thread 6872.0xb48): #0 0x00007ffc3a8911c4 in win32u!NtUserWaitMessage () from C:\Windows\System32\win32u.dll #1 0x00007ffc3cbfb25c in USER32!EndDialog () from C:\Windows\System32\user32.dll #2 0x00007ffc3cbfb797 in USER32!EndDialog () from C:\Windows\System32\user32.dll #3 0x00007ffc3cc1ef66 in USER32!SoftModalMessageBox () from C:\Windows\System32\user32.dll #4 0x00007ffc3cc1d8a1 in USER32!DrawStateA () from C:\Windows\System32\user32.dll #5 0x00007ffc3cc1e695 in USER32!MessageBoxTimeoutW () from C:\Windows\System32\user32.dll #6 0x00007ffc3cc1e488 in USER32!MessageBoxTimeoutA () from C:\Windows\System32\user32.dll #7 0x00007ffc3cc1e09e in USER32!MessageBoxA () from C:\Windows\System32\user32.dll #8 0x00007ff6747977d5 in emacs_abort () #9 0x00007ff674696308 in terminate_due_to_signal () #10 0x00007ff6746af949 in deliver_fatal_thread_signal () #11 0x00007ff6747f4992 in _gnu_exception_handler (exception_data=0x121dfa2d0) at C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:213 #12 0x00007ffc3a7c55f0 in ucrtbase!__C_specific_handler () from C:\Windows\System32\ucrtbase.dll #13 0x00007ffc3d2643af in ntdll!.chkstk () from C:\Windows\SYSTEM32\ntdll.dll #14 0x00007ffc3d1f170e in ntdll!RtlVirtualUnwind2 () from C:\Windows\SYSTEM32\ntdll.dll #15 0x00007ffc3d2633be in ntdll!KiUserExceptionDispatcher () from C:\Windows\SYSTEM32\ntdll.dll #16 0x00007ff6747359d1 in print_object () #17 0x00007ff6747373a1 in Fprin1_to_string () #18 0x00007ffc0e2c267b in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_9 (par_0=0x19dd0292503, par_1=) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\byte-opt-9c5f25f5-718f7647.eln #19 0x00007ff67471640f in Ffuncall () #20 0x00007ffc0e2c4007 in F627974652d6f7074696d697a652d666f726d_byte_optimize_form_0 (par_0=, par_1=0x0) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\byte-opt-9c5f25f5-718f764--Type for more, q to quit, c to continue without paging--c 7.eln #21 0x00007ff67471640f in Ffuncall () #22 0x00007ffc0e2c3f7a in F627974652d6f7074696d697a652d6f6e652d666f726d_byte_optimize_one_form_0 (par_0=0x19dd0292503, par_1=0x0) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\byte-opt-9c5f25f5-718f7647.eln #23 0x00007ff67471640f in Ffuncall () #24 0x00007ffc1196511a in F627974652d636f6d70696c652d746f702d6c6576656c_byte_compile_top_level_0 (par_0=0x19dd0292503, par_1=0x0, par_2=0xc0, par_3=0x19dcfaeaf13, par_4=0x0) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #25 0x00007ff6747180fe in funcall_subr () #26 0x00007ff67471640f in Ffuncall () #27 0x00007ffc119641d0 in F627974652d636f6d70696c652d6c616d626461_byte_compile_lambda_0 (par_0=, par_1=, par_2=0x0) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #28 0x00007ff67471640f in Ffuncall () #29 0x00007ffc11961371 in F627974652d636f6d70696c652d66696c652d666f726d2d6465666d756d626c65_byte_compile_file_form_defmumble_0 (par_0=0xffff81a75a3c5950, par_1=0x0, par_2=0x19dd029fd93, par_3=0x19dd0292953, par_4=0x0) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #30 0x00007ff6747180fe in funcall_subr () #31 0x00007ff67471640f in Ffuncall () #32 0x00007ff6747557b8 in exec_byte_code () #33 0x00007ff674719ba5 in funcall_lambda () #34 0x00007ff6747163c9 in Ffuncall () #35 0x00007ffc11976623 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_84 (par_0=par_0@entry=0x19dd02929c3, par_1=par_1@entry=0xffff81a75a3c5950, par_2=par_2@entry=0x0, par_3=par_3@entry=0x19dd0292993, par_4=par_4@entry=0x0, par_5=0x19dd0292973) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #36 0x00007ffc11976727 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_85 (par_0=par_0@entry=0x19dd02929c3, par_1=par_1@entry=0xffff81a75a3c5950, par_2=par_2@entry=0x0, par_3=0x19dd0292993, par_4=0x0) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #37 0x00007ffc11976ac1 in F627974652d636f6d70696c652d66696c652d666f726d2d646566616c696173_byte_compile_file_form_defalias_0 (par_0=0x19dd02929c3) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #38 0x00007ff67471640f in Ffuncall () #39 0x00007ffc1195fb44 in F627974652d636f6d70696c652d66696c652d666f726d_byte_compile_file_form_0 (par_0=0x19dd02929c3) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #40 0x00007ff67471640f in Ffuncall () #41 0x00007ffc1195fa66 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47 (par_0=0x19dd029fb03) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #42 0x00007ff67471640f in Ffuncall () #43 0x00007ffc119520a3 in F627974652d636f6d70696c652d726563757273652d746f706c6576656c_byte_compile_recurse_toplevel_0 (par_0=0x19dd029fd33, par_1=0x19dcfe50a45) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #44 0x00007ff67471640f in Ffuncall () #45 0x00007ffc1195facd in F627974652d636f6d70696c652d746f706c6576656c2d66696c652d666f726d_byte_compile_toplevel_file_form_0 (par_0=) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #46 0x00007ff67471640f in Ffuncall () #47 0x00007ffc1195db33 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_45 (par_0=0x19dd012c355) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #48 0x00007ff67471640f in Ffuncall () #49 0x00007ffc1195e31f in F627974652d636f6d70696c652d66726f6d2d627566666572_byte_compile_from_buffer_0 (par_0=) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #50 0x00007ff67471640f in Ffuncall () #51 0x00007ffc1195c3c7 in F627974652d636f6d70696c652d66696c65_byte_compile_file_0 (par_0=, par_1=) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\bytecomp-12882072-4d43b0ac.eln #52 0x00007ff67471640f in Ffuncall () #53 0x00007ff6747557b8 in exec_byte_code () #54 0x00007ff674719ba5 in funcall_lambda () #55 0x00007ff6747163c9 in Ffuncall () #56 0x00007ff674718950 in Fapply () #57 0x00007ff67471640f in Ffuncall () #58 0x00007ff6747557b8 in exec_byte_code () #59 0x00007ff674719ba5 in funcall_lambda () #60 0x00007ff6747163c9 in Ffuncall () #61 0x00007ffc0ec7b2e5 in F636f6d702d7370696c6c2d6c6170_comp_spill_lap_0 (par_0=0x19dcfab7c44) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\comp-7672a6ed-ac6bcf4e.eln #62 0x00007ff67471640f in Ffuncall () #63 0x00007ffc0ecb121f in F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0 (par_0=, par_1=, par_2=) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\comp-7672a6ed-ac6bcf4e.eln #64 0x00007ff67471640f in Ffuncall () #65 0x00007ffc0ecb24b2 in F62617463682d6e61746976652d636f6d70696c65_batch_native_compile_0 (par_0=) from c:\_\B\src\build-UCRT64\native-lisp\28.2-16aa216e\comp-7672a6ed-ac6bcf4e.eln #66 0x00007ff67471920f in eval_sub () #67 0x00007ff67471abdb in Feval () #68 0x00007ff67471640f in Ffuncall () #69 0x00007ff6747557b8 in exec_byte_code () #70 0x00007ff674719ba5 in funcall_lambda () #71 0x00007ff6747163c9 in Ffuncall () #72 0x00007ff6747557b8 in exec_byte_code () #73 0x00007ff674719ba5 in funcall_lambda () #74 0x00007ff6747163c9 in Ffuncall () #75 0x00007ff6747557b8 in exec_byte_code () #76 0x00007ff674719ba5 in funcall_lambda () #77 0x00007ff674719e89 in apply_lambda () #78 0x00007ff674718d14 in eval_sub () #79 0x00007ff67471abdb in Feval () #80 0x00007ff6747152dd in internal_condition_case () #81 0x00007ff6746977cd in top_level_1 () #82 0x00007ff67471524b in internal_catch () #83 0x00007ff6746969a5 in command_loop () #84 0x00007ff67469d1d4 in recursive_edit_1 () #85 0x00007ff67469d549 in Frecursive_edit () #86 0x00007ff674805ca6 in main () --Apple-Mail=_275E8888-91B6-4EB4-BC10-85022DFC6AF6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 2023. Jun 1., at 9:31, Andr=C3=A1s Svraka = wrote: >=20 > MSYS2 might have run into a related problem. Currently Emacs 28.2 = cannot be built on the Github Actions CI with GCC 13.1 and native comp = enabled because the build gets stuck during native compilation of = files.el (all the other elisp files are compiled). I=E2=80=99ve attached = a backtrace from the CI. >=20 > Meanwhile several people reported successfully building Emacs on their = own machines from the same MSYS2 that runs in the CI. There=E2=80=99s a = discussion on Github [1]. Downgrading to GCC 12.2 helps, and we=E2=80=99re= still investigating the effects of various compiler switches. >=20 > [1]: https://github.com/msys2/MINGW-packages/issues/17374 >=20 >=20 --Apple-Mail=_275E8888-91B6-4EB4-BC10-85022DFC6AF6--