gforth
[Top][All Lists]
Advanced

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

Re: Building gforth 0.7.9 under macos with M1 chip


From: Anton Ertl
Subject: Re: Building gforth 0.7.9 under macos with M1 chip
Date: Sat, 9 Jul 2022 19:50:07 +0200

On Sat, Jul 09, 2022 at 06:26:11PM +0100, tristan wrote:
> 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
...
> 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

Ok, no immediate known way to fix it.  You could try showing us the
output of

./gforth-ditc --die-on-signal --debug-mcheck -p .:~+:. -i kernl64l.fi exboot.fs 
startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs

at that point, but my guess is that it will be hard to fix without us
working directly on such a box.  I think we have access to such a box,
but it will take a few days.

- anton



reply via email to

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