|
From: | Kirill A. Korinsky |
Subject: | Re: posix_spawn |
Date: | Sat, 23 Dec 2023 19:52:33 +0100 |
This build was made with local root It contains patches in addition to posix_spawn which allows to build it on macOS 13 arm64 under rosetta: --- unixport/makefile +++ unixport/makefile @@ -68,7 +68,7 @@ $(LSPDIR)/auto_new.lsp: $(LSPDIR)/auto.lsp echo "(AUTOLOAD 'init-readline '|readline|)" >>$@ libboot.so: ../o/boot.o - $(CC) -shared -Wl,-undefined -Wl,dynamic_lookup $< -o $@ + $(CC) $(CFLAGS) -shared -Wl,-undefined -Wl,dynamic_lookup $< -o $@ init_raw.lsp: init_raw.lsp.in @@ -84,7 +84,7 @@ boot.h: boot.ini rm $*.c $(DPP): ../bin/dpp.c - ${CC} ${DEFS} -o $@ $< + ${CC} ${CFLAGS} ${DEFS} -o $@ $< new_init.c: ${INI_FILES} echo '#include "make-init.h"' > $@ Can you consider to add it to the upstream? Thus, additionaly I've added patch below to catch the real place where it crashes: --- o/main.c +++ o/main.c @@ -665,10 +665,10 @@ main(int argc, char **argv, char **envp) { /* catch certain signals */ void install_segmentation_catcher(void) { - unblock_signals(SIGSEGV,SIGSEGV); - unblock_signals(SIGBUS,SIGBUS); - (void) gcl_signal(SIGSEGV,segmentation_catcher); - (void) gcl_signal(SIGBUS,segmentation_catcher); +/* unblock_signals(SIGSEGV,SIGSEGV); */ +/* unblock_signals(SIGBUS,SIGBUS); */ +/* (void) gcl_signal(SIGSEGV,segmentation_catcher); */ +/* (void) gcl_signal(SIGBUS,segmentation_catcher); */ } void --
wbr, Kirill
|
signature.asc
Description: Message signed with OpenPGP
[Prev in Thread] | Current Thread | [Next in Thread] |