gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macOS status


From: Kirill A. Korinsky
Subject: Re: macOS status
Date: Sat, 23 Dec 2023 22:35:44 +0100

...and Github CI failed on macOS 12 as

2023-12-23T21:24:59.6806280Z Warning: WILD-PATHNAME-P is being redefined.
2023-12-23T21:24:59.6811640Z Warning: SBIT is being redefined.
2023-12-23T21:24:59.6816840Z Warning: GETHASH is being redefined.
2023-12-23T21:24:59.6835320Z 
2023-12-23T21:26:59.8019540Z >
2023-12-23T21:26:59.8020680Z Unrecoverable error: frame stack overflow.
2023-12-23T21:26:59.8021730Z Emergency reset complete
2023-12-23T21:26:59.8022260Z 
2023-12-23T21:26:59.8038100Z >cd unixport && /Library/Developer/CommandLineTools/usr/bin/make saved_gcl && mv saved_gcl saved_gcl0
2023-12-23T21:27:00.5151390Z ls: ../lsp/*.o: No such file or directory
2023-12-23T21:27:00.5258770Z ls: ../xgcl-2/*.o: No such file or directory
2023-12-23T21:27:00.5360840Z ls: ../cmpnew/*.o: No such file or directory
2023-12-23T21:27:00.5482420Z ls: gcl_recompile?*.o: No such file or directory
2023-12-23T21:27:00.5930080Z make[1]: Entering directory `/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_lang_gcl/gcl-devel/work/d01abd92b614b3145cd192be4ae797a8b29a09af/gcl/unixport'
2023-12-23T21:27:00.5946060Z /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -fsigned-char -pipe -fcommon -fno-builtin-malloc -fno-builtin-free -fno-PIE -fno-pie -fno-PIC -fno-pic -Wall -Wno-builtin-requires-header -Wno-empty-body -Wno-self-assign -Wno-unused-but-set-variable -Wno-incomplete-setjmp-declaration -m64   -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -O3 -fomit-frame-pointer -I/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_lang_gcl/gcl-devel/work/d01abd92b614b3145cd192be4ae797a8b29a09af/gcl/o -I../h -c -D gcl -D FLAVOR="gcl" sys_init.c -o sys_gcl.o
2023-12-23T21:27:00.7712610Z rm -rf libgcl.a
2023-12-23T21:27:00.7737510Z /usr/bin/libtool -static -o libgcl.a ../o/main.o ../o/sfasl.o ../o/assignment.o ../o/error.o ../o/num_comp.o ../o/bitop.o ../o/utils.o ../o/gcl_readline.o ../o/cmpaux.o ../o/regexpr.o ../o/makefun.o ../o/num_rand.o ../o/num_log.o ../o/earith.o ../o/nfunlink.o ../o/init_pari.o ../o/iteration.o ../o/structure.o ../o/prog.o ../o/let.o ../o/symbol.o ../o/run_process.o ../o/usig2.o ../o/file.o ../o/backq.o ../o/frame.o ../o/usig.o ../o/toplevel.o ../o/clxsocket.o ../o/funlink.o ../o/gprof.o ../o/prelink.o ../o/num_co.o ../o/character.o ../o/catch.o ../o/new_init.o ../o/package.o ../o/list.o ../o/eval.o ../o/sockets.o ../o/unixsys.o ../o/lex.o ../o/sequence.o ../o/macros.o ../o/num_pred.o ../o/multival.o ../o/typespec.o ../o/num_arith.o ../o/array.o ../o/unixsave.o ../o/big.o ../o/print.o ../o/nsocket.o ../o/block.o ../o/bds.o ../o/pathname.o ../o/mapfun.o ../o/number.o ../o/predicate.o ../o/reference.o ../o/gmp_wrappers.o ../o/unixfasl.o ../o/fat_string.o ../o/num_sfun.o ../o/bind.o ../o/format.o ../o/unixfsys.o ../o/read.o ../o/gbc.o ../o/alloc.o ../o/cfun.o ../o/hash.o ../o/conditional.o ../o/unixtime.o ../o/string.o sys_gcl.o 
2023-12-23T21:27:00.7804300Z /Library/Developer/CommandLineTools/usr/bin/libtool: file: ../o/gprof.o has no symbols
2023-12-23T21:27:00.8045840Z grep: raw_gcl: No such file or directory
2023-12-23T21:27:00.8050610Z touch raw_gcl_map
2023-12-23T21:27:00.8071770Z /usr/bin/clang -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wl,-no_pie -m64 -Wl,-headerpad,72 -o raw_gcl   -L.   -lgcl `echo -lm  -lgmp -lreadline | sed -e 's/-lncurses/ /'` -lc -lgclp
2023-12-23T21:27:00.8441240Z ld: warning: -no_pie is deprecated when targeting new OS versions
2023-12-23T21:27:00.8838530Z Undefined symbols for architecture x86_64:
2023-12-23T21:27:00.8839210Z   "_init_gcl_arraylib", referenced from:
2023-12-23T21:27:00.8839790Z       _gcl_init_system in libgcl.a(sys_gcl.o)
2023-12-23T21:27:00.8840420Z   "_init_gcl_assert", referenced from:
2023-12-23T21:27:00.8841020Z       _gcl_init_system in libgcl.a(sys_gcl.o)
2023-12-23T21:27:00.8844220Z   "_init_gcl_bit", referenced from:
2023-12-23T21:27:00.8844990Z       _gcl_init_system in libgcl.a(sys_gcl.o)
2023-12-23T21:27:00.8847720Z   "_init_gcl_bnum", referenced from:
2023-12-23T21:27:00.8848790Z       _gcl_init_system in libgcl.a(sys_gcl.o)

my laptop passes it, but it has a lot (32Gb) ram when Github CI has just 14Gb.

Can it be related?

-- 
wbr, Kirill

On 23. Dec 2023, at 21:56, Kirill A. Korinsky <kirill@korins.ky> wrote:

I'd like to summarise current macOS status.

To make things clear I've pushed changes to GCL port at MacPorts as gcl-devel subport which available here: https://github.com/catap/macports-ports/commit/3614b650ebfb259af2b1320026e00a1bef955fb7 which contains all used patches.

macOS 12 x86_64:

successfully builded.

macOS 10.5 i386

Note:
1. requires to ban system's GCC and MacPorts Clang.
2. requires to add --disable-gprof to configure options

It failed to start ./raw_pre_gcl as:

(gdb) r
Starting program: /opt/local/var/macports/build/_Volumes_SharedFolders_Home_src_macports-ports_lang_gcl/gcl-devel/work/d01abd92b614b3145cd192be4ae797a8b29a09af/gcl/unixport/raw_pre_gcl 
unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
unable to read unknown load command 0x26
Reading symbols for shared libraries +++++... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xbc000ffc
0x0000843b in alloc_mem ()
(gdb) bt
#0  0x0000843b in alloc_mem ()
#1  0x00000000 in ?? ()
(gdb) 


macOS 13 arm64

failed on ./configure as

checking for sbrk... yes
checking for ADDR_NO_RANDOMIZE constant... no assuming 0x40000
checking for ADDR_COMPAT_LAYOUT constant... no
checking for ADDR_LIMIT_3GB constant... no
checking for personality(ADDR_NO_RANDOMIZE) support... no
checking that sbrk is (now) non-random... no
Cannot build with randomized sbrk. Your options:
 - upgrade to a kernel/libc that knows about personality(ADDR_NO_RANDOMIZE)
 - recompile your kernel with CONFIG_COMPAT_BRK (if it has that option)
 - run sysctl kernel.randomize_va_space=0 before using gcl

macOS 13 arm64 with Xcode 15 via rosetta (x86_64)

Note:
1. configure failed on unknown target aarch64, cross compiling via rosetta with --host / --system / --target works

Anyway, failed on build; crash happened inside siLheap_report which is called by the first (init-system) at ./raw_pre_gcl

-- 
wbr, Kirill


Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]