Seems not to be broken on amd64. Runtime segfaults in "preforth"
compiled and the run as part of the build.

No LLVM 16 patches in freebsd.


>>> Building on i386-1 under lang/gforth
        BDEPENDS = [devel/ffcall;devel/libffi;devel/libtool,-ltdl]
        DIST = [lang/gforth:gforth-0.7.3.tar.gz]
        FULLPKGNAME = gforth-0.7.3p4
        RDEPENDS = [devel/libffi;devel/libtool,-ltdl;devel/ffcall]
(Junk lock obtained for i386-1 at 1700052913.17)
>>> Running depends in lang/gforth at 1700052913.21
   last junk was in multimedia/minidlna
/usr/sbin/pkg_add -aI -Drepair ffcall-1.10p5 libffi-3.4.4 libltdl-2.4.2p2
was: /usr/sbin/pkg_add -aI -Drepair ffcall-1.10p5 libffi-3.4.4 libltdl-2.4.2p2
/usr/sbin/pkg_add -aI -Drepair ffcall-1.10p5 libffi-3.4.4 libltdl-2.4.2p2
>>> Running show-prepare-results in lang/gforth at 1700052915.08
===> lang/gforth
===> Building from scratch gforth-0.7.3p4
===> gforth-0.7.3p4 depends on: ffcall-* -> ffcall-1.10p5
===> gforth-0.7.3p4 depends on: libffi->=3.2.1p0 -> libffi-3.4.4
===> gforth-0.7.3p4 depends on: libltdl-* -> libltdl-2.4.2p2
===>  Verifying specs:  avcall c callback ffi ltdl m pthread
===>  found avcall.1.0 c.97.1 callback.1.0 ffi.2.0 ltdl.5.0 m.10.1 pthread.27.1
ffcall-1.10p5
libffi-3.4.4
libltdl-2.4.2p2
(Junk lock released for i386-1 at 1700052915.86)
distfiles size=2523433
>>> Running build in lang/gforth at 1700052915.89
===> lang/gforth
===>  Checking files for gforth-0.7.3p4
`/mnt/distfiles/gforth-0.7.3.tar.gz' is up to date.
>> (SHA256) gforth-0.7.3.tar.gz: OK
===>  Extracting for gforth-0.7.3p4
===>  Patching for gforth-0.7.3p4
===>   Applying OpenBSD patch patch-arch_mips_machine_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|http://git.savannah.gnu.org/cgit/gforth.git/commit/?id=4a03e4ff51314fc3a97acedeee928822b3bf1433
|
|--- arch/mips/machine.h.orig   Fri Oct 11 23:31:28 2013
|+++ arch/mips/machine.h        Tue Jan 26 09:04:42 2016
--------------------------
Patching file arch/mips/machine.h using Plan A...
Hunk #1 succeeded at 26.
done
===>   Applying OpenBSD patch patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|-export-dynamic is a linker option, pass it down as such.
|http://git.savannah.gnu.org/cgit/gforth.git/commit/?id=9631de152b4c83cdd0aadeb179a0c4f731192174
|
|--- configure.orig     Tue Jan 26 09:44:37 2016
|+++ configure  Tue Jan 26 09:44:50 2016
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4724.
done
===>   Applying OpenBSD patch patch-engine_engine_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Fix use of uninitalized memory. Found by malloc option J.
|http://git.savannah.gnu.org/cgit/gforth.git/commit/?id=4a03e4ff51314fc3a97acedeee928822b3bf1433
|
|--- engine/engine.c.orig       Thu Jan 28 19:10:49 2016
|+++ engine/engine.c    Thu Jan 28 19:10:54 2016
--------------------------
Patching file engine/engine.c using Plan A...
Hunk #1 succeeded at 409.
done
===>   Applying OpenBSD patch patch-engine_signals_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Avoid sigaltstack with an RWX mmap.
|
|Index: engine/signals.c
|--- engine/signals.c.orig
|+++ engine/signals.c
--------------------------
Patching file engine/signals.c using Plan A...
Hunk #1 succeeded at 403.
done
===>   Applying OpenBSD patch patch-libffi_fs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|http://git.savannah.gnu.org/cgit/gforth.git/commit/libffi.fs?id=87ea8a180b9fe7d3bd7d48611b4a9c5acbac4d5e
|
|--- libffi.fs.orig     Tue Jan 26 09:39:02 2016
|+++ libffi.fs  Tue Jan 26 09:39:26 2016
--------------------------
Patching file libffi.fs using Plan A...
Hunk #1 succeeded at 25.
done
===>   Applying OpenBSD patch patch_i386-engine_Makefile_in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|clang cannot compile these files at the default optimization level
|
|Index: engine/Makefile.in
|--- engine/Makefile.in.orig
|+++ engine/Makefile.in
--------------------------
Patching file engine/Makefile.in using Plan A...
Hunk #1 succeeded at 163.
Hunk #2 succeeded at 181.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for gforth-0.7.3p4
===>  Configuring for gforth-0.7.3p4
Using /pobj/gforth-0.7.3/config.site (generated)
sed -i "s,@CC@,& -I/usr/local/include -L/usr/local/lib,"  
/pobj/gforth-0.7.3/gforth-0.7.3/envos.fs.in
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-gtk-doc
configure: loading site script /pobj/gforth-0.7.3/config.site
checking for gcc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... 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) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether to use two dispatches per conditional branch... 1
checking make type... make: unknown option -- v
usage: make
checking whether the linker accepts -export-dynamic... yes
checking build system type... i386-unknown-openbsd7.4
checking host system type... i386-unknown-openbsd7.4
Check for arch/386//gforth.ld (false)
checking size of char *... 4
checking size of void *... 4
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of int... 4
checking size of long... 4
checking size of long long... (cached) 8
checking size of intptr_t... 4
checking size of int128_t... 0
checking size of uint128_t... 0
checking for a C type for cells... int
checking for a C type for wydes... short
checking for a C type for tetrabytes... int
checking for a C type for double-cells... long long
checking for a C type for unsigned double-cells... unsigned long long
checking for off_t... (cached) yes
checking size of off_t... 8
checking if cc understands -fno-gcse... yes
checking if cc understands -fno-strict-aliasing... yes
checking if cc understands -fno-crossjumping... no
checking if cc understands -fno-reorder-blocks... yes
checking if cc understands -falign-labels=1... yes
checking if cc understands -falign-loops=1... yes
checking if cc understands -falign-jumps=1... yes
checking how to suppress 'unused variable' warnings... __attribute__((unused))
checking how to invoke m4... m4 -s
checking for gforth... echo "You need to configure with a gforth in \$PATH to 
build this part" && false
checking for ./arch/386/asm.fs... yes
checking for ./arch/386/disasm.fs... yes
checking for install-info... /usr/bin/install-info
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 BSD-compatible install... /pobj/gforth-0.7.3/bin/install -c
checking for texi2dvi4a2ps... no
checking for texi2dvi... texi2dvi
checking for glibtool... no
checking for libtool... libtool
checking for asin in -lm... (cached) yes
checking for lt_dlinit in -lltdl... yes
checking ffi.h usability... yes
checking ffi.h presence... yes
checking for ffi.h... yes
checking for ffi_call in -lffi... yes
checking for __builtin_avcall in -lavcall... yes
checking for working memcmp... (cached) yes
checking for memmove... (cached) yes
checking for strtoul... (cached) yes
checking for pow10... no
checking for strerror... (cached) yes
checking for strsignal... (cached) yes
checking for atanh... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... (cached) yes
checking for dlopen... yes
checking for sys_siglist... yes
checking for getrusage... (cached) yes
checking for nanosleep... (cached) yes
checking for stack_t... yes
checking whether sys_siglist is declared... yes
checking for getopt_long... (cached) yes
checking for expm1... yes
checking for log1p... yes
checking for rint... yes
checking for ecvt... yes
checking for sys/mman.h... (cached) yes
checking for fnmatch.h... (cached) yes
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking for wchar.h... (cached) yes
checking for working POSIX fnmatch... (cached) yes
checking for mmap... (cached) yes
checking for sysconf... (cached) yes
checking for getpagesize... (cached) yes
checking for wcwidth... (cached) yes
checking for emacs... no
checking for xemacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedist
config.status: creating gforthmi
config.status: creating vmgen
config.status: creating machpc.fs
config.status: creating envos.fs
config.status: creating preforth
config.status: creating engine/Makefile
config.status: WARNING:  'engine/Makefile.in' seems to ignore the --datarootdir 
setting
config.status: creating engine/libcc.h
config.status: creating doc/version.texi
config.status: creating build-ec
config.status: creating engine/config.h
config.status: executing stamp-h commands
mkdir -p -- include/gforth/0.7.3
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-gtk-doc
===>  Building for gforth-0.7.3p4
if test -r version && test x'0.7.3' = x`cat version` ; then true ; else echo 
0.7.3 > version ; fi
echo ": version-string s\" 0.7.3\" ;" > kernel/version.fs
sed -f mkdosmf.sed <Makefile.in >makefile.dos
sed -f mkdosmf.sed <engine/Makefile.in >engine/makefile.dos
sed -f mkos2mf.sed <Makefile.in >makefile.os2
sed -f mkos2mf.sed <engine/Makefile.in >engine/makefile.os2
echo '%.o:      %.c' >>makefile.os2
echo '          $(GCC) $(CFLAGS) $(CPPFLAGS) -c $<' >>makefile.os2
echo '%.o:      %.c' >>engine/makefile.os2
echo '          $(GCC) $(CFLAGS) $(CPPFLAGS) -c $<' >>engine/makefile.os2
if test -z ""; then  for i in -ll-reg -ll; do /usr/bin/make optgforth OPT=$i && 
cp -p gforth${i} gforth && break; done;  else  ( cd engine && /usr/bin/make 
gforth ) &&  cp -p engine/gforth gforth &&  true gforth;  true;  /usr/bin/make 
checkone check-nofast ENGINE=./engine/gforth;  fi
/usr/bin/make gforth-ll-reg OPT=-ll-reg OPTDEFINES="-DFORCE_LL -DFORCE_REG" 
OPTOBJECTS=
if test -z "-ll-reg"; then  for i in -ll-reg -ll; do /usr/bin/make optgforth 
OPT=$i && cp -p gforth${i} gforth-ll-reg && break; done;  else  ( cd engine && 
/usr/bin/make gforth-ll-reg ) &&  cp -p engine/gforth-ll-reg gforth-ll-reg &&  
true gforth-ll-reg;  true;  /usr/bin/make checkone check-nofast 
ENGINE=./engine/gforth-ll-reg;  fi
cd .. && CONFIG_FILES=stamp-h CONFIG_HEADERS=engine/config.h ./config.status
config.status: creating stamp-h
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
echo timestamp > stamp-h
cc  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -O0 -fno-gcse -fno-strict-aliasing -fno-reorder-blocks 
-falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves 
-fno-inline -fno-reorder-blocks -DGFORTH_DEBUGGING -o engine-ll-reg.o -c 
./engine.c
cc: warning: optimization flag '-fno-gcse' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-labels=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-jumps=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-defer-pop' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fcaller-saves' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -O0 -fno-gcse -fno-strict-aliasing -fno-reorder-blocks 
-falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves 
-fno-inline -fno-reorder-blocks -DGFORTH_DEBUGGING -DENGINE=2 -o 
engine2-ll-reg.o -c ./engine.c
cc: warning: optimization flag '-fno-gcse' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-labels=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-jumps=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-defer-pop' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fcaller-saves' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -DGFORTH_DEBUGGING  -o main-ll-reg.o -c ./main.c
In file included from ./main.c:47:
./getopt.h:104:12: warning: a function declaration without a prototype is 
deprecated in all versions of C and is treated as a zero-parameter prototype in 
C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int getopt ();
           ^
/usr/include/unistd.h:386:6: note: conflicting prototype is here
int      getopt(int, char * const *, const char *);
         ^
./main.c:252:12: warning: duplicate 'const' declaration specifier 
[-Wduplicate-decl-specifier]
const char const* const prim_names[]={
           ^
./main.c:696:2: warning: You can ignore the warnings about clobbered variables 
in gforth_go [-W#warnings]
#warning You can ignore the warnings about clobbered variables in gforth_go
 ^
3 warnings generated.
cc -c  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -o io.o io.c
io.c:58:11: warning: 'alloca' macro redefined [-Wmacro-redefined]
#  define alloca __builtin_alloca
          ^
/usr/include/stdlib.h:267:9: note: previous definition is here
#define alloca(n) __builtin_alloca(n)
        ^
1 warning generated.
cc -c  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -o signals.o signals.c
cc -c  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -o support-ll-reg.o ./support.c
./support.c:82:18: warning: a function declaration without a prototype is 
deprecated in all versions of C and is treated as a zero-parameter prototype in 
C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
  struct passwd *getpwnam (), *user_entry;
                 ^
/usr/include/pwd.h:95:16: note: conflicting prototype is here
struct passwd   *getpwnam(const char *);
                 ^
1 warning generated.
cc -c  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL -DFORCE_REG 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -o pow10.o pow10.c
cc  -L/usr/local/lib -Wl,-export-dynamic engine-ll-reg.o engine2-ll-reg.o 
main-ll-reg.o io.o signals.o support-ll-reg.o  pow10.o  -lavcall -lffi -lltdl 
-lm   -o gforth-ll-reg
main.c(main-ll-reg.o:(checkimage)): warning: strcpy() is almost always misused, 
please use strlcpy()
./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross 
kernl16b.fi- /usr/local/bin/gforth-0.7.3 bye"


Segmentation fault.
*** Error 139 in . (Makefile:716 'kernl16b.fi-')
*** Error 2 in . (Makefile:820 'gforth-ll-reg')
*** Error 2 in . (Makefile:823 'optgforth')
/usr/bin/make gforth-ll OPT=-ll OPTDEFINES=-DFORCE_LL OPTOBJECTS=
if test -z "-ll"; then  for i in -ll-reg -ll; do /usr/bin/make optgforth OPT=$i 
&& cp -p gforth${i} gforth-ll && break; done;  else  ( cd engine && 
/usr/bin/make gforth-ll ) &&  cp -p engine/gforth-ll gforth-ll &&  true 
gforth-ll;  true;  /usr/bin/make checkone check-nofast 
ENGINE=./engine/gforth-ll;  fi
cc  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -O0 -fno-gcse -fno-strict-aliasing -fno-reorder-blocks 
-falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves 
-fno-inline -fno-reorder-blocks -DGFORTH_DEBUGGING -o engine-ll.o -c ./engine.c
cc: warning: optimization flag '-fno-gcse' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-labels=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-jumps=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-defer-pop' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fcaller-saves' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -O0 -fno-gcse -fno-strict-aliasing -fno-reorder-blocks 
-falign-labels=1 -falign-loops=1 -falign-jumps=1 -fno-defer-pop -fcaller-saves 
-fno-inline -fno-reorder-blocks -DGFORTH_DEBUGGING -DENGINE=2 -o engine2-ll.o 
-c ./engine.c
cc: warning: optimization flag '-fno-gcse' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-labels=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-falign-jumps=1' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-defer-pop' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fcaller-saves' is not supported 
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fno-reorder-blocks' is not supported 
[-Wignored-optimization-argument]
cc  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -DGFORTH_DEBUGGING  -o main-ll.o -c ./main.c
In file included from ./main.c:47:
./getopt.h:104:12: warning: a function declaration without a prototype is 
deprecated in all versions of C and is treated as a zero-parameter prototype in 
C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int getopt ();
           ^
/usr/include/unistd.h:386:6: note: conflicting prototype is here
int      getopt(int, char * const *, const char *);
         ^
./main.c:252:12: warning: duplicate 'const' declaration specifier 
[-Wduplicate-decl-specifier]
const char const* const prim_names[]={
           ^
./main.c:696:2: warning: You can ignore the warnings about clobbered variables 
in gforth_go [-W#warnings]
#warning You can ignore the warnings about clobbered variables in gforth_go
 ^
3 warnings generated.
cc -c  -I./../arch/386 -I. -Wall -O2 -pipe -Dunix -fomit-frame-pointer 
-fforce-addr -DHAVE_CONFIG_H -DFORCE_LL 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.3:/usr/local/share/gforth/0.7.3"'
  -I/usr/local/include -o support-ll.o ./support.c
./support.c:82:18: warning: a function declaration without a prototype is 
deprecated in all versions of C and is treated as a zero-parameter prototype in 
C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
  struct passwd *getpwnam (), *user_entry;
                 ^
/usr/include/pwd.h:95:16: note: conflicting prototype is here
struct passwd   *getpwnam(const char *);
                 ^
1 warning generated.
cc  -L/usr/local/lib -Wl,-export-dynamic engine-ll.o engine2-ll.o main-ll.o 
io.o signals.o support-ll.o  pow10.o  -lavcall -lffi -lltdl -lm   -o gforth-ll
main.c(main-ll.o:(checkimage)): warning: strcpy() is almost always misused, 
please use strlcpy()
./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross 
kernl16b.fi- /usr/local/bin/gforth-0.7.3 bye"


Segmentation fault.
*** Error 139 in . (Makefile:716 'kernl16b.fi-')
*** Error 2 in . (Makefile:820 'gforth-ll')
*** Error 2 in . (Makefile:823 'optgforth')
*** Error 2 in /pobj/gforth-0.7.3/gforth-0.7.3 (Makefile:820 'gforth')
*** Error 2 in lang/gforth (/usr/ports/infrastructure/mk/bsd.port.mk:3059 
'/pobj/gforth-0.7.3/.build_done': @cd /pobj/gforth-0.7.3/gforth-0....)
*** Error 2 in lang/gforth (/usr/ports/infrastructure/mk/bsd.port.mk:2702 
'build': @lock=gforth-0.7.3p4;  export _LOCKS_HELD=" gforth-0.7.3p...)
===> Exiting lang/gforth with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1700052939.59
max_stuck=0.00/depends=1.88/show-prepare-results=0.81/build=23.72
Error: job failed with 512 on i386-1 at 1700052939

Reply via email to