+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/or1ksim-0.2.0rc2nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/or1ksim-0.2.0rc2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for or1ksim-0.2.0rc2nb1
/opt/local/bin/bmake  all-recursive
Making all in cpu
Making all in common
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT abstract.o -MD -MP -MF ".deps/abstract.Tpo" -c -o abstract.o abstract.c;  then mv -f ".deps/abstract.Tpo" ".deps/abstract.Po"; else rm -f ".deps/abstract.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT parse.o -MD -MP -MF ".deps/parse.Tpo" -c -o parse.o parse.c;  then mv -f ".deps/parse.Tpo" ".deps/parse.Po"; else rm -f ".deps/parse.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT stats.o -MD -MP -MF ".deps/stats.Tpo" -c -o stats.o stats.c;  then mv -f ".deps/stats.Tpo" ".deps/stats.Po"; else rm -f ".deps/stats.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT trace.o -MD -MP -MF ".deps/trace.Tpo" -c -o trace.o trace.c;  then mv -f ".deps/trace.Tpo" ".deps/trace.Po"; else rm -f ".deps/trace.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT labels.o -MD -MP -MF ".deps/labels.Tpo" -c -o labels.o labels.c;  then mv -f ".deps/labels.Tpo" ".deps/labels.Po"; else rm -f ".deps/labels.Tpo"; exit 1; fi
rm -f libcommon.a
ar cr libcommon.a abstract.o parse.o  stats.o trace.o labels.o 
ranlib libcommon.a
Making all in or1k
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT sprs.o -MD -MP -MF ".deps/sprs.Tpo" -c -o sprs.o sprs.c;  then mv -f ".deps/sprs.Tpo" ".deps/sprs.Po"; else rm -f ".deps/sprs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT except.o -MD -MP -MF ".deps/except.Tpo" -c -o except.o except.c;  then mv -f ".deps/except.Tpo" ".deps/except.Po"; else rm -f ".deps/except.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT spr_dump.o -MD -MP -MF ".deps/spr_dump.Tpo" -c -o spr_dump.o spr_dump.c;  then mv -f ".deps/spr_dump.Tpo" ".deps/spr_dump.Po"; else rm -f ".deps/spr_dump.Tpo"; exit 1; fi
rm -f libor1k.a
ar cr libor1k.a sprs.o except.o  spr_dump.o 
ranlib libor1k.a
Making all in or32
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT or32.o -MD -MP -MF ".deps/or32.Tpo" -c -o or32.o or32.c;  then mv -f ".deps/or32.Tpo" ".deps/or32.Po"; else rm -f ".deps/or32.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT generate.o -MD -MP -MF ".deps/generate.Tpo" -c -o generate.o generate.c;  then mv -f ".deps/generate.Tpo" ".deps/generate.Po"; else rm -f ".deps/generate.Tpo"; exit 1; fi
gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o generate  or32.o  generate.o  -lsocket -lnsl
./generate ./insnset.c execgen.c
Building automata... done, num uncovered: 0/213.
Parsing operands data... done.
/opt/local/bin/bmake  all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT execute.o -MD -MP -MF ".deps/execute.Tpo" -c -o execute.o execute.c;  then mv -f ".deps/execute.Tpo" ".deps/execute.Po"; else rm -f ".deps/execute.Tpo"; exit 1; fi
rm -f libarch.a
ar cr libarch.a execute.o  or32.o 
ranlib libarch.a
Making all in bpb
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT branch_predict.o -MD -MP -MF ".deps/branch_predict.Tpo" -c -o branch_predict.o branch_predict.c;  then mv -f ".deps/branch_predict.Tpo" ".deps/branch_predict.Po"; else rm -f ".deps/branch_predict.Tpo"; exit 1; fi
rm -f libbpb.a
ar cr libbpb.a branch_predict.o 
ranlib libbpb.a
Making all in support
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT simprintf.o -MD -MP -MF ".deps/simprintf.Tpo" -c -o simprintf.o simprintf.c;  then mv -f ".deps/simprintf.Tpo" ".deps/simprintf.Po"; else rm -f ".deps/simprintf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT dumpverilog.o -MD -MP -MF ".deps/dumpverilog.Tpo" -c -o dumpverilog.o dumpverilog.c;  then mv -f ".deps/dumpverilog.Tpo" ".deps/dumpverilog.Po"; else rm -f ".deps/dumpverilog.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT profile.o -MD -MP -MF ".deps/profile.Tpo" -c -o profile.o profile.c;  then mv -f ".deps/profile.Tpo" ".deps/profile.Po"; else rm -f ".deps/profile.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT sched.o -MD -MP -MF ".deps/sched.Tpo" -c -o sched.o sched.c;  then mv -f ".deps/sched.Tpo" ".deps/sched.Po"; else rm -f ".deps/sched.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c;  then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c;  then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
rm -f libsupport.a
ar cr libsupport.a simprintf.o dumpverilog.o  profile.o sched.o debug.o  misc.o 
ranlib libsupport.a
Making all in cache
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT dcache_model.o -MD -MP -MF ".deps/dcache_model.Tpo" -c -o dcache_model.o dcache_model.c;  then mv -f ".deps/dcache_model.Tpo" ".deps/dcache_model.Po"; else rm -f ".deps/dcache_model.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT icache_model.o -MD -MP -MF ".deps/icache_model.Tpo" -c -o icache_model.o icache_model.c;  then mv -f ".deps/icache_model.Tpo" ".deps/icache_model.Po"; else rm -f ".deps/icache_model.Tpo"; exit 1; fi
rm -f libcache.a
ar cr libcache.a dcache_model.o icache_model.o 
ranlib libcache.a
Making all in mmu
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT dmmu.o -MD -MP -MF ".deps/dmmu.Tpo" -c -o dmmu.o dmmu.c;  then mv -f ".deps/dmmu.Tpo" ".deps/dmmu.Po"; else rm -f ".deps/dmmu.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT immu.o -MD -MP -MF ".deps/immu.Tpo" -c -o immu.o immu.c;  then mv -f ".deps/immu.Tpo" ".deps/immu.Po"; else rm -f ".deps/immu.Tpo"; exit 1; fi
rm -f libmmu.a
ar cr libmmu.a dmmu.o immu.o 
ranlib libmmu.a
Making all in peripheral
Making all in channels
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT channel.o -MD -MP -MF ".deps/channel.Tpo" -c -o channel.o channel.c;  then mv -f ".deps/channel.Tpo" ".deps/channel.Po"; else rm -f ".deps/channel.Tpo"; exit 1; fi
channel.c: In function 'register_channel':
channel.c:248:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  248 |         return (int)new;        /* dummy */
      |                ^
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT fd.o -MD -MP -MF ".deps/fd.Tpo" -c -o fd.o fd.c;  then mv -f ".deps/fd.Tpo" ".deps/fd.Po"; else rm -f ".deps/fd.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.c;  then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT generic.o -MD -MP -MF ".deps/generic.Tpo" -c -o generic.o generic.c;  then mv -f ".deps/generic.Tpo" ".deps/generic.Po"; else rm -f ".deps/generic.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT xterm.o -MD -MP -MF ".deps/xterm.Tpo" -c -o xterm.o xterm.c;  then mv -f ".deps/xterm.Tpo" ".deps/xterm.Po"; else rm -f ".deps/xterm.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT tcp.o -MD -MP -MF ".deps/tcp.Tpo" -c -o tcp.o tcp.c;  then mv -f ".deps/tcp.Tpo" ".deps/tcp.Po"; else rm -f ".deps/tcp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../cpu/or32 -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../peripheral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../cuc -I../../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT tty.o -MD -MP -MF ".deps/tty.Tpo" -c -o tty.o tty.c;  then mv -f ".deps/tty.Tpo" ".deps/tty.Po"; else rm -f ".deps/tty.Tpo"; exit 1; fi
rm -f libchannels.a
ar cr libchannels.a channel.o fd.o  file.o generic.o xterm.o tcp.o  tty.o 
ranlib libchannels.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT 16450.o -MD -MP -MF ".deps/16450.Tpo" -c -o 16450.o 16450.c;  then mv -f ".deps/16450.Tpo" ".deps/16450.Po"; else rm -f ".deps/16450.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT dma.o -MD -MP -MF ".deps/dma.Tpo" -c -o dma.o dma.c;  then mv -f ".deps/dma.Tpo" ".deps/dma.Po"; else rm -f ".deps/dma.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT mc.o -MD -MP -MF ".deps/mc.Tpo" -c -o mc.o mc.c;  then mv -f ".deps/mc.Tpo" ".deps/mc.Po"; else rm -f ".deps/mc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT eth.o -MD -MP -MF ".deps/eth.Tpo" -c -o eth.o eth.c;  then mv -f ".deps/eth.Tpo" ".deps/eth.Po"; else rm -f ".deps/eth.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT crc32.o -MD -MP -MF ".deps/crc32.Tpo" -c -o crc32.o crc32.c;  then mv -f ".deps/crc32.Tpo" ".deps/crc32.Po"; else rm -f ".deps/crc32.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT gpio.o -MD -MP -MF ".deps/gpio.Tpo" -c -o gpio.o gpio.c;  then mv -f ".deps/gpio.Tpo" ".deps/gpio.Po"; else rm -f ".deps/gpio.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT vga.o -MD -MP -MF ".deps/vga.Tpo" -c -o vga.o vga.c;  then mv -f ".deps/vga.Tpo" ".deps/vga.Po"; else rm -f ".deps/vga.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT fb.o -MD -MP -MF ".deps/fb.Tpo" -c -o fb.o fb.c;  then mv -f ".deps/fb.Tpo" ".deps/fb.Po"; else rm -f ".deps/fb.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT ps2kbd.o -MD -MP -MF ".deps/ps2kbd.Tpo" -c -o ps2kbd.o ps2kbd.c;  then mv -f ".deps/ps2kbd.Tpo" ".deps/ps2kbd.Po"; else rm -f ".deps/ps2kbd.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT atahost.o -MD -MP -MF ".deps/atahost.Tpo" -c -o atahost.o atahost.c;  then mv -f ".deps/atahost.Tpo" ".deps/atahost.Po"; else rm -f ".deps/atahost.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT atadevice.o -MD -MP -MF ".deps/atadevice.Tpo" -c -o atadevice.o atadevice.c;  then mv -f ".deps/atadevice.Tpo" ".deps/atadevice.Po"; else rm -f ".deps/atadevice.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT atadevice_cmdi.o -MD -MP -MF ".deps/atadevice_cmdi.Tpo" -c -o atadevice_cmdi.o atadevice_cmdi.c;  then mv -f ".deps/atadevice_cmdi.Tpo" ".deps/atadevice_cmdi.Po"; else rm -f ".deps/atadevice_cmdi.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT memory.o -MD -MP -MF ".deps/memory.Tpo" -c -o memory.o memory.c;  then mv -f ".deps/memory.Tpo" ".deps/memory.Po"; else rm -f ".deps/memory.Tpo"; exit 1; fi
memory.c: In function 'memory_sec_end':
memory.c:353:5: warning: implicit declaration of function 'mc_reg_mem_area'; did you mean 'reg_mem_area'? [-Wimplicit-function-declaration]
  353 |     mc_reg_mem_area(mema, mem->ce, mem->mc);
      |     ^~~~~~~~~~~~~~~
      |     reg_mem_area
