From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bug#54667: 29.0.50; posix_spawn breaks emacs-gdb Date: Wed, 06 Apr 2022 15:21:16 +0300 Message-ID: <83lewicshv.fsf@gnu.org> References: <87fsmx80e5.fsf@gmail.com> <4d6ef0f6-8ab6-2dce-aa63-d18108fd5f21@gmail.com> <87bkxk983m.fsf@gmail.com> <87ilrp6iqg.fsf@gmail.com> <87pmlu60vf.fsf@gmail.com> <83o81ecvu7.fsf@gnu.org> <87lewi5sfc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25060"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 06 14:22:59 2022 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 1nc4gc-0006I0-L4 for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Apr 2022 14:22:58 +0200 Original-Received: from localhost ([::1]:45566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc4gb-0006qK-4g for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Apr 2022 08:22:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc4es-0005mA-Jf for emacs-devel@gnu.org; Wed, 06 Apr 2022 08:21:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc4es-0002zO-9Y; Wed, 06 Apr 2022 08:21:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=kqITZoCmuDwWtfjYr4V1ryI2/vtTdxW5wLV4WHP9oEM=; b=NdhlndWsOBMHn+JNG6Io bLpTWGJNax9FsZB1X8RUNdqXEMYXWvQ6oMjuTE4jssYJ2jgbWywQMmQQm1BvcjRjWEWo3jWTR7XQI IHNxNuwwode31/nt0ck66wOvTf5xxrUodee6o22zfvP3U2ePqsn2q+q3WHiOfL/y/xkX+aNmFTaB3 MVCXDeoJTj+whbYEmQ2BcPqBo1i2TZluBg+YcMOjstMxd6jtCHW0YPONypBRVDCtb5H5IDsXVlCnM a3fXe30ZHNwx9X8zDcCuhwXIAzTGa9ZOmOg11Kj6g71rzJmdLH5UNNURa3eWJh9EaZ/bm8EEbVEuo SODgtDdnd1kCCg==; Original-Received: from [87.69.77.57] (port=1926 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc4er-0003ma-O3; Wed, 06 Apr 2022 08:21:10 -0400 In-Reply-To: <87lewi5sfc.fsf@gmail.com> (message from Robert Pluim on Wed, 06 Apr 2022 14:04:39 +0200) 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" Xref: news.gmane.io gmane.emacs.devel:287836 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org > Date: Wed, 06 Apr 2022 14:04:39 +0200 > > >>>>> On Wed, 06 Apr 2022 14:09:04 +0300, Eli Zaretskii said: > > >> From: Robert Pluim > >> Date: Wed, 06 Apr 2022 11:02:12 +0200 > >> > >> >>>>> On Mon, 04 Apr 2022 16:11:51 +0200, Robert Pluim said: > Robert> In emacs-28 we only use posix_spawn on macOS because its vork is > Robert> sub-optimal. I donʼt remember the rationale for switching to using it > Robert> everywhere, itʼs undoubtedly in the archives somewhere. > >> > Robert> Closing. > Robert> Committed as 8103b060d8 > >> > >> Actually, do we want this in emacs-28 as well? > > Eli> The fix installed on master isn't macOS-specific, AFAICT. Can it be > Eli> reasonably installed on emacs-28 as macOS-specific? If yes, I think > Eli> we should indeed backport it. > > USABLE_POSIX_SPAWN is 0 on emacs-28 for every platform except macOS, > so applying the same patch as on master is all thatʼs needed. I didn't see USABLE_POSIX_SPAWN in the patch. Maybe I was looking at the wrong patch. Can you show it?