From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: bug#54667: 29.0.50; posix_spawn breaks emacs-gdb Date: Wed, 06 Apr 2022 14:04:39 +0200 Message-ID: <87lewi5sfc.fsf@gmail.com> 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> 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="14226"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 06 14:05:49 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 1nc4Q0-0003W8-UN for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Apr 2022 14:05:48 +0200 Original-Received: from localhost ([::1]:36208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc4Pz-00082q-7H for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Apr 2022 08:05:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc4Oy-0007K2-BG for emacs-devel@gnu.org; Wed, 06 Apr 2022 08:04:44 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:44671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nc4Ow-0005ec-Tv; Wed, 06 Apr 2022 08:04:44 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id b19so2844964wrh.11; Wed, 06 Apr 2022 05:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=/LvWZL+VmuX1Z7cwonWrCozc+B87uxhPLbt5X78QhWU=; b=SCHBgmpjuWj6m1ms+zU7KIG9b/XByD4GfDT3N4b/QIjb24OBuQpxhC5xlDTkAV2YXK yPd1gKs16FgGX92VgNBJAPj5drS9KfAifXSucaf4oie4lIEijRBzX7nm3oZxZ8MVzTKn /cJZDP1u6aKZoc5wfSYRAuBaEyqdR5lqNgugXrK+gX+PuOAy0fIvpQ2/1B1drDkbrAcI j7/1zacqs0F9U9rZhKIhjBqiFacMH3ipOl7ifpnKdicp6kZK3lhWSV+he2lsYqPyVraj 3uw6oHiytc3wFq1LDT1BCsiUeeZHlo7Ef9+Ee5pwXHMrf7GhVrbt6Xa1J2x3WA0dwG29 wMxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=/LvWZL+VmuX1Z7cwonWrCozc+B87uxhPLbt5X78QhWU=; b=Rrh/02LxyxMGc83KHUrx15KBk7uIvL+aeuVZUX5NjCFmu40GJsgnJ6firYygC5E5DP fT6rGTpnQZ18upaOJwC1eUzeudRv12liwlCNWUBcYS/OWW3w7LzLaukz+/sTyhTFvFlO KWtR8Ipoi0LtVjJZtN9u0BPozlO//+XsSRySA03vaX+/Er2VpsuLTqPdNXfjKgmK+ZTB vXnh8Sjh9pZFxlijw4fdDWWTE/cdv+cR48MjXnO9TNA8gK5qoWerQXpj4+e0vtEFat4R s2TWDVfnhL0s5tlNpxSd3sUwtMeQkLPyFf5e6v36ZJ9X7o+mA0yqtvDBXlZXPMSPoq78 0/rA== X-Gm-Message-State: AOAM5322eyO++Wnq5pzSNP0w5GyYADsg+kek8Na+hXVcGjHVQIUv6L8Y R15H3YrldTFAtDPz6vQdSghziiL6CZM= X-Google-Smtp-Source: ABdhPJyB9RbSDy5S60kBmDiIEn92a/55UVZdoA5q01CPM1WIiU0Tg2UpyIqtyXRFYdFjKwpkga92lw== X-Received: by 2002:a05:6000:248:b0:206:c74:e928 with SMTP id m8-20020a056000024800b002060c74e928mr6519479wrz.427.1649246680514; Wed, 06 Apr 2022 05:04:40 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:f97:ff71:7e0d:55c6]) by smtp.gmail.com with ESMTPSA id n66-20020a1ca445000000b0038e785baac7sm4696126wme.11.2022.04.06.05.04.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:04:39 -0700 (PDT) In-Reply-To: <83o81ecvu7.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Apr 2022 14:09:04 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=rpluim@gmail.com; helo=mail-wr1-x431.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-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:287835 Archived-At: >>>>> On Wed, 06 Apr 2022 14:09:04 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Date: Wed, 06 Apr 2022 11:02:12 +0200 >>=20 >> >>>>> 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=CA=BCt remember the rationale for switching = to using it Robert> everywhere, it=CA=BCs undoubtedly in the archives somewhere. >>=20 Robert> Closing. Robert> Committed as 8103b060d8 >>=20 >> 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 thi= nk 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=CA=BCs needed. Robert --=20