rm -f libperipheral.a
ar cr libperipheral.a 16450.o dma.o  mc.o eth.o crc32.o gpio.o  vga.o fb.o ps2kbd.o atahost.o  atadevice.o atadevice_cmdi.o memory.o 
ranlib libperipheral.a
Making all in tick
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT tick.o -MD -MP -MF ".deps/tick.Tpo" -c -o tick.o tick.c;  then mv -f ".deps/tick.Tpo" ".deps/tick.Po"; else rm -f ".deps/tick.Tpo"; exit 1; fi
rm -f libtick.a
ar cr libtick.a tick.o 
ranlib libtick.a
Making all in pm
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT pm.o -MD -MP -MF ".deps/pm.Tpo" -c -o pm.o pm.c;  then mv -f ".deps/pm.Tpo" ".deps/pm.Po"; else rm -f ".deps/pm.Tpo"; exit 1; fi
rm -f libpm.a
ar cr libpm.a pm.o 
ranlib libpm.a
Making all in pic
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT pic.o -MD -MP -MF ".deps/pic.Tpo" -c -o pic.o pic.c;  then mv -f ".deps/pic.Tpo" ".deps/pic.Po"; else rm -f ".deps/pic.Tpo"; exit 1; fi
rm -f libpic.a
ar cr libpic.a pic.o 
ranlib libpic.a
Making all in debug
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT debug_unit.o -MD -MP -MF ".deps/debug_unit.Tpo" -c -o debug_unit.o debug_unit.c;  then mv -f ".deps/debug_unit.Tpo" ".deps/debug_unit.Po"; else rm -f ".deps/debug_unit.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT gdbcomm.o -MD -MP -MF ".deps/gdbcomm.Tpo" -c -o gdbcomm.o gdbcomm.c;  then mv -f ".deps/gdbcomm.Tpo" ".deps/gdbcomm.Po"; else rm -f ".deps/gdbcomm.Tpo"; exit 1; fi
rm -f libdebug.a
ar cr libdebug.a debug_unit.o gdbcomm.o 
ranlib libdebug.a
Making all in vapi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT vapi.o -MD -MP -MF ".deps/vapi.Tpo" -c -o vapi.o vapi.c;  then mv -f ".deps/vapi.Tpo" ".deps/vapi.Po"; else rm -f ".deps/vapi.Tpo"; exit 1; fi
rm -f libvapi.a
ar cr libvapi.a vapi.o 
ranlib libvapi.a
Making all in cuc
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT cuc.o -MD -MP -MF ".deps/cuc.Tpo" -c -o cuc.o cuc.c;  then mv -f ".deps/cuc.Tpo" ".deps/cuc.Po"; else rm -f ".deps/cuc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT load.o -MD -MP -MF ".deps/load.Tpo" -c -o load.o load.c;  then mv -f ".deps/load.Tpo" ".deps/load.Po"; else rm -f ".deps/load.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT bb.o -MD -MP -MF ".deps/bb.Tpo" -c -o bb.o bb.c;  then mv -f ".deps/bb.Tpo" ".deps/bb.Po"; else rm -f ".deps/bb.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT memory.o -MD -MP -MF ".deps/memory.Tpo" -c -o memory.o memory.c;  then mv -f ".deps/memory.Tpo" ".deps/memory.Po"; else rm -f ".deps/memory.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT verilog.o -MD -MP -MF ".deps/verilog.Tpo" -c -o verilog.o verilog.c;  then mv -f ".deps/verilog.Tpo" ".deps/verilog.Po"; else rm -f ".deps/verilog.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT timings.o -MD -MP -MF ".deps/timings.Tpo" -c -o timings.o timings.c;  then mv -f ".deps/timings.Tpo" ".deps/timings.Po"; else rm -f ".deps/timings.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT insn.o -MD -MP -MF ".deps/insn.Tpo" -c -o insn.o insn.c;  then mv -f ".deps/insn.Tpo" ".deps/insn.Po"; else rm -f ".deps/insn.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT adv.o -MD -MP -MF ".deps/adv.Tpo" -c -o adv.o adv.c;  then mv -f ".deps/adv.Tpo" ".deps/adv.Po"; else rm -f ".deps/adv.Tpo"; exit 1; fi
rm -f libcuc.a
ar cr libcuc.a cuc.o load.o bb.o  memory.o verilog.o timings.o  insn.o adv.o 
ranlib libcuc.a
Making all in port
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT strndup.o -MD -MP -MF ".deps/strndup.Tpo" -c -o strndup.o strndup.c;  then mv -f ".deps/strndup.Tpo" ".deps/strndup.Po"; else rm -f ".deps/strndup.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cpu/or32 -I.. -I../cpu/common -I../cpu/or1k -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../peripheral/channels -I../pm -I../pic -I../debug -I../vapi -I../support -I../cuc -I../port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT isblank.o -MD -MP -MF ".deps/isblank.Tpo" -c -o isblank.o isblank.c;  then mv -f ".deps/isblank.Tpo" ".deps/isblank.Po"; else rm -f ".deps/isblank.Tpo"; exit 1; fi
rm -f libport.a
ar cr libport.a strndup.o isblank.o 
ranlib libport.a
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./cpu/or32 -I. -I./cpu/common -I./cpu/or1k -I./cache -I./mmu -I./bpb -I./peripheral -I./tick -I./peripheral/channels -I./pm -I./pic -I./debug -I./vapi -I./support -I./cuc -I./port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT toplevel.o -MD -MP -MF ".deps/toplevel.Tpo" -c -o toplevel.o toplevel.c;  then mv -f ".deps/toplevel.Tpo" ".deps/toplevel.Po"; else rm -f ".deps/toplevel.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./cpu/or32 -I. -I./cpu/common -I./cpu/or1k -I./cache -I./mmu -I./bpb -I./peripheral -I./tick -I./peripheral/channels -I./pm -I./pic -I./debug -I./vapi -I./support -I./cuc -I./port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT sim-config.o -MD -MP -MF ".deps/sim-config.Tpo" -c -o sim-config.o sim-config.c;  then mv -f ".deps/sim-config.Tpo" ".deps/sim-config.Po"; else rm -f ".deps/sim-config.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./cpu/or32 -I. -I./cpu/common -I./cpu/or1k -I./cache -I./mmu -I./bpb -I./peripheral -I./tick -I./peripheral/channels -I./pm -I./pic -I./debug -I./vapi -I./support -I./cuc -I./port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT profiler.o -MD -MP -MF ".deps/profiler.Tpo" -c -o profiler.o profiler.c;  then mv -f ".deps/profiler.Tpo" ".deps/profiler.Po"; else rm -f ".deps/profiler.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./cpu/or32 -I. -I./cpu/common -I./cpu/or1k -I./cache -I./mmu -I./bpb -I./peripheral -I./tick -I./peripheral/channels -I./pm -I./pic -I./debug -I./vapi -I./support -I./cuc -I./port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT mprofiler.o -MD -MP -MF ".deps/mprofiler.Tpo" -c -o mprofiler.o mprofiler.c;  then mv -f ".deps/mprofiler.Tpo" ".deps/mprofiler.Po"; else rm -f ".deps/mprofiler.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./cpu/or32 -I. -I./cpu/common -I./cpu/or1k -I./cache -I./mmu -I./bpb -I./peripheral -I./tick -I./peripheral/channels -I./pm -I./pic -I./debug -I./vapi -I./support -I./cuc -I./port   -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -MT sim-cmd.o -MD -MP -MF ".deps/sim-cmd.Tpo" -c -o sim-cmd.o sim-cmd.c;  then mv -f ".deps/sim-cmd.Tpo" ".deps/sim-cmd.Po"; else rm -f ".deps/sim-cmd.Tpo"; exit 1; fi
gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include  -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o sim -lm toplevel.o sim-config.o  profiler.o mprofiler.o sim-cmd.o cpu/common/libcommon.a cpu/or32/libarch.a  cpu/or1k/libor1k.a support/libsupport.a mmu/libmmu.a  bpb/libbpb.a cache/libcache.a peripheral/libperipheral.a  peripheral/channels/libchannels.a  tick/libtick.a pm/libpm.a pic/libpic.a debug/libdebug.a  vapi/libvapi.a cuc/libcuc.a port/libport.a -lsocket -lnsl
Undefined			first referenced
 symbol  			    in file
rl_attempted_completion_function    sim-cmd.o
where_history                       sim-cmd.o
history_get                         sim-cmd.o
rl_completion_matches               sim-cmd.o
readline                            sim-cmd.o
rl_readline_name                    sim-cmd.o
rl_event_hook                       sim-cmd.o
add_history                         sim-cmd.o
ld: fatal: symbol referencing errors. No output written to sim
collect2: error: ld returned 1 exit status
*** [sim] Error code 1

bmake[2]: stopped in /home/pbulk/build/emulators/or1ksim/work/or1ksim-0.2.0rc2
1 error

bmake[2]: stopped in /home/pbulk/build/emulators/or1ksim/work/or1ksim-0.2.0rc2
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/emulators/or1ksim/work/or1ksim-0.2.0rc2
1 error

bmake[1]: stopped in /home/pbulk/build/emulators/or1ksim/work/or1ksim-0.2.0rc2
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/emulators/or1ksim/work/or1ksim-0.2.0rc2
1 error

bmake: stopped in /home/pbulk/build/emulators/or1ksim/work/or1ksim-0.2.0rc2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/emulators/or1ksim
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/emulators/or1ksim