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#63752: 28.2; GCC 13.1 breaks Emacs subprocess handling when built with -D_FORTIFY_SOURCE Date: Thu, 1 Jun 2023 09:31:10 +0200 Message-ID: <733589BE-966F-4E82-8F9A-A36637741238@gmail.com> References: <83353hki16.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) 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="25172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Cyril Arnould To: "63752@debbugs.gnu.org" <63752@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 01 12:33:06 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 1q4fc9-0005wH-Kb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jun 2023 12:33:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4fbC-0006LL-AN; Thu, 01 Jun 2023 06:32:06 -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 1q4fbA-0006KA-Og for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 06:32:04 -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 1q4fbA-00067y-F9 for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 06:32:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4fbA-0003IR-A6 for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 06:32:04 -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:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63752 X-GNU-PR-Package: emacs Original-Received: via spool by 63752-submit@debbugs.gnu.org id=B63752.168561550112549 (code B ref 63752); Thu, 01 Jun 2023 10:32:04 +0000 Original-Received: (at 63752) by debbugs.gnu.org; 1 Jun 2023 10:31:41 +0000 Original-Received: from localhost ([127.0.0.1]:37087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4faj-0003GI-U5 for submit@debbugs.gnu.org; Thu, 01 Jun 2023 06:31:41 -0400 Original-Received: from mail-ed1-f41.google.com ([209.85.208.41]:55308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4cmQ-0006cx-D6 for 63752@debbugs.gnu.org; Thu, 01 Jun 2023 03:31:32 -0400 Original-Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-51458187be1so850630a12.2 for <63752@debbugs.gnu.org>; Thu, 01 Jun 2023 00:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685604684; x=1688196684; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YZ+o5xCdqvyY24T1lZ9l1T0F/g5kPdJOiyXKtn0p5UY=; b=qFiREJZIKwvOkC5ViacOFV3tACUTO5PEYV66VE4dBjeQF3U271aBwivsRSXuuYFn6z f/FFl7iY2pdIwvz9ZUVOeUk27q4DyJ0v21MmI7OBbje9NMD4a8ZQt2N02MCdKKzReyHK kpa+Pa6RQKQrvVDfg04leHv8LfIFPi1Ei6M3lmRoAGVwiZWvD+5ZpJnpA5hDMG5UbzAO RKUGDskNTy9fPob8/r+N46SX8/FZP40jatLioBF/rP1VNb9985AzjaVQW7J2jHZI9WRi RhYOuBIenMH7XcJ3JDQYKpetpr/Se1uqxnDLXV7EUItQVmq/UVeu49oAvaopWdGGAVK8 TvaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685604684; x=1688196684; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YZ+o5xCdqvyY24T1lZ9l1T0F/g5kPdJOiyXKtn0p5UY=; b=V+jNvy9naJ994eiYEu2ZykHAl/X5pND7gpXvVe35hiNtVzasdMOD27BCDqMNm6mHY1 VL561BNGkSSdkgff9xg0kXE3BSlQPt3nJV/nkF6BakGqoqf7n/Nr5jxOnVq+t13Yc56p vAWxQU0CwT21PCLXHwcj6IuQ1YZjH2Ww4d94KJdxI7BZMcDVDC8k0N4TwH2yXzsk14RJ JZflf8rDAmYB53CDNtscat+xtBF/JUgxv16xYjqix821AgpRI4mb94qzB8dezDCtm8BW Xutt5FKPduTUpnCRMgSeDJ4WVlLDBZhGyRhG5Z6eAPmiyDRXei4D+1zuyBnXGnZrhsHI r8UA== X-Gm-Message-State: AC+VfDzNOWEKLofvHbyFfHmLU4Dw9ae2O4CQWZtHiM3pP8C0J1F+zI+C MdnifqlsOKj+NpalQpZX8fktc59LGjqp6Q== X-Google-Smtp-Source: ACHHUZ7KHxZN1SaAvXszgXsRWyLUoqt5UZP+DevgJrXPuYvt8UvkGbIsLQJS8aqdG6uPN5ihY9KKzw== X-Received: by 2002:aa7:d148:0:b0:514:990a:c64c with SMTP id r8-20020aa7d148000000b00514990ac64cmr5594605edo.10.1685604683852; Thu, 01 Jun 2023 00:31:23 -0700 (PDT) Original-Received: from smtpclient.apple ([2001:4c4e:1b8e:c900:e9f8:7355:e253:72ca]) by smtp.gmail.com with ESMTPSA id j2-20020a50ed02000000b0050bc4600d38sm6298845eds.79.2023.06.01.00.31.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2023 00:31:23 -0700 (PDT) In-Reply-To: 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:262692 Archived-At: Dear all, > On 2023. May 27., at 16:32, Cyril Arnould = wrote: > > Which version of GCC is this, btw? If it's the latest GCC 13, did = you > > try downgrading to GCC 12? > It's GCC 13.1, yes, I haven't tested GCC 12. I don't know how > easy it is to downgrade GCC on MSYS2 though, I assume there's a > lot of dependencies that can go wrong. I tried downgrading to GCC 12.2 in MSY2 and the problem exist there as = well. > > FWIW, Emacs 28 and 29 (and also Emacs 30) builds fine for me with > > MinGW, both with and without native-compilation, but I don't use > > _FORTIFY_SOURCE (and don't plan on using it any time soon). > This makes me wonder if GCC 13.1 Emacs builds with > _FORTIFY_SOURCE are working fine in other operating systems? It's > not something I can easily test, however. Arch Linux also uses _FORTIFY_SOURCE and AFAIU MSYS2=E2=80=99s = motivation was to follow them [1]. I did not test it though but = couldn=E2=80=99t find related bug reports. [1]: https://github.com/msys2/MSYS2-packages/pull/3222