yrp604 / bochscpu-bench

5 stars 2 forks source link

build issue #1

Closed djn3m0 closed 2 years ago

djn3m0 commented 2 years ago

Hi,

Im trying to build bochscpu for C/C++ headers, I did this once following your instructions https://github.com/0vercl0k/wtf/issues/43 but it seems something has changed now,

I have the following directory structure,

bochscpu  bochscpu-bench  bochscpu-ffi

I get the following error.

C:\Users\user\Desktop\bochs+\bochscpu-bench>cargo build --release
   Compiling winapi v0.3.9
   Compiling autocfg v1.0.1
   Compiling cc v1.0.72
   Compiling typenum v1.15.0
   Compiling proc-macro2 v1.0.36
   Compiling version_check v0.9.4
   Compiling unicode-xid v0.2.2
   Compiling libc v0.2.112
   Compiling cfg-if v1.0.0
   Compiling syn v1.0.84
   Compiling log v0.4.14
   Compiling void v1.0.2
   Compiling lazy_static v0.2.11
   Compiling arrayvec v0.7.2
   Compiling constant_time_eq v0.1.5
   Compiling arrayref v0.3.6
   Compiling fnv v1.0.7
   Compiling lazy_static v1.4.0
   Compiling bitflags v1.3.2
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling generic-array v0.14.4
   Compiling unreachable v1.0.0
   Compiling thread_local v0.3.4
   Compiling quote v1.0.14
   Compiling blake3 v1.2.0
   Compiling bochscpu v0.1.0 (C:\Users\user\Desktop\bochs+\bochscpu)
   Compiling digest v0.9.0
error: failed to run custom build command for `bochscpu v0.1.0 (C:\Users\user\Desktop\bochs+\bochscpu)`

