unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jacob Faibussowitsch <jacob.fai@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 51925@debbugs.gnu.org
Subject: bug#51925: [Trunk][macOS] "vfork" is deprecated
Date: Wed, 17 Nov 2021 12:02:25 -0600	[thread overview]
Message-ID: <D413112D-0E15-4FEE-9A37-9170AF458F2E@gmail.com> (raw)
In-Reply-To: <8335nuzmtu.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1992 bytes --]

Checking my config.log gives:

configure:20626: checking for posix_spawn
configure:20626: clang -o conftest -O3 -march=native -mtune=native -flto=thin -flto-jobs=5 -std=gnu\
17 -Wno-unused-command-line-argument -Wno-unknown-pragmas     conftest.c  -lpng -ljpeg >&5
configure:20626: $? = 0
configure:20626: result: yes
configure:20632: checking for posix_spawn_file_actions_addchdir
configure:20632: clang -o conftest -O3 -march=native -mtune=native -flto=thin -flto-jobs=5 -std=gnu\
17 -Wno-unused-command-line-argument -Wno-unknown-pragmas     conftest.c  -lpng -ljpeg >&5
undef: _posix_spawn_file_actions_addchdir
Undefined symbols for architecture x86_64:
  "_posix_spawn_file_actions_addchdir", referenced from:
      _main in 0.x86_64.thinlto.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And the final set of defines for configure includes the following:

...
#define HAVE_POSIX_SPAWN 1
#define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP 1
#define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
#define HAVE_DECL_POSIX_SPAWN_SETSID 1
...
configure: exit 0

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)

> On Nov 17, 2021, at 11:58, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Jacob Faibussowitsch <jacob.fai@gmail.com>
>> Date: Wed, 17 Nov 2021 11:50:46 -0600
>> 
>> This is by no means breaking or disrupting anything on my end (at least that I can tell), but I did notice in
>> some commit messages a few weeks that someone was attempting to replace vfork with posix_spawn
>> specifically on macOS, so maybe my system is some unhandled corner-case?
> 
> That change is already on master.  If your build of a recent master
> branch doesn't use the posix_spawn code, the first place to look is in
> config.log, where you should try to find the reason(s) why the
> configure script decided your system doesn't have posix_spawn.
> 
> Thanks.


[-- Attachment #2: Type: text/html, Size: 3895 bytes --]

  reply	other threads:[~2021-11-17 18:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 17:50 bug#51925: [Trunk][macOS] "vfork" is deprecated Jacob Faibussowitsch
2021-11-17 17:58 ` Eli Zaretskii
2021-11-17 18:02   ` Jacob Faibussowitsch [this message]
2021-11-17 18:08     ` Jacob Faibussowitsch
2021-11-17 18:25     ` Eli Zaretskii
     [not found] ` <m2ilwqfuiy.fsf@fastmail.fm>
     [not found]   ` <D05C8617-3056-4753-A5CE-B0AC8D1FC215@gmail.com>
2021-11-17 20:16     ` Filipp Gunbin
2021-11-18 15:50       ` Jacob Faibussowitsch
2021-11-18 17:09         ` Filipp Gunbin
2022-09-20 15:20         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D413112D-0E15-4FEE-9A37-9170AF458F2E@gmail.com \
    --to=jacob.fai@gmail.com \
    --cc=51925@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).