On 2022-07-08 09:39, Anton Ertl wrote:
On Wed, Jul 06, 2022 at 08:53:50PM +0100, Tristan Williams wrote:
Hello,
Has anyone successfully built and run gforth 0.7.9 on a mac with the
M1 chip? I have a 0.7.3 binary (via homebrew) that runs, but my
attempts at building 0.7.9 from the tarball have failed. Any
suggestions gratefully received.
We may be better able to help you if you provide more specifics, in
particular the compilation log.
- anton
Hello Anton,
So far I have followed install.md
BUILD_FROM=tarball
source ./install-deps.sh # install only the dependencies for a
tarball build
./configure
make
sudo make install
and got as far as running make. Attached my output from configure and
make.
Best wishes and thanks,
Tristan
checking for gcc... gcc-11
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc-11 accepts -g... yes
checking for gcc-11 option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... aarch64-apple-darwin20.6.0
checking host system type... aarch64-apple-darwin20.6.0
checking how to print strings... printf
checking for a sed that does not truncate output... /opt/homebrew/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc-11... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert aarch64-apple-darwin20.6.0 file names to
aarch64-apple-darwin20.6.0 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin20.6.0 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking command to parse /usr/bin/nm -B output from gcc-11 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc-11 supports -fno-rtti -fno-exceptions... no
checking for gcc-11 option to produce PIC... -fno-common -DPIC
checking if gcc-11 PIC flag -fno-common -DPIC works... yes
checking if gcc-11 static flag -static works... no
checking if gcc-11 supports -c -o file.o... yes
checking if gcc-11 supports -c -o file.o... (cached) yes
checking whether the gcc-11 linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... darwin20.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc-11 options needed to detect all undeclared functions... none
needed
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path...
DYLD_LIBRARY_PATH
checking for the default library search path... /usr/local/lib /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... yes
checking whether we have to add an underscore for dlsym... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I$(top_srcdir)/libltdl
checking where to find libltdl library... $(top_build_prefix)libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... yes
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc-11
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc-11 accepts -g... (cached) yes
checking for gcc-11 option to enable C11 features... (cached) none needed
checking whether to use two dispatches per conditional branch... 1
checking make type... GNU Make
checking whether the linker accepts -Wl,--export-dynamic... no
checking for __builtin___clear_cache... yes
Check for arch/arm64//gforth.ld (false)
checking size of char *... 8
checking size of void *... 8
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of intptr_t... 8
checking size of int128_t... 0
checking size of uint128_t... 0
checking for a C type for cells... long
checking for a C type for wydes... short
checking for a C type for tetrabytes... int
checking for a C type for octabytes... long
checking for a C type for double-cells... none
checking for a C type for unsigned double-cells... none
checking for off_t... yes
checking size of off_t... 8
checking if gcc-11 understands -fno-gcse... yes
checking if gcc-11 understands -fcaller-saves... yes
checking if gcc-11 understands -fno-defer-pop... yes
checking if gcc-11 understands -fno-inline... yes
checking if gcc-11 understands -fwrapv... yes
checking if gcc-11 understands -fchar-unsigned...
checking if gcc-11 understands -fno-strict-aliasing... yes
checking if gcc-11 understands -fno-cse-follow-jumps... yes
checking if gcc-11 understands -fno-reorder-blocks... yes
checking if gcc-11 understands -fno-reorder-blocks-and-partition... yes
checking if gcc-11 understands -fno-toplevel-reorder... yes
checking if gcc-11 understands -fno-trigraphs...
checking if gcc-11 understands -falign-labels=1... yes
checking if gcc-11 understands -falign-loops=1... yes
checking if gcc-11 understands -falign-jumps=1... yes
checking if gcc-11 understands -fno-delete-null-pointer-checks... yes
checking if gcc-11 understands -fcf-protection=none... yes
checking if gcc-11 understands -pthread... yes
checking if gcc-11 understands -Wimplicit-function-declaration...
checking how to suppress 'unused variable' warnings... __attribute__((unused))
checking whether gcc understands '__thread'... yes
checking how to invoke m4... m4 -s
checking for install-info... /usr/bin/install-info
checking if gcc-11 understands -no-cpp-precomp on Darwin... no
checking for chcon... true
checking whether byte ordering is bigendian... no
checking if and how we can waste code space... .skip 16
checking if and how we can do comments in asm statements... "# "
checking whether ln -s works... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for a BSD-compatible install... /usr/bin/install -c
checking for texi2dvi4a2ps... no
checking for texi2dvi... texi2dvi
checking for recode... no
checking for iconv... iconv
checking for timeout... no
checking for emacs... emacs
checking for glibtool... glibtool
checking for asin in -lm... yes
checking for lt_dlinit in -lltdl... no
checking for clock_gettime in -lrt... no
checking for dlopen... yes
checking for ffi.h... no
checking for ffi/ffi.h... yes
checking for ffi_call in -lffi... yes
checking for __builtin_avcall in -lavcall... no
checking for working memcmp... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for dlopen in -ldl... yes
checking for memmove... yes
checking for strtoul... yes
checking for exp10... no
checking for sincos... no
checking for strerror... yes
checking for strsignal... yes
checking for atanh... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for sys_siglist... yes
checking for getrusage... yes
checking for nanosleep... yes
checking for clock_gettime... yes
checking for stack_t... yes
checking whether sys_siglist is declared... yes
checking for getopt_long... yes
checking for expm1... yes
checking for log1p... yes
checking for mcheck... no
checking for mprobe... no
checking for rint... yes
checking for sys/mman.h... yes
checking for sys/epoll.h... no
checking for fnmatch.h... yes
checking for alloca.h... yes
checking for wchar.h... (cached) yes
checking for endian.h... no
checking for spawn.h... yes
checking for wcwidth... yes
checking for working POSIX fnmatch... yes
checking for mmap... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for pselect... yes
checking for pthread_setaffinity_np... no
checking for getentropy... yes
checking for getrandom... no
checking for emacs... (cached) emacs
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking for __builtin_clzl... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for legacy atomic builtins (__sync_...)... true
checking for atomic builtins (__atomic_...)... true
lispdir=
elispstartdir=
checking for gforth... "/opt/homebrew/bin/gforth" -i
"/opt/homebrew/Cellar/gforth/0.7.3_3/lib/gforth/0.7.3/gforth.fi"
checking for swig... /usr/local/bin/swig
Swig works in Forth mode
checking for X11/X.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for SDL2/SDL.h... no
checking for linux/v4l2-common.h... no
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for glXCreateWindow in -lGLX... no
checking for glClear in -lGLESv2... yes
checking for GLES2/gl2.h... yes
checking for GLES2/gl2ext.h... yes
checking for EGL/egl.h... no
checking for glClear in -lGLESv3... no
checking for OpenGLES/ES2/gl.h... no
checking for OpenGLES/ES3/gl.h... no
checking for jni.h... no
checking for openvg.h... no
checking for android/input.h... no
checking for OMXAL/OpenMAXAL.h... no
checking for SLES/OpenSLES_Android.h... no
checking for libpng16/png.h... yes
checking for stb/stb_image.h... no
checking for stb/stb_image_write.h... no
checking for linux/i2c.h... no
checking for linux/spi/spidev.h... no
checking for ft2build.h... yes
checking for FT_Get_Char_Index in -lfreetype... yes
checking for freetype-gl.h... yes
checking for wl_egl_window_create in -lwayland-egl... no
checking for gps_open in -lgps... no
checking for vkGetPhysicalDeviceFeatures in -lvulkan... no
checking for hb_buffer_create in -lharfbuzz... no
checking for hb_buffer_get_direction in -lharfbuzz... no
checking for g_signal_connect_data in -lgobject-2.0... no
checking for avcodec_version in -lavcodec... no
checking for pa_context_new in -lpulse... no
checking for opus_encode in -lopus... no
checking for vaCreateContext in -lva... no
checking for vaGetDisplayGLX in -lva-glx... no
checking for vaGetDisplay in -lva-x11... no
checking for vaGetDisplayDRM in -lva-drm... no
SWIG includes:
-I/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks
-I/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include
-I/opt/X11/include
-I/opt/homebrew/Cellar/gcc/11.3.0_2/bin/../lib/gcc/11/gcc/aarch64-apple-darwin20/11/include
-I/opt/homebrew/Cellar/gcc/11.3.0_2/bin/../lib/gcc/11/gcc/aarch64-apple-darwin20/11/include-fixed
-I/opt/homebrew/opt/freetype/include/freetype2
configure: creating ./config.status
config.status: creating kernel/version.fs
config.status: creating Makefile
config.status: creating Makedist
config.status: creating gforthmi
config.status: creating gforthmi.sh
config.status: creating vmgen
config.status: creating machpc.fs
config.status: creating envos.fs
config.status: creating preforth
config.status: creating libforth
config.status: creating gforthker
config.status: creating engine/Makefile
config.status: creating engine/gforth.h
config.status: creating doc/version.texi
config.status: creating doc/Makefile
config.status: creating unix/Makefile
config.status: creating debian/changelog
config.status: creating debian/control
config.status: creating docker/runner/Dockerfile
config.status: creating build-ec
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing libtool commands
config.status: executing stamp-h commands
*** Config summary: everything fine ***
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make io.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o io.o io.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make signals.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o signals.o signals.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make arm64-cacheflush.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o arm64-cacheflush.o arm64-cacheflush.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make exp10.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o exp10.o exp10.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make sincos.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o sincos.o sincos.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make support-ll.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -DFORCE_LL -o support-ll.o support.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make support-noll.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o support-noll.o support.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make support-ll-reg.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -DFORCE_LL -DFORCE_REG -o support-ll-reg.o support.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make support-noll-reg.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -DFORCE_REG -o support-noll-reg.o support.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make dblsub.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o dblsub.o dblsub.c
(cd engine; /Library/Developer/CommandLineTools/usr/bin/make libmain.o)
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -o libmain.o libmain.c
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" prim.i\" save-mem
out-filename 2! s\" "prim.b"\" ' output-c ' output-c-combined process-file bye"
>engine/prim.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" ' output-label
dup process-file bye" >engine/prim_lab.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" '
output-forthname dup process-file bye" >engine/prim_names.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" '
output-superend dup process-file bye" >engine/prim_superend.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" ' output-profile
' output-profile-combined process-file bye" >engine/profile.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" '
output-c-prim-num ' noop process-file bye" >engine/prim_num.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" ' noop dup
process-file bye" >engine/prim_grp.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" '
output-costs-gforth-simple ' output-costs-gforth-combined process-file bye"
>engine/costs.i
./preforth -p ".:~+:." prims2x.fs -e "c-flag on s\" "prim.b"\" '
output-super2-simple ' output-super2-combined process-file bye" >engine/super2.i
echo ": authors ( -- ) cr" >kernel/authors.fs
echo " \G show the list of authors" >>kernel/authors.fs
grep '^[ND]:' AUTHORS | sed -e 's/^N: \(.*\)/ 1 attr\! ." \1:" 0 attr\! cr /g'
-e 's/^D: \(.*\)/ ." \1" cr /g'>>kernel/authors.fs
echo ";" >>kernel/authors.fs
cp -pf kernl64l.fi kernl64l.fi~
./preforth -p ".:~+:." -e 's" mach64l.fs" include ./kernel/main.fs' -e
"save-cross kernl64l.fi- /usr/local/bin/gforth-0.7.9_20220630 bye"
kernel/args.fs:90 Warning: interpret2 exists
Compiling wheres
undefined UADDR
undefined prelude-mask
undefined [compile]
undefined prelude-mask
undefined [compile]
undefined [compile]
undefined UTO
undefined UTO
undefined UTO
set image entry point
Unresolved: Nothing!
address-space Start: 0000.0000 End: 0000.0000 DP: 0000.0000
user-region Start: 0000.5358 End: 0000.5B58 DP: 0000.5480
dictionary Start: 0000.0100 End: 0080.0100 DP: 0006.AFD8
return-stack Start: 0000.0000 End: 0000.0000 DP: 0000.0000
data-stack Start: 0000.0000 End: 0000.0000 DP: 0000.0000
tib-region Start: 0000.0000 End: 0000.0000 DP: 0000.0000 Saving to
kernl64l.fi-
cp -pf kernl64l.fi- kernl64l.fi+
mv kernl64l.fi+ kernl64l.fi
touch -c kernl64l.fi
cd engine && /Library/Developer/CommandLineTools/usr/bin/make DOSTRIP=true
gforth-ditc-noll OPT=-noll OPTDEFINES= OPTOBJECTS=dblsub.o
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -fno-gcse -fcaller-saves -fno-defer-pop -fno-inline -fwrapv
-fno-strict-aliasing -fno-cse-follow-jumps -fno-reorder-blocks
-fno-reorder-blocks-and-partition -fno-toplevel-reorder -falign-labels=1
-falign-loops=1 -falign-jumps=1 -fno-delete-null-pointer-checks
-fcf-protection=none -pthread -DDOUBLY_INDIRECT -DGFORTH_DEBUGGING -o
engine-ditc-noll.o ./engine.c
gcc-11 -I./../arch/arm64 -I. -Wall -g -O2 -fomit-frame-pointer -pthread
-DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20220630:/usr/local/share/gforth/0.7.9_20220630:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth"'
-I/opt/X11/include -I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/harfbuzz/4.3.0/include/harfbuzz
-I/opt/homebrew/opt/freetype/include/freetype2
-I/opt/homebrew/Cellar/graphite2/1.3.14/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-I/opt/homebrew/Cellar/libffi/3.4.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include
-I/opt/homebrew/Cellar/glib/2.72.2/include/glib-2.0
-I/opt/homebrew/Cellar/glib/2.72.2/lib/glib-2.0/include
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.45/include
-c -DDOUBLY_INDIRECT -DGFORTH_DEBUGGING -o main-ditc-noll.o ./main.c
gcc-11 -pthread -L/opt/X11/lib -L/usr/local/lib engine-ditc-noll.o
main-ditc-noll.o io.o signals.o support-noll.o arm64-cacheflush.o exp10.o
sincos.o dblsub.o -ldl -lm libmain.o -o gforth-ditc-noll
true gforth-ditc-noll
cp -pf engine/gforth-ditc-noll gforth-ditc
true gforth-ditc
true
HOSTPREFIX="gcc" GFORTHD="./gforth-ditc -p .:~+:." GFORTH="./gforth-ditc
--die-on-signal --debug-mcheck -p .:~+:. -i kernl64l.fi exboot.fs startup.fs
arch/arm64/asm.fs arch/arm64/disasm.fs" includedir=`pwd`/include extrastuff='
-I'`pwd`/include/gforth/0.7.9_20220630/arm64 bindir=`pwd`
libccdir=`pwd`/lib/gforth/0.7.9_20220630/arm64/libcc-named ./gforthmi gforth.fi
--die-on-signal -p ".:~+:." -i kernl64l.fi exboot.fs startup.fs
arch/arm64/asm.fs arch/arm64/disasm.fs
Segmentation fault: 11.
Segmentation fault: 11.
Segmentation fault: 11.
make: *** [gforth.fi] Error 1