Caused by:
  process didn't exit successfully: `C:\Users\user\Desktop\bochs+\bochscpu-bench\target\release\build\bochscpu-8567dd1ac2b46909\build-script-build` (exit code: 1)
  --- stdout
  TARGET = Some("x86_64-pc-windows-msvc")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-pc-windows-msvc")
  CXX_x86_64-pc-windows-msvc = None
  CXX_x86_64_pc_windows_msvc = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-pc-windows-msvc = None
  CXXFLAGS_x86_64_pc_windows_msvc = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  DEBUG = Some("false")
  running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "bochs" "-I" "bochs/instrument/bochscpu" "-W4" "-DWIN32" "-FoC:\\Users\\user\\Desktop\\bochs+\\bochscpu-bench\\target\\release\\build\\bochscpu-523cd53caff7d1c2\\out\\cabi/cpu-cabi.o" "-c" "cabi/cpu-cabi.cc"
  cpu-cabi.cc
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(88): warning C4244: 'return': conversion from 'const bx_objtype' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(174): warning C4100: 'value': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(176): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(177): warning C4100: 'dquotes': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(177): warning C4100: 'buflen': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(177): warning C4100: 'buf': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(222): warning C4458: declaration of 'handler' hides class member
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(200): note: see declaration of 'bx_param_num_c::handler'
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(673): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(675): warning C4100: 'n': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(678): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(678): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(679): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(679): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(680): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(680): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(681): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(681): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(682): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(682): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(685): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(686): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(687): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(688): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(688): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(689): warning C4100: 'action': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(689): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(689): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(690): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(691): warning C4100: 'action': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(691): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(692): warning C4100: 'action': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(693): warning C4100: 'val': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(694): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(703): warning C4100: 'code': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(707): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(707): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(708): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(709): warning C4100: 'overwrite': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(709): warning C4100: 'rc': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(710): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(710): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(711): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(712): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(712): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(713): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(714): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(714): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(715): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(716): warning C4100: 'mode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(728): warning C4100: 'arg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(728): warning C4100: 'func': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(729): warning C4100: 'arg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(729): warning C4100: 'func': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(732): warning C4100: 'event': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'mode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'msg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(740): warning C4100: 'msg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(740): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(740): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(742): warning C4100: 'val': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(746): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(747): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'flags': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'the_default': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'prompt': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'maxlen': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'filename': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(752): warning C4100: 'the_default': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(752): warning C4100: 'prompt': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(752): warning C4100: 'title': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(755): warning C4100: 'overwrite': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(755): warning C4100: 'sectors': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(755): warning C4100: 'filename': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(773): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(775): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(786): warning C4100: 'userdata': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(785): warning C4100: 'callback': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(784): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(787): warning C4100: 'command': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(787): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(788): warning C4100: 'argv': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(788): warning C4100: 'argc': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(789): warning C4100: 'handler': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(789): warning C4100: 'dev': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(790): warning C4100: 'id': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(799): warning C4100: 'val': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(803): warning C4100: 'newmode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(807): warning C4100: 'save_func': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(807): warning C4100: 'parser': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(807): warning C4100: 'keyword': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(808): warning C4100: 'keyword': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(809): warning C4100: 'keyword': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(810): warning C4100: 'params': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(810): warning C4100: 'num_params': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(810): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(811): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(821): warning C4100: 'checkpoint_path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(826): warning C4100: 'restore_name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(826): warning C4100: 'sr_path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(826): warning C4100: 'root': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(829): warning C4100: 'load': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(829): warning C4100: 'plugname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(830): warning C4100: 'menu': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(830): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(831): warning C4100: 'maxports': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(831): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(831): warning C4100: 'usb_name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(832): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(832): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(832): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(833): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(833): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(833): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(835): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(835): warning C4100: 'maxports': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(835): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(834): warning C4100: 'devopt': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(834): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'multiline': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'optname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(837): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(837): warning C4100: 'maxports': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(837): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(126): warning C4100: 'w': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(126): warning C4100: 'active': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(126): warning C4100: 'element': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(127): warning C4100: 'tip': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(127): warning C4100: 'hbar_id': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(135): warning C4100: 'newmode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(141): warning C4100: 'sig': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(150): warning C4100: 'mode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(193): warning C4100: 'force': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(194): warning C4100: 'key': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(152): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(166): warning C4244: '=': conversion from 'unsigned int' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(176): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(182): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(188): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(198): warning C4244: 'return': conversion from 'const Bit32u' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(212): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(219): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(243): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(277): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(287): warning C4244: 'argument': conversion from 'unsigned int' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(290): warning C4244: 'argument': conversion from 'unsigned int' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(300): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(318): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(323): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(334): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(341): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(348): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(355): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(363): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\lazy_flags.h(46): warning C4245: 'initializing': conversion from 'int' to 'Bit32u', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\tlb.h(28): warning C4245: 'initializing': conversion from '__int64' to 'bx_address', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\tlb.h(34): warning C4245: 'initializing': conversion from '__int64' to 'bx_phy_address', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\tlb.h(67): warning C4245: 'initializing': conversion from '__int64' to 'bx_address', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\apic.h(253): warning C4244: 'return': conversion from 'Bit32u' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\vmx.h(30): warning C4245: 'initializing': conversion from '__int64' to 'Bit64u', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(74): warning C4100: 'msr': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(74): warning C4100: 'index': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(75): warning C4100: 'msr': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(75): warning C4100: 'index': unreferenced formal parameter
  bochs\cpu/cpu.h(954): warning C4324: 'BX_CPU_C': structure was padded due to alignment specifier
  bochs\cpu/cpu.h(1241): warning C4127: conditional expression is constant
  bochs\cpu/cpu.h(4755): warning C4244: 'return': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  cabi/cpu-cabi.cc(12): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(35): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(45): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(51): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(69): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(73): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(78): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(83): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(87): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(91): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(95): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(100): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(116): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(202): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(207): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(212): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(217): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(224): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(228): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(232): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(236): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(240): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(244): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(250): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(254): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(258): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(262): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(266): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(270): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(274): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(278): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(282): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(286): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(290): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(294): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(298): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(302): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(308): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(312): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(316): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(320): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(324): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(328): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(332): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(336): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(340): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(344): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(348): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(352): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(356): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(360): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(364): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(368): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(372): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(376): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(380): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(384): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(388): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(392): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(396): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(400): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(408): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(439): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(462): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(466): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(470): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(474): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(478): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(482): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(486): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(490): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(494): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(499): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(503): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(507): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(511): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(515): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(519): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(523): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(528): warning C4100: 'id': unreferenced formal parameter
  cabi/cpu-cabi.cc(533): warning C4100: 'id': unreferenced formal parameter
  exit code: 0
  AR_x86_64-pc-windows-msvc = None
  AR_x86_64_pc_windows_msvc = None
  HOST_AR = None
  AR = None
  running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\lib.exe" "-out:C:\\Users\\user\\Desktop\\bochs+\\bochscpu-bench\\target\\release\\build\\bochscpu-523cd53caff7d1c2\\out\\libcpu-cabi.a" "-nologo" "C:\\Users\\user\\Desktop\\bochs+\\bochscpu-bench\\target\\release\\build\\bochscpu-523cd53caff7d1c2\\out\\cabi/cpu-cabi.o"
  exit code: 0
  cargo:rustc-link-lib=static=cpu-cabi
  cargo:rustc-link-search=native=C:\Users\user\Desktop\bochs+\bochscpu-bench\target\release\build\bochscpu-523cd53caff7d1c2\out
  CXXSTDLIB_x86_64-pc-windows-msvc = None
  CXXSTDLIB_x86_64_pc_windows_msvc = None
  HOST_CXXSTDLIB = None
  CXXSTDLIB = None
  cargo:rustc-link-lib=static=cpu-cabi
  TARGET = Some("x86_64-pc-windows-msvc")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-pc-windows-msvc")
  CXX_x86_64-pc-windows-msvc = None
  CXX_x86_64_pc_windows_msvc = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-pc-windows-msvc = None
  CXXFLAGS_x86_64_pc_windows_msvc = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  DEBUG = Some("false")
  running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "bochs" "-I" "bochs/instrument/bochscpu" "-W4" "-DWIN32" "-FoC:\\Users\\user\\Desktop\\bochs+\\bochscpu-bench\\target\\release\\build\\bochscpu-523cd53caff7d1c2\\out\\cabi/mem-cabi.o" "-c" "cabi/mem-cabi.cc"
  mem-cabi.cc
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(88): warning C4244: 'return': conversion from 'const bx_objtype' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(174): warning C4100: 'value': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(176): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(177): warning C4100: 'dquotes': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(177): warning C4100: 'buflen': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(177): warning C4100: 'buf': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(222): warning C4458: declaration of 'handler' hides class member
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui\paramtree.h(200): note: see declaration of 'bx_param_num_c::handler'
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(673): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(675): warning C4100: 'n': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(678): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(678): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(679): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(679): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(680): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(680): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(681): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(681): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(682): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(682): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(685): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(686): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(687): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(688): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(688): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(689): warning C4100: 'action': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(689): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(689): warning C4100: 'mod': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(690): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(691): warning C4100: 'action': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(691): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(692): warning C4100: 'action': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(693): warning C4100: 'val': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(694): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(703): warning C4100: 'code': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(707): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(707): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(708): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(709): warning C4100: 'overwrite': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(709): warning C4100: 'rc': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(710): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(710): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(711): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(712): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(712): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(713): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(714): warning C4100: 'len': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(714): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(715): warning C4100: 'path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(716): warning C4100: 'mode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(728): warning C4100: 'arg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(728): warning C4100: 'func': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(729): warning C4100: 'arg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(729): warning C4100: 'func': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(732): warning C4100: 'event': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'mode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'msg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(738): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(740): warning C4100: 'msg': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(740): warning C4100: 'level': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(740): warning C4100: 'prefix': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(742): warning C4100: 'val': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(746): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(747): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'flags': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'the_default': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'prompt': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'maxlen': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(750): warning C4100: 'filename': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(752): warning C4100: 'the_default': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(752): warning C4100: 'prompt': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(752): warning C4100: 'title': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(755): warning C4100: 'overwrite': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(755): warning C4100: 'sectors': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(755): warning C4100: 'filename': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(773): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(775): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(786): warning C4100: 'userdata': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(785): warning C4100: 'callback': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(784): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(787): warning C4100: 'command': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(787): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(788): warning C4100: 'argv': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(788): warning C4100: 'argc': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(789): warning C4100: 'handler': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(789): warning C4100: 'dev': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(790): warning C4100: 'id': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(799): warning C4100: 'val': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(803): warning C4100: 'newmode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(807): warning C4100: 'save_func': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(807): warning C4100: 'parser': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(807): warning C4100: 'keyword': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(808): warning C4100: 'keyword': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(809): warning C4100: 'keyword': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(810): warning C4100: 'params': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(810): warning C4100: 'num_params': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(810): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(811): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(821): warning C4100: 'checkpoint_path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(826): warning C4100: 'restore_name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(826): warning C4100: 'sr_path': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(826): warning C4100: 'root': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(829): warning C4100: 'load': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(829): warning C4100: 'plugname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(830): warning C4100: 'menu': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(830): warning C4100: 'name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(831): warning C4100: 'maxports': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(831): warning C4100: 'pname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(831): warning C4100: 'usb_name': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(832): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(832): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(832): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(833): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(833): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(833): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(835): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(835): warning C4100: 'maxports': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(835): warning C4100: 'param': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(834): warning C4100: 'devopt': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(834): warning C4100: 'context': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'multiline': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'optname': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(836): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(837): warning C4100: 'base': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(837): warning C4100: 'maxports': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/siminterface.h(837): warning C4100: 'fp': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(126): warning C4100: 'w': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(126): warning C4100: 'active': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(126): warning C4100: 'element': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(127): warning C4100: 'tip': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(127): warning C4100: 'hbar_id': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(135): warning C4100: 'newmode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(141): warning C4100: 'sig': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(150): warning C4100: 'mode': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(193): warning C4100: 'force': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\gui/gui.h(194): warning C4100: 'key': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(152): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(166): warning C4244: '=': conversion from 'unsigned int' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(176): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(182): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(188): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(198): warning C4244: 'return': conversion from 'const Bit32u' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(212): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(219): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(243): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(277): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(287): warning C4244: 'argument': conversion from 'unsigned int' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(290): warning C4244: 'argument': conversion from 'unsigned int' to 'Bit16u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(300): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(318): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(323): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(334): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(341): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(348): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(355): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\decoder/instr.h(363): warning C4244: '=': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\lazy_flags.h(46): warning C4245: 'initializing': conversion from 'int' to 'Bit32u', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\tlb.h(28): warning C4245: 'initializing': conversion from '__int64' to 'bx_address', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\tlb.h(34): warning C4245: 'initializing': conversion from '__int64' to 'bx_phy_address', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\tlb.h(67): warning C4245: 'initializing': conversion from '__int64' to 'bx_address', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\apic.h(253): warning C4244: 'return': conversion from 'Bit32u' to 'Bit8u', possible loss of data
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\vmx.h(30): warning C4245: 'initializing': conversion from '__int64' to 'Bit64u', signed/unsigned mismatch
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(74): warning C4100: 'msr': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(74): warning C4100: 'index': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(75): warning C4100: 'msr': unreferenced formal parameter
  C:\Users\user\Desktop\bochs+\bochscpu\bochs\cpu\cpuid.h(75): warning C4100: 'index': unreferenced formal parameter
  bochs\cpu/cpu.h(954): warning C4324: 'BX_CPU_C': structure was padded due to alignment specifier
  bochs\cpu/cpu.h(1241): warning C4127: conditional expression is constant
  bochs\cpu/cpu.h(4755): warning C4244: 'return': conversion from 'unsigned int' to 'Bit8u', possible loss of data
  cabi/mem-cabi.cc(32): error C2039: 'dbg_fetch_mem': is not a member of 'BX_MEM_C'
  bochs\cpu/cpu.h(368): note: see declaration of 'BX_MEM_C'
  exit code: 2

  --- stderr

  error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "bochs" "-I" "bochs/instrument/bochscpu" "-W4" "-DWIN32" "-FoC:\\Users\\user\\Desktop\\bochs+\\bochscpu-bench\\target\\release\\build\\bochscpu-523cd53caff7d1c2\\out\\cabi/mem-cabi.o" "-c" "cabi/mem-cabi.cc" with args "cl.exe" did not execute successfully (status code exit code: 2).

warning: build failed, waiting for other jobs to finish...
error: build failed

Thanks

yrp604 commented 2 years ago

Can you make sure youre using the latest commit of bochscpu and have new artifacts from here: https://dev.azure.com/yrp604/bochscpu-build/_build/results?buildId=248&view=artifacts&pathAsName=false&type=publishedArtifacts

The underlying bochs version was updated to 2.7, this looks like build errors from a version mismatch somewhere.

djn3m0 commented 2 years ago

Ah I checked https://github.com/yrp604/bochscpu-build/releases and saw its still the same since Jan 2021 so I used my local copies.

Thanks for quick reply

yrp604 commented 2 years ago

Ok, I put up a new release. Did those artifacts resolve your issue?