lcgamboa / picsimlab

PICsimLab - Programmable IC Simulator Laboratory
GNU General Public License v2.0
442 stars 85 forks source link

Error compiling with Clang on macOS #69

Closed fathonix closed 7 months ago

fathonix commented 1 year ago

I was trying to compile PICSimLab on my M1 MacBook Pro running macOS Monterey 12.4. After working around several hurdles, I eventually got things compiled (picsim (had to add -framework OpenAL to SHLIBS cuz ./configure didn't detect Apple's OpenAL), lxrad, tty0tty (but pts instead of module), simavr, uCsim and qemu-stm32) except the PICSimLab itself.

Everything in tools like PinViewer, espmsim and srtank were successfully compiled, except src. I got this error when running make -j$(nproc):

/opt/homebrew/include/gpsim/errors.h:24:11: error: exception specification of overriding function is more lax than base version
  virtual ~TypeMismatch();
          ^
/opt/homebrew/include/gpsim/errors.h:8:7: note: overridden virtual function is here
class Error : public std::runtime_error {
      ^

But if I change CXX in Makefiles to GCC-12, everything was compiled but I got tools/srtank warnings and src errors linking to GPSim:

Linking srtank
warning: (arm64)  could not find object file symbol for symbol __ZN9CPWindow2D1Ev
warning: (arm64)  could not find object file symbol for symbol __ZN9CPWindow2D0Ev
warning: (arm64)  could not find object file symbol for symbol __Z5sopenPKc
warning: (arm64)  could not find object file symbol for symbol __Z6sclosev
warning: (arm64)  could not find object file symbol for symbol __Z5ssendh
warning: (arm64)  could not find object file symbol for symbol __Z4srecPh
warning: (arm64)  could not find object file symbol for symbol __Z9srec_toutPh
warning: (arm64)  could not find object file symbol for symbol __ZN9CPWindow2C2Ev
warning: (arm64)  could not find object file symbol for symbol __ZN9CPWindow2C1Ev
warning: (arm64)  could not find object file symbol for symbol __sub_I_65535_0.0
warning: (arm64)  could not find object file symbol for symbol __ZTS9CPWindow2
warning: (arm64)  could not find object file symbol for symbol __ZTI9CPWindow2
warning: (arm64)  could not find object file symbol for symbol __ZTV9CPWindow2
warning: (arm64)  failed to insert symbol 'GCC_except_table0' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table1' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table2' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table3' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table4' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table5' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table6' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table7' in the debug map.
warning: (arm64)  failed to insert symbol 'GCC_except_table8' in the debug map.
warning: (arm64)  could not find object file symbol for symbol _tw
warning: (arm64)  could not find object file symbol for symbol _wxTheAppInitializer
warning: (arm64)  could not find object file symbol for symbol __ZStL8__ioinit.lto_priv.0
warning: (arm64)  could not find object file symbol for symbol __ZStL8__ioinit.lto_priv.1
warning: (arm64)  could not find object file symbol for symbol __ZStL8__ioinit.lto_priv.2
Linking picsimlab
undef: __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKc
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEx
undef: __ZTINSt3__115basic_streambufIcNS_11char_traitsIcEEEE
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5uflowEv
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKcm
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7replaceEmmPKc
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf
undef: __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EEPKS6_RKS9_
undef: __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5rfindEcm
undef: __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEPKc
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi
undef: __ZNSt3__18ios_base4initEPv
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE2atEm
undef: __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKcm
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc
undef: __ZNSt3__16localeD1Ev
undef: __ZTVNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_
undef: __ZNKSt3__120__vector_base_commonILb1EE20__throw_out_of_rangeEv
undef: __ZNKSt3__16locale9use_facetERNS0_2idE
undef: __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv
undef: __ZNKSt3__18ios_base6getlocEv
undef: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev
undef: __ZNSt3__15ctypeIcE2idE
undef: __ZTTNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_mmRKS4_
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev
undef: __ZNSt13runtime_errorC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE
undef: __ZTVNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEE
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED2Ev
undef: __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEPKv
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_
undef: _g_slist_remove
undef: _g_slist_prepend
undef: __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv
undef: _g_slist_append
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev
undef: __ZNSt3__18ios_base5clearEj
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEb
undef: __ZNSt3__14cerrE
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9showmanycEv
undef: __ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv
undef: __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEj
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5eraseEmm
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4syncEv
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv
undef: __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEy
undef: __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8overflowEi
undef: __ZNSt3__14coutE
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKc
undef: __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc
Undefined symbols for architecture arm64:
  "__ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKc", referenced from:
      __ZN21PicCodProgramFileType30read_hll_line_numbers_from_asmEP9Processor in libgpsim.a(cod.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm", referenced from:
      __ZN6StringC2EPKcm in libgpsim.a(value.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEx", referenced from:
      __ZN4TMR09get_valueEv in libgpsim.a(tmr0.o)
      __ZN4TMR012new_prescaleEv in libgpsim.a(tmr0.o)
  "__ZTINSt3__115basic_streambufIcNS_11char_traitsIcEEEE", referenced from:
      __ZTI14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5uflowEv", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKcm", referenced from:
      __ZN11gpsimObject8toStringEv in libgpsim.a(gpsim_object.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7replaceEmmPKc", referenced from:
      __ZN21PicCodProgramFileType11set_lstnameEPKc in libgpsim.a(cod.o)
      __ZN3OPA3putEj in libgpsim.a(op_amp.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm", referenced from:
      __ZN13ValueStimulus4showEv in libgpsim.a(stimuli.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf", referenced from:
      __ZN17IO_open_collector7get_ZthEv in libgpsim.a(stimuli.o)
      __ZN6OSCCAL3putEj in libgpsim.a(14bit-registers.o)
  "__ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EEPKS6_RKS9_", referenced from:
      __ZN13Stimulus_Node8toStringEv in libgpsim.a(stimuli.o)
      __ZN13ModuleLibrary8LoadFileERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(modules.o)
      __ZN12TypeMismatchC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_S8_ in libgpsim.a(errors.o)
      __ZN12TypeMismatchC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_ in libgpsim.a(errors.o)
      __ZN13LiteralSymbolC2EP11gpsimObject in libgpsim.a(expr.o)
  "__ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5rfindEcm", referenced from:
      __Z15IsFileExtensionPKcS0_ in libgpsim.a(os_dependent.o)
      __Z16SplitPathAndFileRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_S6_ in libgpsim.a(os_dependent.o)
      __ZN15CFileSearchPath19AddPathFromFilePathERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_ in libgpsim.a(os_dependent.o)
      __Z11GetFileNameRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_ in libgpsim.a(os_dependent.o)
      __Z15GetFileNameBaseRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_ in libgpsim.a(os_dependent.o)
      __ZN21PicCodProgramFileType11set_lstnameEPKc in libgpsim.a(cod.o)
  "__ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEPKc", referenced from:
      __ZN13PPS_PinModule15updatePinModuleEv in libgpsim.a(pps.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi", referenced from:
      __ZN3WDT14callback_printEv in libgpsim.a(pic-processor.o)
      __ZN13pic_processor13createMCLRPinEi in libgpsim.a(pic-processor.o)
      __ZN13pic_processor13assignMCLRPinEi in libgpsim.a(pic-processor.o)
      __ZN9Processor4listEjjii in libgpsim.a(processor.o)
      __ZN15FileContextList3AddERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb in libgpsim.a(processor.o)
      __Z13icd_set_breaki in libgpsim.a(icd.o)
      __ZL8icd_readPhi in libgpsim.a(icd.o)
      ...
  "__ZNSt3__18ios_base4initEPv", referenced from:
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(ValueCollections.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE2atEm", referenced from:
      __Z29EnsureTrailingFolderDelimiterRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE in libgpsim.a(os_dependent.o)
  "__ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKcm", referenced from:
      __ZN13pic_processor9step_overEb in libgpsim.a(pic-processor.o)
      __Z15IsFileExtensionPKcS0_ in libgpsim.a(os_dependent.o)
      __ZN8TraceLog12open_logfileEPKci in libgpsim.a(trace.o)
      __ZN7DACCON013set_dacoutpinEbid in libgpsim.a(a2dconverter.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc", referenced from:
      __Z29EnsureTrailingFolderDelimiterRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE in libgpsim.a(os_dependent.o)
      __Z25AddModulePathFromFilePathPc in libgpsim.a(os_dependent.o)
      __ZN13ModuleLibrary8LoadFileERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(modules.o)
      _set_search_path in libgpsim.a(fopen-path.o)
      __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_S6_ in libgpsim.a(fopen-path.o)
      __ZN21PicCodProgramFileType17read_message_areaEP9Processor in libgpsim.a(cod.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm", referenced from:
      __ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_SB_ in libgpsim.a(processor.o)
      __ZN13Stimulus_Node8toStringEv in libgpsim.a(stimuli.o)
      __ZN11gpsimObject4showEv in libgpsim.a(gpsim_object.o)
      __ZN21Indirect_Addressing14C2EP13pic_processorRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE in libgpsim.a(14bit-registers.o)
      __ZN5Value7compareEP18ComparisonOperatorPS_ in libgpsim.a(value.o)
      __ZN13AbstractRange7compareEP18ComparisonOperatorP5Value in libgpsim.a(value.o)
      __ZN7Integer11assertValidEP5ValueNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEx in libgpsim.a(value.o)
      ...
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc", referenced from:
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      __ZN18IIndexedCollection9PushValueEiiP5ValueRNSt3__16vectorINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS7_IS9_EEEESC_ in libgpsim.a(ValueCollections.o)
      __ZN18IIndexedCollection18ElementIndexedNameEj in libgpsim.a(ValueCollections.o)
      __ZN18IIndexedCollection8toStringEiRNSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEESA_ in libgpsim.a(ValueCollections.o)
      __ZN6EEPROM4dumpEv in libgpsim.a(eeprom.o)
      __ZN6I2C_EE4dumpEv in libgpsim.a(i2c-ee.o)
      ...
  "__ZNSt3__16localeD1Ev", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
      __ZN18IIndexedCollection8toStringEiRNSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEESA_ in libgpsim.a(ValueCollections.o)
  "__ZTVNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE", referenced from:
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(ValueCollections.o)
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_", referenced from:
      __Z16SplitPathAndFileRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_S6_ in libgpsim.a(os_dependent.o)
      __ZN15CFileSearchPath19AddPathFromFilePathERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_ in libgpsim.a(os_dependent.o)
      __Z11GetFileNameRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_ in libgpsim.a(os_dependent.o)
      __Z15GetFileNameBaseRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_ in libgpsim.a(os_dependent.o)
      __Z12load_libraryPKcPS0_ in libgpsim.a(os_dependent.o)
      __ZN11SymbolTable4findENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(symbol.o)
      __ZN11gpsimObject8new_nameERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(gpsim_object.o)
      ...
  "__ZNKSt3__120__vector_base_commonILb1EE20__throw_out_of_rangeEv", referenced from:
      __ZNKSt3__113__vector_baseI11FileContextNS_9allocatorIS1_EEE20__throw_out_of_rangeEv in libgpsim.a(processor.o)
  "__ZNKSt3__16locale9use_facetERNS0_2idE", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
      __ZN18IIndexedCollection8toStringEiRNSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEESA_ in libgpsim.a(ValueCollections.o)
  "__ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv", referenced from:
      __ZNKSt3__113__vector_baseIiNS_9allocatorIiEEE20__throw_length_errorEv in libgpsim.a(processor.o)
      __ZNKSt3__113__vector_baseI11FileContextNS_9allocatorIS1_EEE20__throw_length_errorEv in libgpsim.a(processor.o)
      __ZNKSt3__113__vector_baseIP9PinModuleNS_9allocatorIS2_EEE20__throw_length_errorEv in libgpsim.a(ioports.o)
      __ZNKSt3__113__vector_baseINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE20__throw_length_errorEv in libgpsim.a(ValueCollections.o)
      __ZNKSt3__113__vector_baseIP15ProgramFileTypeNS_9allocatorIS2_EEE20__throw_length_errorEv in libgpsim.a(program_files.o)
      __ZNKSt3__113__vector_baseIP7DACCON0NS_9allocatorIS2_EEE20__throw_length_errorEv in libgpsim.a(p1xf1xxx.o)
      __ZNKSt3__113__vector_baseIP7DACCON0NS_9allocatorIS2_EEE20__throw_length_errorEv in libgpsim.a(p18fk.o)
      ...
  "__ZNKSt3__18ios_base6getlocEv", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
      __ZN18IIndexedCollection8toStringEiRNSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEESA_ in libgpsim.a(ValueCollections.o)
  "__ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv", referenced from:
      __ZN23ProgramMemoryCollection5GetAtEjP5Value in libgpsim.a(processor.o)
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      __ZN18IIndexedCollection9PushValueEiiP5ValueRNSt3__16vectorINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS7_IS9_EEEESC_ in libgpsim.a(ValueCollections.o)
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev", referenced from:
      __ZN13pic_processorD2Ev in libgpsim.a(pic-processor.o)
      __ZN18CSimulationContextD2Ev in libgpsim.a(sim_context.o)
      __GLOBAL__sub_I_symbol.cc in libgpsim.a(symbol.o)
      __ZN8TraceLogD2Ev in libgpsim.a(trace.o)
      __ZN6ModuleD2Ev in libgpsim.a(modules.o)
      __ZN6Module12get_pin_nameEj in libgpsim.a(modules.o)
      __ZN7Package12get_pin_nameEj in libgpsim.a(packages.o)
      ...
  "__ZNSt3__15ctypeIcE2idE", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
      __ZN18IIndexedCollection8toStringEiRNSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEESA_ in libgpsim.a(ValueCollections.o)
  "__ZTTNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE", referenced from:
      __ZN23ProgramMemoryCollection5GetAtEjP5Value in libgpsim.a(processor.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_mmRKS4_", referenced from:
      __ZN13pic_processor15unassignMCLRPinEv in libgpsim.a(pic-processor.o)
      __ZN9Processor24delete_invalid_registersEv in libgpsim.a(processor.o)
      __ZN15FileContextList4FindERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(processor.o)
      __Z15IsFileExtensionPKcS0_ in libgpsim.a(os_dependent.o)
      __Z16SplitPathAndFileRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_S6_ in libgpsim.a(os_dependent.o)
      __ZN15CFileSearchPath19AddPathFromFilePathERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_ in libgpsim.a(os_dependent.o)
      __Z11GetFileNameRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_ in libgpsim.a(os_dependent.o)
      ...
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev", referenced from:
      __ZN23ProgramMemoryCollection5GetAtEjP5Value in libgpsim.a(processor.o)
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      __ZN18IIndexedCollection9PushValueEiiP5ValueRNSt3__16vectorINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS7_IS9_EEEESC_ in libgpsim.a(ValueCollections.o)
      ...
  "__ZNSt13runtime_errorC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE", referenced from:
      __ZN9Processor19init_program_memoryEjj in libgpsim.a(processor.o)
      __ZN9Processor20erase_program_memoryEj in libgpsim.a(processor.o)
      __ZN9Processor11disassembleEii in libgpsim.a(processor.o)
      __ZN9Processor6createEv in libgpsim.a(processor.o)
      __ZN23ProgramMemoryCollection5SetAtEjP5Value in libgpsim.a(processor.o)
      __Z12icd_hw_resetv in libgpsim.a(icd.o)
      __ZL9rts_clearv in libgpsim.a(icd.o)
      ...
  "__ZTVNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEE", referenced from:
      __ZN23ProgramMemoryCollection5GetAtEjP5Value in libgpsim.a(processor.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      ...
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED2Ev", referenced from:
      __ZN23ProgramMemoryCollection5GetAtEjP5Value in libgpsim.a(processor.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      ...
  "__ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev", referenced from:
      __ZN23ProgramMemoryCollection5GetAtEjP5Value in libgpsim.a(processor.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN24ProcessorConstructorList13DisplayStringEv in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZN18IIndexedCollection8toStringEPNSt3__14listIP10ExpressionNS0_9allocatorIS3_EEEE in libgpsim.a(ValueCollections.o)
      ...
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEPKv", referenced from:
      __ZN9Processor24delete_invalid_registersEv in libgpsim.a(processor.o)
      __ZN13SymbolTable_t9addSymbolEP11gpsimObjectPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE in libgpsim.a(symbol.o)
      __ZN12SignalSource7releaseEv in libgpsim.a(ioports.o)
      __ZN4TMRL6updateEv in libgpsim.a(14bit-tmrs.o)
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc", referenced from:
      __ZN18CSimulationContext11LoadProgramEPKcS1_PP9ProcessorS1_ in libgpsim.a(sim_context.o)
      __Z16SplitPathAndFileRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_S6_ in libgpsim.a(os_dependent.o)
      __Z12load_libraryPKcPS0_ in libgpsim.a(os_dependent.o)
      __ZN19CGpsimUserInterface18FormatLabeledValueEPKcjjiS1_ in libgpsim.a(ui.o)
      __ZN26Break_register_write_value10takeActionEv in libgpsim.a(breakpoints.o)
      __ZN25Break_register_read_value10takeActionEv in libgpsim.a(breakpoints.o)
      __ZN11gpsimObject4showEv in libgpsim.a(gpsim_object.o)
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_", referenced from:
      __ZN18CSimulationContext13add_processorEP9Processor in libgpsim.a(sim_context.o)
      __ZN18CSimulationContext19dump_processor_listEv in libgpsim.a(sim_context.o)
      __ZN18CSimulationContext5ClearEv in libgpsim.a(sim_context.o)
      __ZNSt3__16__treeINS_12__value_typeIKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEP9ProcessorEENS_19__map_value_compareIS8_SB_NS_4lessIS8_EELb1EEENS5_ISB_EEE16__construct_nodeIJNS_4pairIS8_SA_EEEEENS_10unique_ptrINS_11__tree_nodeISB_PvEENS_22__tree_node_destructorINS5_ISO_EEEEEEDpOT_ in libgpsim.a(sim_context.o)
      __ZN11FileContextC2ERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(processor.o)
      __ZN11FileContextC1ERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(processor.o)
      __ZN15FileContextList3AddERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb in libgpsim.a(processor.o)
      ...
  "_g_slist_remove", referenced from:
      __ZN14gpsimInterface16remove_interfaceEj in libgpsim.a(interface.o)
  "_g_slist_prepend", referenced from:
      __ZN14gpsimInterface17prepend_interfaceEP9Interface in libgpsim.a(interface.o)
  "__ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv", referenced from:
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(sim_context.o)
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(processor.o)
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(os_dependent.o)
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(stimuli.o)
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(gpsim_object.o)
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(pic-instructions.o)
      __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv in libgpsim.a(registers.o)
      ...
  "_g_slist_append", referenced from:
      __ZN14gpsimInterface13add_interfaceEP9Interface in libgpsim.a(interface.o)
      __ZN14gpsimInterface20add_socket_interfaceEP9Interface in libgpsim.a(interface.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev", referenced from:
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(processor.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN18RegisterCollection5GetAtEjP5Value in libgpsim.a(registers.o)
      __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev in libgpsim.a(ValueCollections.o)
      __ZN14ProgramFileBufC2EP7__sFILE in libgpsim.a(program_files.o)
      __ZN14ProgramFileBufC1EP7__sFILE in libgpsim.a(program_files.o)
      ...
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
  "__ZNSt3__18ios_base5clearEj", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
      __Z16SetUserInterfacePNSt3__115basic_streambufIcNS_11char_traitsIcEEEE in libgpsim.a(ui.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEb", referenced from:
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN20IO_bi_directional_pu7get_VthEv in libgpsim.a(stimuli.o)
      __ZN17IO_open_collector7get_VthEv in libgpsim.a(stimuli.o)
      __ZN17IO_open_collector7get_ZthEv in libgpsim.a(stimuli.o)
      __ZN3I2C14scl_clock_highEv in libgpsim.a(ssp.o)
      __ZN3I2C5clockEb in libgpsim.a(ssp.o)
      __ZN5I2C_15clockEb in libgpsim.a(ssp.o)
      ...
  "__ZNSt3__14cerrE", referenced from:
      __ZN18CSimulationContext11LoadProgramEPKcS1_PP9ProcessorS1_ in libgpsim.a(sim_context.o)
      __ZN24DynamicModuleLibraryInfoC2ERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_Pv in libgpsim.a(modules.o)
      __ZN10ADCON1_16F9getVrefLoEv in libgpsim.a(a2dconverter.o)
      __ZN6ADCON117getChannelVoltageEj in libgpsim.a(a2dconverter.o)
      __ZN10ADCON1_16F9getVrefHiEv in libgpsim.a(a2dconverter.o)
      __ZN6FVRCON13compute_VTempEj in libgpsim.a(a2dconverter.o)
      __ZN6FVRCON14compute_FVR_ADEj in libgpsim.a(a2dconverter.o)
      ...
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9showmanycEv", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
  "__ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm", referenced from:
      __ZN13pic_processor15unassignMCLRPinEv in libgpsim.a(pic-processor.o)
      __ZN11SymbolTable4findENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE in libgpsim.a(symbol.o)
      _set_search_path in libgpsim.a(fopen-path.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_", referenced from:
      __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m in libgpsim.a(pic-processor.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEj", referenced from:
      __ZN13pic_processor19init_program_memoryEj in libgpsim.a(pic-processor.o)
      __ZN13pic_processor14create_symbolsEv in libgpsim.a(pic-processor.o)
      __ZN3WDT13set_postscaleEj in libgpsim.a(pic-processor.o)
      __ZN3WDT12set_prescaleEj in libgpsim.a(pic-processor.o)
      __ZN13pic_processor8step_oneEb in libgpsim.a(pic-processor.o)
      __ZN18CSimulationContext13add_processorEP9Processor in libgpsim.a(sim_context.o)
      __ZN9Processor24delete_invalid_registersEv in libgpsim.a(processor.o)
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5eraseEmm", referenced from:
      __ZN17CSourceSearchPath8toStringEv in libgpsim.a(fopen-path.o)
      __ZN21PicCodProgramFileType23read_src_files_from_codEP9Processor in libgpsim.a(cod.o)
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4syncEv", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd", referenced from:
      __ZN3WDT6updateEv in libgpsim.a(pic-processor.o)
      __ZN13Stimulus_Node7refreshEv in libgpsim.a(stimuli.o)
      __ZN13Stimulus_Node8callbackEv in libgpsim.a(stimuli.o)
      __ZN8stimulus8toStringEv in libgpsim.a(stimuli.o)
      __ZN5IOPIN15set_nodeVoltageEd in libgpsim.a(stimuli.o)
      __ZN5IOPIN8putStateEd in libgpsim.a(stimuli.o)
      __ZN20IO_bi_directional_pu7get_VthEv in libgpsim.a(stimuli.o)
      ...
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv", referenced from:
      __Z11icd_connectPKc in libgpsim.a(icd.o)
      __ZN18IIndexedCollection8toStringEiRNSt3__16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEESA_ in libgpsim.a(ValueCollections.o)
  "__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEy", referenced from:
      __ZN3WDT6updateEv in libgpsim.a(pic-processor.o)
      __ZN3WDT8callbackEv in libgpsim.a(pic-processor.o)
      __ZN14gpsimInterface5printEv in libgpsim.a(interface.o)
      __ZN19CGpsimUserInterface11FormatValueExyiPKc in libgpsim.a(ui.o)
      __ZN13Stimulus_Node7refreshEv in libgpsim.a(stimuli.o)
      __ZN13Stimulus_Node8callbackEv in libgpsim.a(stimuli.o)
      __ZN13ValueStimulus4showEv in libgpsim.a(stimuli.o)
      ...
  "__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8overflowEi", referenced from:
      __ZTV14ProgramFileBuf in libgpsim.a(program_files.o)
  "__ZNSt3__14coutE", referenced from:
      __ZN3WDT6updateEv in libgpsim.a(pic-processor.o)
      __ZN13pic_processor3runEb in libgpsim.a(pic-processor.o)
      __ZN18RealTimeBreakPoint4stopEv in libgpsim.a(pic-processor.o)
      __ZN13pic_processor4stepEjb in libgpsim.a(pic-processor.o)
      __ZN13pic_processor9step_overEb in libgpsim.a(pic-processor.o)
      __ZN13pic_processor5resetE10RESET_TYPE in libgpsim.a(pic-processor.o)
      __ZN13pic_processorC2EPKcS1_ in libgpsim.a(pic-processor.o)
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKc", referenced from:
      __ZN5Value3setEPKci in libgpsim.a(value.o)
      __ZN5Value3setEd in libgpsim.a(value.o)
      __ZN5Value3setEx in libgpsim.a(value.o)
      __ZN5Value3setEb in libgpsim.a(value.o)
      __ZN5Value3setEPS_ in libgpsim.a(value.o)
      __ZN5Value4copyEv in libgpsim.a(value.o)
      __ZN14BinaryOperator8toStringEv in libgpsim.a(operator.o)
      ...
  "__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc", referenced from:
      __ZN18CSimulationContext19SetDefaultProcessorEPKcS1_ in libgpsim.a(sim_context.o)
      __ZN11FileContextC2EPKc in libgpsim.a(processor.o)
      __ZN15FileContextList3AddEPKcb in libgpsim.a(processor.o)
      __Z25AddModulePathFromFilePathPc in libgpsim.a(os_dependent.o)
      __ZN19CGpsimUserInterface18FormatLabeledValueEPKcjjiS1_ in libgpsim.a(ui.o)
      __ZN5IOPIN10newGUInameEPKc in libgpsim.a(stimuli.o)
      __ZN24BreakpointRegister_ValueC2EP9Processoriijjj in libgpsim.a(breakpoints.o)
      ...
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make: *** [picsimlab] Error 1

Output of g++ -v (alias to clang++ in macOS):

Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Output of g++-12 -v:

Using built-in specs.
COLLECT_GCC=g++-12
COLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc/12.2.0/bin/../libexec/gcc/aarch64-apple-darwin21/12/lto-wrapper
Target: aarch64-apple-darwin21
Configured with: ../configure --prefix=/opt/homebrew/opt/gcc --libdir=/opt/homebrew/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-12 --with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr --with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl --with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 12.2.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --with-system-zlib --build=aarch64-apple-darwin21 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (Homebrew GCC 12.2.0)

I used the GPSim package provided by Homebrew, which was compiled with --disable-dependency-tracking, --disable-gui and --disable-shared but I applied a patch from a Debian mantainer to avoid gpsim/breakpoints.h:25:10: fatal error: ../config.h: No such file or directory.

I'm myself not a C/C++ dev but familiar with building packages in Linux so I just tried running commands in bscripts/build_all_and_install.sh by hand and tweaking them to suit macOS.

Once PICSimLab is built, I'm gonna make a .app wrapper for making PICSimLab a proper macOS application that can be accessed through Launchpad.

Any help would be very appreciated. Thank you.

lcgamboa commented 1 year ago

Thanks for your time and work.

From what I've read, c++17 renders this type of gpsim exception statement as an error. Using c++14 it is just a warning. I believe that adding the -std=c++14 option to clang++ the code should compile.

Using g++ should compile just fine, try removing the -flto option from makefiles, it's usually not very compatible.

fathonix commented 1 year ago

Thanks for your feedback.

I've tried adding -std=c++14 and the GPSim errors are finally gone. But I ran into errors like this:

error: value of type '__bind<int &, sockaddr *, unsigned long>' is not contextually convertible to 'bool'

But quick search gave me the clue and I fixed it by replacing bind() with ::bind() in devices/mplabxd.cc and devices/rcontrol.cc. Finally, PICSimLab was built successfully. (woohoo!)

PICSimLab on macOS demo

I tried to flash some example programs to Uno simulator through pts-mode tty0tty and it worked like a charm. But once I switched to ESP32, I noticed that it had some issues connecting to the TTY. After confirming my configurations, PICSimLab hanged.

With arguments printed in the logs, I tried running:

./qemu-system-xtensa -M esp32-picsimlab -L /opt/lib/picsimlab/qemu/fw/ -drive file=/Users/aldo/Library/Application\ Support/picsimlab/mdump_ESP32_DevKitC_ESP32.bin,if=mtd,format=raw -icount shift=5,align=off,sleep=on -nic user,model=esp32_wifi,net=192.168.4.0/24,hostfwd=tcp::16555-192.168.4.15:80 -global driver=timer.esp32.timg,property=wdt_disable,value=true

Aaaand I got SEGV, here's the logs from macOS:

Process:               qemu-system-xtensa [49704]
Path:                  /Users/USER/*/qemu-system-xtensa
Identifier:            qemu-system-xtensa
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        zsh [39492]
Responsible:           iTerm2 [1389]
User ID:               501

Date/Time:             2023-02-09 21:38:36.8176 +0300
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Anonymous UUID:        34581243-0F39-C375-0911-465CC4B97213

Sleep/Wake UUID:       A932D94F-0F3A-4720-A775-8B12DF635409

Time Awake Since Boot: 36000 seconds
Time Since Wake:       8659 seconds

System Integrity Protection: enabled

Crashed Thread:        3

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [49704]

VM Region Info: 0 is not in any region.  Bytes before following region: 4371185664
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      1048b0000-1050f4000    [ 8464K] r-x/r-x SM=COW  ...system-xtensa

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1a92d5598 __select + 8
1   libglib-2.0.0.dylib                    0x106153090 g_poll + 424
2   qemu-system-xtensa                     0x104f5eac4 qemu_poll_ns + 64 (qemu-timer.c:351)
3   qemu-system-xtensa                     0x104f59e0c os_host_main_loop_wait + 88 (main-loop.c:257)
4   qemu-system-xtensa                     0x104f59d1c main_loop_wait + 188 (main-loop.c:538)
5   qemu-system-xtensa                     0x104ca2c30 qemu_main_loop + 32 (runstate.c:726)
6   qemu-system-xtensa                     0x104d9e338 main + 56 (main.c:50)
7   dyld                                   0x10606108c start + 520

Thread 1:
0   libsystem_kernel.dylib                 0x1a92ce06c __semwait_signal + 8
1   libsystem_c.dylib                      0x1a91d6fc8 nanosleep + 220
2   libglib-2.0.0.dylib                    0x10616bef0 g_usleep + 72
3   qemu-system-xtensa                     0x104f3e554 call_rcu_thread + 164 (rcu.c:253)
4   qemu-system-xtensa                     0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
5   libsystem_pthread.dylib                0x1a930826c _pthread_start + 148
6   libsystem_pthread.dylib                0x1a930308c thread_start + 8

Thread 2:
0   libsystem_kernel.dylib                 0x1a92d5f10 __sigwait + 8
1   libsystem_pthread.dylib                0x1a9308a48 sigwait + 40
2   qemu-system-xtensa                     0x104f2dd4c sigwait_compat + 56 (compatfd.c:36)
3   qemu-system-xtensa                     0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
4   libsystem_pthread.dylib                0x1a930826c _pthread_start + 148
5   libsystem_pthread.dylib                0x1a930308c thread_start + 8

Thread 3 Crashed:
0   ???                                            0x0 ???
1   qemu-system-xtensa                     0x104da690c qemu_set_irq + 68
2   qemu-system-xtensa                     0x104a03c64 esp32_iomux_write + 176 (esp32_iomux.c:169)
3   qemu-system-xtensa                     0x104ca52b4 memory_region_write_accessor + 296 (memory.c:492)
4   qemu-system-xtensa                     0x104ca5154 access_with_adjusted_size + 516 (memory.c:554)
5   qemu-system-xtensa                     0x104ca4d98 memory_region_dispatch_write + 276 (memory.c:1504)
6   qemu-system-xtensa                     0x104d99c7c io_writex + 276 (cputlb.c:1420)
7   qemu-system-xtensa                     0x104d8b7f4 store_helper + 656 (cputlb.c:2355)
8   qemu-system-xtensa                     0x104d8b460 full_le_stl_mmu + 76 (cputlb.c:2443)
9   qemu-system-xtensa                     0x104d8b408 helper_le_stl_mmu + 60 (cputlb.c:2449)
10  ???                                    0x2c0025ca0 ???
11  qemu-system-xtensa                     0x104d77fb4 cpu_tb_exec + 96 (cpu-exec.c:357)
12  qemu-system-xtensa                     0x104d791bc cpu_loop_exec_tb + 64 (cpu-exec.c:842)
13  qemu-system-xtensa                     0x104d78770 cpu_exec + 564 (cpu-exec.c:1001)
14  qemu-system-xtensa                     0x104d9acf0 tcg_cpus_exec + 88 (tcg-accel-ops.c:67)
15  qemu-system-xtensa                     0x104d9bd7c rr_cpu_thread_fn + 876 (tcg-accel-ops-rr.c:223)
16  qemu-system-xtensa                     0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
17  libsystem_pthread.dylib                0x1a930826c _pthread_start + 148
18  libsystem_pthread.dylib                0x1a930308c thread_start + 8

Thread 4:
0   libsystem_kernel.dylib                 0x1a92ce270 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1a930883c _pthread_cond_wait + 1236
2   qemu-system-xtensa                     0x104f31674 qemu_sem_timedwait + 136 (qemu-thread-posix.c:303)
3   qemu-system-xtensa                     0x104f5dc00 worker_thread + 196 (thread-pool.c:91)
4   qemu-system-xtensa                     0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
5   libsystem_pthread.dylib                0x1a930826c _pthread_start + 148
6   libsystem_pthread.dylib                0x1a930308c thread_start + 8

Thread 3 crashed with ARM Thread State (64-bit):
    x0: 0x00000000ffffffff   x1: 0x00000000ffffbfff   x2: 0x00000000ffffbfff   x3: 0x00000000000000a1
    x4: 0x0000000104f9257f   x5: 0x00000000ffffffff   x6: 0x000000006b000001   x7: 0x000000016b000001
    x8: 0x0000000000000000   x9: 0x0000600003540e00  x10: 0x0000000104a040b4  x11: 0x0000000000000084
   x12: 0x00007a0000007a02  x13: 0x00007a0000007a00  x14: 0x00000000a6e05000  x15: 0x000000000000000a
   x16: 0x00000001a93027c0  x17: 0x00006000015940c0  x18: 0x0000000000000000  x19: 0x0000000140020be0
   x20: 0x0000000000000800  x21: 0x000000003ff49088  x22: 0x0000000000000000  x23: 0x0000000000000000
   x24: 0x0000000000000000  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016b6ee400   lr: 0x0000000104b360ac
    sp: 0x000000016b6ee3f0   pc: 0x0000000000000000 cpsr: 0x80001000
   far: 0x0000000000000000  esr: 0x82000006 (Instruction Abort) Translation fault

Binary Images:
       0x1a92c9000 -        0x1a9300fff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
       0x106110000 -        0x1061f7fff libglib-2.0.0.dylib (*) <17a0a189-d923-3df6-a590-48c7619731f5> /opt/homebrew/*/libglib-2.0.0.dylib
       0x1048b0000 -        0x1050f3fff qemu-system-xtensa (*) <46d089ca-e439-314c-abfd-b6307b76f618> /Users/USER/*/qemu-system-xtensa
       0x10605c000 -        0x1060bbfff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld
       0x1a91c8000 -        0x1a9249fff libsystem_c.dylib (*) <86746b94-88e3-342d-b2b2-54303404e492> /usr/lib/system/libsystem_c.dylib
       0x1a9301000 -        0x1a930dfff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=677.4M resident=0K(0%) swapped_out_or_unallocated=677.4M(100%)
Writable regions: Total=2.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           268.2M       30 
MALLOC guard page                   96K        5 
MALLOC_MEDIUM (reserved)         440.0M        4         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M        5 
Stack                             10.1M        5 
VM_ALLOCATE                      130.5M       22 
VM_ALLOCATE (reserved)            24.3M       11         reserved VM address space (unallocated)
__AUTH                             220K       44 
__AUTH_CONST                      2892K      123 
__DATA                            4308K      126 
__DATA_CONST                      5778K      133 
__DATA_DIRTY                       233K       50 
__LINKEDIT                       586.6M       11 
__OBJC_CONST                       260K       29 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3152K        1 
__TEXT                            90.7M      139 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
shared memory                      1.9G       18 
===========                     =======  ======= 
TOTAL                              3.9G      762 
TOTAL, minus reserved VM space     3.1G      762

I guess this is the one that caused the hang but I don't really understand what was going on.

lcgamboa commented 1 year ago

Hi @fathonix , qemu-system-xtensa -M esp32-picsimlab needs some initialization to work done by PICSimLab. I tweaked the code to work stand alone with this commit https://github.com/lcgamboa/qemu_stm32/commit/08ac82cc995683480333a9a73f66141e0826b4ca. The problem of getting hang is because PICSimLab reads the status of the DTR/RTS pins of the serial port to reset the simulated boards for flashing the programs by avrdude and esptool.py. As you are using a pts without signals from these pins, the simulator enters a continuous reset state. To work with pts I can add an option to disable the DTR/RTS check, but for avrdude and esptoo.py to work it would be necessary to reset the boards manually and at the exact moment (I'm not sure if that would work). For you to be able to do your tests just choose a real or invalid serial port for the simulator to run. Thank you for your time and collaboration.

fathonix commented 1 year ago

Thank you very much for your time and help.

I can confirm that qemu-system-xtensa -M esp32-picsimlab doesn't crash anymore (thanks!). I can also confirm that everytime I had flashed to Uno once, I had to reset the board either by selecting Arduino Bootloader or restarting the app sometimes, which I think it's because the IDE uses avrdude internally.

Regarding the serial, I'm still trying to find a virtual serial driver for macOS. Many people suggested MacOSXVirtualSerialPort, which is very outdated and doesn't work on modern macOS. But I found another driver and this one runs on newer macOS but still in early stage. The problem is that this driver isn't signed so it needs System Integrity Protection disabled, and I don't think that's the best idea. But signing requires Apple Developer membership and it costs $99 annually.

After fiddling around with Xcode build settings and macOS security stuff, apparently the driver is broken. I got it to run, I could connect on one side but the other side just threw "Resource busy." I don't put much hope on it either, since the dev kind of already abandoned it (the last commit is from 2018).

lcgamboa commented 1 year ago

I'm going to put an option to be able to disable the use of DTR/DSR to work with the pts without getting hang. Another solution can be to use PICSimLab's TCP/IP rcontrol interface to load the programs. Here is a small program that loads a .hex into an open instance of PICSimLab .

lcgamboa commented 1 year ago

I have implemented the option to disable DTR/RTS signals use in commits https://github.com/lcgamboa/picsimlab/commit/573dc9cf4bcd642d468cc045ba0ffe0ec3f612cd and https://github.com/lcgamboa/picsimlab/commit/96f0a0965f8ded93d2b8bc9fb016e086c380219d. Use the menu File->configure Captura de tela_2023-02-11_16-09-44

With the option disabled, the reset must be done manually to flash the board. To use with avrdude just reset at the beginning of the flashing attempt. To use with esptool.py, click on the BOOT button and drag the pointer out of the button leaving it pressed, click on the EN button and click on the BOOT button again, with that the ESP32 will be in boot mode.

laris commented 9 months ago

Dear @fathonix,

I upgraded the macOS to Sonoma 14.0 and plan to build for native macOS binaries. Could you share your Ventura build script and I can try to build to test?

Thanks, Laris

lcgamboa commented 9 months ago

Hi @laris ,

there are some scripts in this pull request. I don´t know if it is the same used by @fathonix .

laris commented 9 months ago

Thanks @lcgamboa, I struggle for that two scripts but still failed to compile full code. I will try in next some days and recollect what failed and what needs to change.

laris commented 7 months ago

@lcgamboa I'm trying to build dependence pkg one by one follow build_all_static.sh, when I try to build picsimlab-stm32, but the build_libqemu-stm32.sh will not generate qemu-system-arm.rsp file and also failed for below sed and c++ -m64 -mcx16 -ggdb @qemu-system-arm.rsp, is any missing steps?

flags="$(./configure --help | perl -ne 'print if s/^  ([a-z][\w-]*) .*/\1/' | tail -n +2 | awk '{print "--disable-"$1}' ORS=' ')"

${2:-.}/configure --target-list=$target --extra-cflags=-fPIC --disable-slirp $flags --enable-tcg \
        --enable-system --disable-werror --disable-alsa  \
        --enable-debug --enable-debug-info

make clean >/dev/null

# Build everything as usual
make "-j$ncpu"

# Build a shared library, without softmmu/main.o and otherwise *exactly* the same
# flags.
cd build
rm -f qemu-system-arm
ninja -d keeprsp
#dynamic
sed -i 's/qemu-system-arm.p\/softmmu_main.c.o//g' qemu-system-arm.rsp
sed -i 's/-o\ qemu-system-arm/-shared\ -o\ libqemu-stm32.so/g' qemu-system-arm.rsp
c++ -m64 -mcx16 -ggdb @qemu-system-arm.rsp
lcgamboa commented 7 months ago

Hi @laris ,

this script is a hack to generate a library instead of an executable. First check if the build/qemu-system-arm file is being generated with the make command. Enter in build dir, remove the executable qemu-system-arm , and build with ninja with option-d keeprsp and the. rsp file (and the executable again) must be generated.

cd build
rm -f qemu-system-arm
ninja -d keeprsp

The sed part separates only the last line of the .rsp file, removes the softmmu_main.c.o object, and adds the options to compile as a library. The last call compiles the program as a library with the options passed in the edited .rsp file.

laris commented 7 months ago

Yes, I understand the procedures (rm -f qemu-system-arm then ninja -d keeprsp) but it looks like the ninja command will don't generate the *.rsp file.

This is the configure parts (only run before make), could you help to double check if any package missing?


ninja -vvv  -d keeprsp
[1/6] /usr/local/bin/meson --internal exe --capture qemu-version.h -- /Users/laris/coding/picsimlab/build_all/qemu/scripts/qemu-version.sh /Users/laris/coding/picsimlab/build_all/qemu '' 6.2.50

qemu-stm32.log

lcgamboa commented 7 months ago

Apparently there is no missing package/modules.

Running ninja after remove qemu-system-arm inside build dir (in linux):

ninja -vvv  -d keeprsp
[1/5] /usr/bin/meson --internal exe --capture qemu-version.h -- /tmp/qemu/scripts/qemu-version.sh /tmp/qemu '' 6.2.50
[2/2] c++ -m64 -mcx16 @qemu-system-arm.rsp

The qemu-system-arm.rsp are generated.

Running without remove qemu-system-arm:

[1/5] /usr/bin/meson --internal exe --capture qemu-version.h -- /tmp/qemu/scripts/qemu-version.sh /tmp/qemu '' 6.2.50

The qemu-system-arm.rsp aren't generated.

The .rsp file generate in Linux (for use with gcc), maybe it work with clang. qemu-system-arm.rsp.zip

laris commented 7 months ago

I got one step forward:), need remove qemu-system-arm qemu-system-arm-unsigned *unsigned binary both, and ninja generate more codes but still don't generate *.rsp file.

mbp ~/c/p/b/q/build (picsimlab-stm32)> rm -rf qemu-system-arm qemu-system-arm-unsigned
mbp ~/c/p/b/q/build (picsimlab-stm32)> ninja -vvv  -d keeprsp
[1/6] /usr/local/bin/meson --internal exe --capture qemu-version.h -- /Users/laris/coding/picsimlab/build_all/qemu/scripts/qemu-version.sh /Users/laris/coding/picsimlab/build_all/qemu '' 6.2.50
[2/3] c++ -m64 -mcx16  -o qemu-system-arm-unsigned libcommon.fa.p/cpus-common.c.o libcommon.fa.p/page-vary-common.c.o libcommon.fa.p/disas_arm-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_decoder-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_disasm-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_instructions-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_compiler-intrinsics.cc.o libcommon.fa.p/disas_libvixl_vixl_utils.cc.o libcommon.fa.p/disas_arm.c.o libcommon.fa.p/disas_i386.c.o libcommon.fa.p/disas_capstone.c.o libcommon.fa.p/hw_core_cpu-common.c.o libcommon.fa.p/hw_core_machine-smp.c.o libcommon.fa.p/qom_qom-hmp-cmds.c.o libcommon.fa.p/ui_clipboard.c.o libcommon.fa.p/ui_console.c.o libcommon.fa.p/ui_cursor.c.o libcommon.fa.p/ui_input-keymap.c.o libcommon.fa.p/ui_input-legacy.c.o libcommon.fa.p/ui_input-barrier.c.o libcommon.fa.p/ui_input.c.o libcommon.fa.p/ui_kbd-state.c.o libcommon.fa.p/ui_keymaps.c.o libcommon.fa.p/ui_qemu-pixman.c.o libcommon.fa.p/ui_util.c.o libcommon.fa.p/ui_spice-module.c.o libcommon.fa.p/ui_vnc-stubs.c.o libcommon.fa.p/audio_audio.c.o libcommon.fa.p/audio_audio_legacy.c.o libcommon.fa.p/audio_mixeng.c.o libcommon.fa.p/audio_noaudio.c.o libcommon.fa.p/audio_wavaudio.c.o libcommon.fa.p/audio_wavcapture.c.o libcommon.fa.p/chardev_msmouse.c.o libcommon.fa.p/chardev_wctablet.c.o libcommon.fa.p/chardev_testdev.c.o libcommon.fa.p/dump_dump-hmp-cmds.c.o libcommon.fa.p/block_blkreplay.c.o libcommon.fa.p/block_qapi-sysemu.c.o libcommon.fa.p/block_monitor_block-hmp-cmds.c.o libcommon.fa.p/softmmu_bootdevice.c.o libcommon.fa.p/softmmu_dma-helpers.c.o libcommon.fa.p/softmmu_qdev-monitor.c.o libcommon.fa.p/softmmu_device_tree.c.o libcommon.fa.p/backends_cryptodev-builtin.c.o libcommon.fa.p/backends_cryptodev.c.o libcommon.fa.p/backends_hostmem-ram.c.o libcommon.fa.p/backends_hostmem.c.o libcommon.fa.p/backends_rng-builtin.c.o libcommon.fa.p/backends_rng-egd.c.o libcommon.fa.p/backends_rng.c.o libcommon.fa.p/backends_confidential-guest-support.c.o libcommon.fa.p/backends_rng-random.c.o libcommon.fa.p/backends_hostmem-file.c.o libcommon.fa.p/backends_cryptodev-vhost.c.o libcommon.fa.p/migration_page_cache.c.o libcommon.fa.p/migration_xbzrle.c.o libcommon.fa.p/migration_vmstate-types.c.o libcommon.fa.p/migration_vmstate.c.o libcommon.fa.p/migration_qemu-file-channel.c.o libcommon.fa.p/migration_qemu-file.c.o libcommon.fa.p/migration_yank_functions.c.o libcommon.fa.p/migration_block-dirty-bitmap.c.o libcommon.fa.p/migration_channel.c.o libcommon.fa.p/migration_colo-failover.c.o libcommon.fa.p/migration_colo.c.o libcommon.fa.p/migration_exec.c.o libcommon.fa.p/migration_fd.c.o libcommon.fa.p/migration_global_state.c.o libcommon.fa.p/migration_migration.c.o libcommon.fa.p/migration_multifd.c.o libcommon.fa.p/migration_multifd-zlib.c.o libcommon.fa.p/migration_postcopy-ram.c.o libcommon.fa.p/migration_savevm.c.o libcommon.fa.p/migration_socket.c.o libcommon.fa.p/migration_tls.c.o libcommon.fa.p/migration_block.c.o libcommon.fa.p/monitor_hmp-cmds.c.o libcommon.fa.p/monitor_hmp.c.o libcommon.fa.p/monitor_qmp-cmds.c.o libcommon.fa.p/net_announce.c.o libcommon.fa.p/net_checksum.c.o libcommon.fa.p/net_colo-compare.c.o libcommon.fa.p/net_colo.c.o libcommon.fa.p/net_dump.c.o libcommon.fa.p/net_eth.c.o libcommon.fa.p/net_filter-buffer.c.o libcommon.fa.p/net_filter-mirror.c.o libcommon.fa.p/net_filter-rewriter.c.o libcommon.fa.p/net_filter.c.o libcommon.fa.p/net_hub.c.o libcommon.fa.p/net_net.c.o libcommon.fa.p/net_queue.c.o libcommon.fa.p/net_socket.c.o libcommon.fa.p/net_util.c.o libcommon.fa.p/net_filter-replay.c.o libcommon.fa.p/net_tap-bsd.c.o libcommon.fa.p/net_tap.c.o libcommon.fa.p/net_can_can_core.c.o libcommon.fa.p/net_can_can_host.c.o libcommon.fa.p/replay_replay.c.o libcommon.fa.p/replay_replay-internal.c.o libcommon.fa.p/replay_replay-events.c.o libcommon.fa.p/replay_replay-time.c.o libcommon.fa.p/replay_replay-input.c.o libcommon.fa.p/replay_replay-char.c.o libcommon.fa.p/replay_replay-snapshot.c.o libcommon.fa.p/replay_replay-net.c.o libcommon.fa.p/replay_replay-audio.c.o libcommon.fa.p/replay_replay-random.c.o libcommon.fa.p/replay_replay-debugging.c.o libcommon.fa.p/hw_acpi_acpi_interface.c.o libcommon.fa.p/hw_acpi_aml-build.c.o libcommon.fa.p/hw_acpi_bios-linker-loader.c.o libcommon.fa.p/hw_acpi_core.c.o libcommon.fa.p/hw_acpi_utils.c.o libcommon.fa.p/hw_acpi_acpi-cpu-hotplug-stub.c.o libcommon.fa.p/hw_acpi_memory_hotplug.c.o libcommon.fa.p/hw_acpi_nvdimm.c.o libcommon.fa.p/hw_acpi_pci.c.o libcommon.fa.p/hw_acpi_generic_event_device.c.o libcommon.fa.p/hw_acpi_ghes.c.o libcommon.fa.p/hw_acpi_acpi-pci-hotplug-stub.c.o libcommon.fa.p/hw_acpi_viot.c.o libcommon.fa.p/hw_acpi_erst.c.o libcommon.fa.p/hw_acpi_ipmi-stub.c.o libcommon.fa.p/hw_acpi_acpi-x86-stub.c.o libcommon.fa.p/hw_adc_stm32f2xx_adc.c.o libcommon.fa.p/hw_adc_aspeed_adc.c.o libcommon.fa.p/hw_adc_npcm7xx_adc.c.o libcommon.fa.p/hw_adc_zynq-xadc.c.o libcommon.fa.p/hw_adc_max111x.c.o libcommon.fa.p/hw_audio_soundhw.c.o libcommon.fa.p/hw_audio_ac97.c.o libcommon.fa.p/hw_audio_es1370.c.o libcommon.fa.p/hw_audio_intel-hda.c.o libcommon.fa.p/hw_audio_hda-codec.c.o libcommon.fa.p/hw_audio_marvell_88w8618.c.o libcommon.fa.p/hw_audio_pl041.c.o libcommon.fa.p/hw_audio_lm4549.c.o libcommon.fa.p/hw_audio_wm8750.c.o libcommon.fa.p/hw_block_block.c.o libcommon.fa.p/hw_block_cdrom.c.o libcommon.fa.p/hw_block_hd-geometry.c.o libcommon.fa.p/hw_block_ecc.c.o libcommon.fa.p/hw_block_nand.c.o libcommon.fa.p/hw_block_onenand.c.o libcommon.fa.p/hw_block_pflash_cfi01.c.o libcommon.fa.p/hw_block_pflash_cfi02.c.o libcommon.fa.p/hw_block_m25p80.c.o libcommon.fa.p/hw_char_cadence_uart.c.o libcommon.fa.p/hw_char_cmsdk-apb-uart.c.o libcommon.fa.p/hw_char_imx_serial.c.o libcommon.fa.p/hw_char_ipoctal232.c.o libcommon.fa.p/hw_char_nrf51_uart.c.o libcommon.fa.p/hw_char_pl011.c.o libcommon.fa.p/hw_char_serial.c.o libcommon.fa.p/hw_char_serial-pci.c.o libcommon.fa.p/hw_char_serial-pci-multi.c.o libcommon.fa.p/hw_char_virtio-console.c.o libcommon.fa.p/hw_char_xilinx_uartlite.c.o libcommon.fa.p/hw_char_digic-uart.c.o libcommon.fa.p/hw_char_exynos4210_uart.c.o libcommon.fa.p/hw_char_omap_uart.c.o libcommon.fa.p/hw_char_bcm2835_aux.c.o libcommon.fa.p/hw_char_stm32f2xx_usart.c.o libcommon.fa.p/hw_char_stm32_uart.c.o libcommon.fa.p/hw_core_generic-loader.c.o libcommon.fa.p/hw_core_guest-loader.c.o libcommon.fa.p/hw_core_or-irq.c.o libcommon.fa.p/hw_core_platform-bus.c.o libcommon.fa.p/hw_core_ptimer.c.o libcommon.fa.p/hw_core_register.c.o libcommon.fa.p/hw_core_split-irq.c.o libcommon.fa.p/hw_core_stream.c.o libcommon.fa.p/hw_core_cpu-sysemu.c.o libcommon.fa.p/hw_core_fw-path-provider.c.o libcommon.fa.p/hw_core_gpio.c.o libcommon.fa.p/hw_core_loader.c.o libcommon.fa.p/hw_core_machine-hmp-cmds.c.o libcommon.fa.p/hw_core_machine.c.o libcommon.fa.p/hw_core_nmi.c.o libcommon.fa.p/hw_core_null-machine.c.o libcommon.fa.p/hw_core_qdev-fw.c.o libcommon.fa.p/hw_core_qdev-properties-system.c.o libcommon.fa.p/hw_core_sysbus.c.o libcommon.fa.p/hw_core_vm-change-state-handler.c.o libcommon.fa.p/hw_core_clock-vmstate.c.o libcommon.fa.p/hw_cpu_core.c.o libcommon.fa.p/hw_cpu_cluster.c.o libcommon.fa.p/hw_display_i2c-ddc.c.o libcommon.fa.p/hw_display_edid-generate.c.o libcommon.fa.p/hw_display_edid-region.c.o libcommon.fa.p/hw_display_ramfb.c.o libcommon.fa.p/hw_display_ramfb-standalone.c.o libcommon.fa.p/hw_display_cirrus_vga.c.o libcommon.fa.p/hw_display_pl110.c.o libcommon.fa.p/hw_display_sii9022.c.o libcommon.fa.p/hw_display_ssd0303.c.o libcommon.fa.p/hw_display_ssd0323.c.o libcommon.fa.p/hw_display_vga-pci.c.o libcommon.fa.p/hw_display_vmware_vga.c.o libcommon.fa.p/hw_display_bochs-display.c.o libcommon.fa.p/hw_display_blizzard.c.o libcommon.fa.p/hw_display_exynos4210_fimd.c.o libcommon.fa.p/hw_display_framebuffer.c.o libcommon.fa.p/hw_display_tc6393xb.c.o libcommon.fa.p/hw_display_omap_dss.c.o libcommon.fa.p/hw_display_pxa2xx_lcd.c.o libcommon.fa.p/hw_display_bcm2835_fb.c.o libcommon.fa.p/hw_display_ati.c.o libcommon.fa.p/hw_display_ati_2d.c.o libcommon.fa.p/hw_display_ati_dbg.c.o libcommon.fa.p/hw_dma_pl080.c.o libcommon.fa.p/hw_dma_pl330.c.o libcommon.fa.p/hw_dma_xilinx_axidma.c.o libcommon.fa.p/hw_dma_xlnx-zynq-devcfg.c.o libcommon.fa.p/hw_dma_omap_dma.c.o libcommon.fa.p/hw_dma_soc_dma.c.o libcommon.fa.p/hw_dma_pxa2xx_dma.c.o libcommon.fa.p/hw_dma_bcm2835_dma.c.o libcommon.fa.p/hw_gpio_gpio_key.c.o libcommon.fa.p/hw_gpio_gpio_pwr.c.o libcommon.fa.p/hw_gpio_max7310.c.o libcommon.fa.p/hw_gpio_pl061.c.o libcommon.fa.p/hw_gpio_zaurus.c.o libcommon.fa.p/hw_gpio_imx_gpio.c.o libcommon.fa.p/hw_gpio_npcm7xx_gpio.c.o libcommon.fa.p/hw_gpio_nrf51_gpio.c.o libcommon.fa.p/hw_gpio_omap_gpio.c.o libcommon.fa.p/hw_gpio_bcm2835_gpio.c.o libcommon.fa.p/hw_gpio_aspeed_gpio.c.o libcommon.fa.p/hw_gpio_stm32_gpio.c.o libcommon.fa.p/hw_gpio_stm32_afio.c.o libcommon.fa.p/hw_gpio_stm32_exti.c.o libcommon.fa.p/hw_i2c_core.c.o libcommon.fa.p/hw_i2c_smbus_slave.c.o libcommon.fa.p/hw_i2c_smbus_master.c.o libcommon.fa.p/hw_i2c_aspeed_i2c.c.o libcommon.fa.p/hw_i2c_bitbang_i2c.c.o libcommon.fa.p/hw_i2c_exynos4210_i2c.c.o libcommon.fa.p/hw_i2c_imx_i2c.c.o libcommon.fa.p/hw_i2c_microbit_i2c.c.o libcommon.fa.p/hw_i2c_npcm7xx_smbus.c.o libcommon.fa.p/hw_i2c_smbus_eeprom.c.o libcommon.fa.p/hw_i2c_versatile_i2c.c.o libcommon.fa.p/hw_i2c_omap_i2c.c.o libcommon.fa.p/hw_i2c_i2c_mux_pca954x.c.o libcommon.fa.p/hw_i2c_pmbus_device.c.o libcommon.fa.p/hw_i2c_picsimlab_i2c.c.o libcommon.fa.p/hw_ide_ahci.c.o libcommon.fa.p/hw_ide_ich.c.o libcommon.fa.p/hw_ide_ahci-allwinner.c.o libcommon.fa.p/hw_ide_core.c.o libcommon.fa.p/hw_ide_atapi.c.o libcommon.fa.p/hw_ide_qdev.c.o libcommon.fa.p/hw_ide_microdrive.c.o libcommon.fa.p/hw_input_hid.c.o libcommon.fa.p/hw_input_ads7846.c.o libcommon.fa.p/hw_input_lm832x.c.o libcommon.fa.p/hw_input_pl050.c.o libcommon.fa.p/hw_input_ps2.c.o libcommon.fa.p/hw_input_stellaris_input.c.o libcommon.fa.p/hw_input_tsc2005.c.o libcommon.fa.p/hw_input_virtio-input.c.o libcommon.fa.p/hw_input_virtio-input-hid.c.o libcommon.fa.p/hw_input_pxa2xx_keypad.c.o libcommon.fa.p/hw_input_tsc210x.c.o libcommon.fa.p/hw_intc_intc.c.o libcommon.fa.p/hw_intc_arm_gic.c.o libcommon.fa.p/hw_intc_arm_gic_common.c.o libcommon.fa.p/hw_intc_arm_gicv2m.c.o libcommon.fa.p/hw_intc_arm_gicv3_common.c.o libcommon.fa.p/hw_intc_arm_gicv3_its_common.c.o libcommon.fa.p/hw_intc_arm_gicv3.c.o libcommon.fa.p/hw_intc_arm_gicv3_dist.c.o libcommon.fa.p/hw_intc_arm_gicv3_its.c.o libcommon.fa.p/hw_intc_arm_gicv3_redist.c.o libcommon.fa.p/hw_intc_imx_avic.c.o libcommon.fa.p/hw_intc_imx_gpcv2.c.o libcommon.fa.p/hw_intc_pl190.c.o libcommon.fa.p/hw_intc_realview_gic.c.o libcommon.fa.p/hw_intc_xilinx_intc.c.o libcommon.fa.p/hw_ipack_ipack.c.o libcommon.fa.p/hw_ipack_tpci200.c.o libcommon.fa.p/hw_mem_memory-device.c.o libcommon.fa.p/hw_mem_pc-dimm.c.o libcommon.fa.p/hw_mem_npcm7xx_mc.c.o libcommon.fa.p/hw_mem_nvdimm.c.o libcommon.fa.p/hw_misc_edu.c.o libcommon.fa.p/hw_misc_vmcoreinfo.c.o libcommon.fa.p/hw_misc_pca9552.c.o libcommon.fa.p/hw_misc_pci-testdev.c.o libcommon.fa.p/hw_misc_unimp.c.o libcommon.fa.p/hw_misc_led.c.o libcommon.fa.p/hw_misc_pvpanic.c.o libcommon.fa.p/hw_misc_arm_l2x0.c.o libcommon.fa.p/hw_misc_arm_integrator_debug.c.o libcommon.fa.p/hw_misc_a9scu.c.o libcommon.fa.p/hw_misc_arm11scu.c.o libcommon.fa.p/hw_misc_armv7m_ras.c.o libcommon.fa.p/hw_misc_allwinner-h3-ccu.c.o libcommon.fa.p/hw_misc_allwinner-h3-dramc.c.o libcommon.fa.p/hw_misc_allwinner-h3-sysctrl.c.o libcommon.fa.p/hw_misc_allwinner-sid.c.o libcommon.fa.p/hw_misc_arm_sysctl.c.o libcommon.fa.p/hw_misc_cbus.c.o libcommon.fa.p/hw_misc_exynos4210_pmu.c.o libcommon.fa.p/hw_misc_exynos4210_clk.c.o libcommon.fa.p/hw_misc_exynos4210_rng.c.o libcommon.fa.p/hw_misc_imx25_ccm.c.o libcommon.fa.p/hw_misc_imx31_ccm.c.o libcommon.fa.p/hw_misc_imx6_ccm.c.o libcommon.fa.p/hw_misc_imx6ul_ccm.c.o libcommon.fa.p/hw_misc_imx7_ccm.c.o libcommon.fa.p/hw_misc_imx7_gpr.c.o libcommon.fa.p/hw_misc_imx7_snvs.c.o libcommon.fa.p/hw_misc_imx_ccm.c.o libcommon.fa.p/hw_misc_imx_rngc.c.o libcommon.fa.p/hw_misc_mst_fpga.c.o libcommon.fa.p/hw_misc_npcm7xx_clk.c.o libcommon.fa.p/hw_misc_npcm7xx_gcr.c.o libcommon.fa.p/hw_misc_npcm7xx_mft.c.o libcommon.fa.p/hw_misc_npcm7xx_pwm.c.o libcommon.fa.p/hw_misc_npcm7xx_rng.c.o libcommon.fa.p/hw_misc_omap_clk.c.o libcommon.fa.p/hw_misc_omap_gpmc.c.o libcommon.fa.p/hw_misc_omap_l4.c.o libcommon.fa.p/hw_misc_omap_sdrc.c.o libcommon.fa.p/hw_misc_omap_tap.c.o libcommon.fa.p/hw_misc_bcm2835_mbox.c.o libcommon.fa.p/hw_misc_bcm2835_mphi.c.o libcommon.fa.p/hw_misc_bcm2835_property.c.o libcommon.fa.p/hw_misc_bcm2835_rng.c.o libcommon.fa.p/hw_misc_bcm2835_thermal.c.o libcommon.fa.p/hw_misc_bcm2835_cprman.c.o libcommon.fa.p/hw_misc_bcm2835_powermgt.c.o libcommon.fa.p/hw_misc_zynq_slcr.c.o libcommon.fa.p/hw_misc_stm32f2xx_syscfg.c.o libcommon.fa.p/hw_misc_stm32f4xx_syscfg.c.o libcommon.fa.p/hw_misc_stm32f4xx_exti.c.o libcommon.fa.p/hw_misc_mps2-fpgaio.c.o libcommon.fa.p/hw_misc_mps2-scc.c.o libcommon.fa.p/hw_misc_tz-mpc.c.o libcommon.fa.p/hw_misc_tz-msc.c.o libcommon.fa.p/hw_misc_tz-ppc.c.o libcommon.fa.p/hw_misc_iotkit-secctl.c.o libcommon.fa.p/hw_misc_iotkit-sysinfo.c.o libcommon.fa.p/hw_misc_armsse-cpu-pwrctrl.c.o libcommon.fa.p/hw_misc_armsse-cpuid.c.o libcommon.fa.p/hw_misc_armsse-mhu.c.o libcommon.fa.p/hw_misc_pvpanic-pci.c.o libcommon.fa.p/hw_misc_aspeed_hace.c.o libcommon.fa.p/hw_misc_aspeed_i3c.c.o libcommon.fa.p/hw_misc_aspeed_lpc.c.o libcommon.fa.p/hw_misc_aspeed_scu.c.o libcommon.fa.p/hw_misc_aspeed_sbc.c.o libcommon.fa.p/hw_misc_aspeed_sdmc.c.o libcommon.fa.p/hw_misc_aspeed_xdma.c.o libcommon.fa.p/hw_misc_msf2-sysreg.c.o libcommon.fa.p/hw_misc_nrf51_rng.c.o libcommon.fa.p/hw_net_ne2000.c.o libcommon.fa.p/hw_net_ne2000-pci.c.o libcommon.fa.p/hw_net_eepro100.c.o libcommon.fa.p/hw_net_pcnet-pci.c.o libcommon.fa.p/hw_net_pcnet.c.o libcommon.fa.p/hw_net_e1000.c.o libcommon.fa.p/hw_net_e1000x_common.c.o libcommon.fa.p/hw_net_net_tx_pkt.c.o libcommon.fa.p/hw_net_net_rx_pkt.c.o libcommon.fa.p/hw_net_e1000e.c.o libcommon.fa.p/hw_net_e1000e_core.c.o libcommon.fa.p/hw_net_rtl8139.c.o libcommon.fa.p/hw_net_tulip.c.o libcommon.fa.p/hw_net_vmxnet3.c.o libcommon.fa.p/hw_net_smc91c111.c.o libcommon.fa.p/hw_net_lan9118.c.o libcommon.fa.p/hw_net_xgmac.c.o libcommon.fa.p/hw_net_xilinx_axienet.c.o libcommon.fa.p/hw_net_allwinner_emac.c.o libcommon.fa.p/hw_net_allwinner-sun8i-emac.c.o libcommon.fa.p/hw_net_imx_fec.c.o libcommon.fa.p/hw_net_msf2-emac.c.o libcommon.fa.p/hw_net_mv88w8618_eth.c.o libcommon.fa.p/hw_net_cadence_gem.c.o libcommon.fa.p/hw_net_stellaris_enet.c.o libcommon.fa.p/hw_net_ftgmac100.c.o libcommon.fa.p/hw_net_npcm7xx_emc.c.o libcommon.fa.p/hw_net_vhost_net-stub.c.o libcommon.fa.p/hw_net_rocker_rocker.c.o libcommon.fa.p/hw_net_rocker_rocker_desc.c.o libcommon.fa.p/hw_net_rocker_rocker_fp.c.o libcommon.fa.p/hw_net_rocker_rocker_of_dpa.c.o libcommon.fa.p/hw_net_rocker_rocker_world.c.o libcommon.fa.p/hw_net_can_can_sja1000.c.o libcommon.fa.p/hw_net_can_can_kvaser_pci.c.o libcommon.fa.p/hw_net_can_can_pcm3680_pci.c.o libcommon.fa.p/hw_net_can_can_mioe3680_pci.c.o libcommon.fa.p/hw_net_can_ctucan_core.c.o libcommon.fa.p/hw_net_can_ctucan_pci.c.o libcommon.fa.p/hw_nvme_ctrl.c.o libcommon.fa.p/hw_nvme_dif.c.o libcommon.fa.p/hw_nvme_ns.c.o libcommon.fa.p/hw_nvme_subsys.c.o libcommon.fa.p/hw_nvram_fw_cfg.c.o libcommon.fa.p/hw_nvram_eeprom93xx.c.o libcommon.fa.p/hw_nvram_eeprom_at24c.c.o libcommon.fa.p/hw_nvram_npcm7xx_otp.c.o libcommon.fa.p/hw_nvram_nrf51_nvm.c.o libcommon.fa.p/hw_pci_pcie_port.c.o libcommon.fa.p/hw_pci_pcie_host.c.o libcommon.fa.p/hw_pci_msi.c.o libcommon.fa.p/hw_pci_msix.c.o libcommon.fa.p/hw_pci_pci.c.o libcommon.fa.p/hw_pci_pci_bridge.c.o libcommon.fa.p/hw_pci_pci_host.c.o libcommon.fa.p/hw_pci_shpc.c.o libcommon.fa.p/hw_pci_slotid_cap.c.o libcommon.fa.p/hw_pci_pcie.c.o libcommon.fa.p/hw_pci_pcie_aer.c.o libcommon.fa.p/hw_pci-bridge_pci_bridge_dev.c.o libcommon.fa.p/hw_pci-bridge_i82801b11.c.o libcommon.fa.p/hw_pci-bridge_ioh3420.c.o libcommon.fa.p/hw_pci-bridge_pcie_root_port.c.o libcommon.fa.p/hw_pci-bridge_gen_pcie_root_port.c.o libcommon.fa.p/hw_pci-bridge_pcie_pci_bridge.c.o libcommon.fa.p/hw_pci-bridge_pci_expander_bridge.c.o libcommon.fa.p/hw_pci-bridge_xio3130_upstream.c.o libcommon.fa.p/hw_pci-bridge_xio3130_downstream.c.o libcommon.fa.p/hw_pci-host_designware.c.o libcommon.fa.p/hw_pci-host_gpex.c.o libcommon.fa.p/hw_pci-host_gpex-acpi.c.o libcommon.fa.p/hw_pci-host_versatile.c.o libcommon.fa.p/hw_pcmcia_pcmcia.c.o libcommon.fa.p/hw_pcmcia_pxa2xx.c.o libcommon.fa.p/hw_rtc_ds1338.c.o libcommon.fa.p/hw_rtc_m41t80.c.o libcommon.fa.p/hw_rtc_pl031.c.o libcommon.fa.p/hw_rtc_twl92230.c.o libcommon.fa.p/hw_rtc_exynos4210_rtc.c.o libcommon.fa.p/hw_rtc_aspeed_rtc.c.o libcommon.fa.p/hw_rtc_allwinner-rtc.c.o libcommon.fa.p/hw_scsi_emulation.c.o libcommon.fa.p/hw_scsi_scsi-bus.c.o libcommon.fa.p/hw_scsi_scsi-disk.c.o libcommon.fa.p/hw_scsi_scsi-generic.c.o libcommon.fa.p/hw_scsi_esp.c.o libcommon.fa.p/hw_scsi_esp-pci.c.o libcommon.fa.p/hw_scsi_lsi53c895a.c.o libcommon.fa.p/hw_scsi_megasas.c.o libcommon.fa.p/hw_scsi_mptsas.c.o libcommon.fa.p/hw_scsi_mptconfig.c.o libcommon.fa.p/hw_scsi_mptendian.c.o libcommon.fa.p/hw_scsi_vmw_pvscsi.c.o libcommon.fa.p/hw_sd_pl181.c.o libcommon.fa.p/hw_sd_sd.c.o libcommon.fa.p/hw_sd_core.c.o libcommon.fa.p/hw_sd_sdmmc-internal.c.o libcommon.fa.p/hw_sd_sdhci.c.o libcommon.fa.p/hw_sd_sdhci-pci.c.o libcommon.fa.p/hw_sd_ssi-sd.c.o libcommon.fa.p/hw_sd_omap_mmc.c.o libcommon.fa.p/hw_sd_pxa2xx_mmci.c.o libcommon.fa.p/hw_sd_bcm2835_sdhost.c.o libcommon.fa.p/hw_sd_aspeed_sdhci.c.o libcommon.fa.p/hw_sd_allwinner-sdhost.c.o libcommon.fa.p/hw_sd_npcm7xx_sdhci.c.o libcommon.fa.p/hw_sensor_tmp105.c.o libcommon.fa.p/hw_sensor_tmp421.c.o libcommon.fa.p/hw_sensor_dps310.c.o libcommon.fa.p/hw_sensor_emc141x.c.o libcommon.fa.p/hw_sensor_adm1272.c.o libcommon.fa.p/hw_sensor_max34451.c.o libcommon.fa.p/hw_sensor_lsm303dlhc_mag.c.o libcommon.fa.p/hw_smbios_smbios.c.o libcommon.fa.p/hw_smbios_smbios_type_38-stub.c.o libcommon.fa.p/hw_ssi_aspeed_smc.c.o libcommon.fa.p/hw_ssi_mss-spi.c.o libcommon.fa.p/hw_ssi_npcm7xx_fiu.c.o libcommon.fa.p/hw_ssi_pl022.c.o libcommon.fa.p/hw_ssi_ssi.c.o libcommon.fa.p/hw_ssi_stm32f2xx_spi.c.o libcommon.fa.p/hw_ssi_xilinx_spi.c.o libcommon.fa.p/hw_ssi_xilinx_spips.c.o libcommon.fa.p/hw_ssi_imx_spi.c.o libcommon.fa.p/hw_ssi_omap_spi.c.o libcommon.fa.p/hw_ssi_stm32_spi.c.o libcommon.fa.p/hw_ssi_picsimlab_spi.c.o libcommon.fa.p/hw_timer_a9gtimer.c.o libcommon.fa.p/hw_timer_allwinner-a10-pit.c.o libcommon.fa.p/hw_timer_arm_mptimer.c.o libcommon.fa.p/hw_timer_arm_timer.c.o libcommon.fa.p/hw_timer_armv7m_systick.c.o libcommon.fa.p/hw_timer_aspeed_timer.c.o libcommon.fa.p/hw_timer_cadence_ttc.c.o libcommon.fa.p/hw_timer_cmsdk-apb-dualtimer.c.o libcommon.fa.p/hw_timer_cmsdk-apb-timer.c.o libcommon.fa.p/hw_timer_digic-timer.c.o libcommon.fa.p/hw_timer_exynos4210_mct.c.o libcommon.fa.p/hw_timer_exynos4210_pwm.c.o libcommon.fa.p/hw_timer_imx_epit.c.o libcommon.fa.p/hw_timer_imx_gpt.c.o libcommon.fa.p/hw_timer_mss-timer.c.o libcommon.fa.p/hw_timer_npcm7xx_timer.c.o libcommon.fa.p/hw_timer_nrf51_timer.c.o libcommon.fa.p/hw_timer_omap_gptimer.c.o libcommon.fa.p/hw_timer_omap_synctimer.c.o libcommon.fa.p/hw_timer_pxa2xx_timer.c.o libcommon.fa.p/hw_timer_bcm2835_systmr.c.o libcommon.fa.p/hw_timer_sse-counter.c.o libcommon.fa.p/hw_timer_sse-timer.c.o libcommon.fa.p/hw_timer_stellaris-gptm.c.o libcommon.fa.p/hw_timer_stm32f2xx_timer.c.o libcommon.fa.p/hw_timer_stm32_rtc.c.o libcommon.fa.p/hw_timer_stm32_timer.c.o libcommon.fa.p/hw_timer_xilinx_timer.c.o libcommon.fa.p/hw_usb_bus.c.o libcommon.fa.p/hw_usb_combined-packet.c.o libcommon.fa.p/hw_usb_core.c.o libcommon.fa.p/hw_usb_desc.c.o libcommon.fa.p/hw_usb_desc-msos.c.o libcommon.fa.p/hw_usb_libhw.c.o libcommon.fa.p/hw_usb_pcap.c.o libcommon.fa.p/hw_usb_hcd-uhci.c.o libcommon.fa.p/hw_usb_hcd-ohci.c.o libcommon.fa.p/hw_usb_hcd-ohci-pci.c.o libcommon.fa.p/hw_usb_hcd-ehci.c.o libcommon.fa.p/hw_usb_hcd-ehci-pci.c.o libcommon.fa.p/hw_usb_hcd-ehci-sysbus.c.o libcommon.fa.p/hw_usb_hcd-xhci.c.o libcommon.fa.p/hw_usb_hcd-xhci-pci.c.o libcommon.fa.p/hw_usb_hcd-xhci-nec.c.o libcommon.fa.p/hw_usb_hcd-musb.c.o libcommon.fa.p/hw_usb_hcd-dwc2.c.o libcommon.fa.p/hw_usb_tusb6010.c.o libcommon.fa.p/hw_usb_chipidea.c.o libcommon.fa.p/hw_usb_imx-usb-phy.c.o libcommon.fa.p/hw_usb_dev-hub.c.o libcommon.fa.p/hw_usb_dev-hid.c.o libcommon.fa.p/hw_usb_dev-wacom.c.o libcommon.fa.p/hw_usb_dev-storage.c.o libcommon.fa.p/hw_usb_dev-storage-bot.c.o libcommon.fa.p/hw_usb_dev-storage-classic.c.o libcommon.fa.p/hw_usb_dev-uas.c.o libcommon.fa.p/hw_usb_dev-audio.c.o libcommon.fa.p/hw_usb_dev-serial.c.o libcommon.fa.p/hw_usb_dev-network.c.o libcommon.fa.p/hw_usb_dev-mtp.c.o libcommon.fa.p/hw_usb_dev-smartcard-reader.c.o libcommon.fa.p/hw_usb_u2f.c.o libcommon.fa.p/hw_virtio_virtio-bus.c.o libcommon.fa.p/hw_virtio_virtio-pci.c.o libcommon.fa.p/hw_virtio_virtio-mmio.c.o libcommon.fa.p/hw_virtio_vhost-stub.c.o libcommon.fa.p/hw_watchdog_watchdog.c.o libcommon.fa.p/hw_watchdog_cmsdk-apb-watchdog.c.o libcommon.fa.p/hw_watchdog_wdt_i6300esb.c.o libcommon.fa.p/hw_watchdog_wdt_aspeed.c.o libcommon.fa.p/hw_watchdog_wdt_imx2.c.o libcommon.fa.p/accel_accel-softmmu.c.o libcommon.fa.p/ebpf_ebpf_rss-stub.c.o libcommon.fa.p/hw_display_virtio-gpu-base.c.o libcommon.fa.p/hw_display_virtio-gpu.c.o libcommon.fa.p/hw_display_virtio-gpu-udmabuf-stubs.c.o libcommon.fa.p/hw_display_virtio-gpu-pci.c.o libqemu-arm-softmmu.fa.p/target_arm_arch_dump.c.o libqemu-arm-softmmu.fa.p/target_arm_arm-powerctl.c.o libqemu-arm-softmmu.fa.p/target_arm_machine.c.o libqemu-arm-softmmu.fa.p/target_arm_monitor.c.o libqemu-arm-softmmu.fa.p/target_arm_psci.c.o libqemu-arm-softmmu.fa.p/hw_arm_boot.c.o libqemu-arm-softmmu.fa.p/hw_arm_sysbus-fdt.c.o libqemu-arm-softmmu.fa.p/hw_arm_virt.c.o libqemu-arm-softmmu.fa.p/hw_arm_virt-acpi-build.c.o libqemu-arm-softmmu.fa.p/hw_arm_digic_boards.c.o libqemu-arm-softmmu.fa.p/hw_arm_exynos4_boards.c.o libqemu-arm-softmmu.fa.p/hw_arm_msf2-som.c.o libqemu-arm-softmmu.fa.p/hw_arm_highbank.c.o libqemu-arm-softmmu.fa.p/hw_arm_integratorcp.c.o libqemu-arm-softmmu.fa.p/hw_arm_mainstone.c.o libqemu-arm-softmmu.fa.p/hw_arm_microbit.c.o libqemu-arm-softmmu.fa.p/hw_arm_musicpal.c.o libqemu-arm-softmmu.fa.p/hw_arm_netduino2.c.o libqemu-arm-softmmu.fa.p/hw_arm_netduinoplus2.c.o libqemu-arm-softmmu.fa.p/hw_arm_npcm7xx.c.o libqemu-arm-softmmu.fa.p/hw_arm_npcm7xx_boards.c.o libqemu-arm-softmmu.fa.p/hw_arm_nseries.c.o libqemu-arm-softmmu.fa.p/hw_arm_omap_sx1.c.o libqemu-arm-softmmu.fa.p/hw_arm_palm.c.o libqemu-arm-softmmu.fa.p/hw_arm_gumstix.c.o libqemu-arm-softmmu.fa.p/hw_arm_spitz.c.o libqemu-arm-softmmu.fa.p/hw_arm_tosa.c.o libqemu-arm-softmmu.fa.p/hw_arm_z2.c.o libqemu-arm-softmmu.fa.p/hw_arm_realview.c.o libqemu-arm-softmmu.fa.p/hw_arm_stellaris.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32vldiscovery.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_adc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_crc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32f100_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32f205_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_iwdg.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_dac.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_f103c8.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_rcc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_clktree.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_dma.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_flash.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_i2c.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_p103.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_p103_picsimlab.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_p103_picsimlab_new.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_f103c8_picsimlab.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_f103c8_picsimlab_new.c.o libqemu-arm-softmmu.fa.p/hw_arm_collie.c.o libqemu-arm-softmmu.fa.p/hw_arm_versatilepb.c.o libqemu-arm-softmmu.fa.p/hw_arm_vexpress.c.o libqemu-arm-softmmu.fa.p/hw_arm_xilinx_zynq.c.o libqemu-arm-softmmu.fa.p/hw_arm_sabrelite.c.o libqemu-arm-softmmu.fa.p/hw_arm_armv7m.c.o libqemu-arm-softmmu.fa.p/hw_arm_exynos4210.c.o libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx.c.o libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx_gpio.c.o libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx_pic.c.o libqemu-arm-softmmu.fa.p/hw_arm_digic.c.o libqemu-arm-softmmu.fa.p/hw_arm_omap1.c.o libqemu-arm-softmmu.fa.p/hw_arm_omap2.c.o libqemu-arm-softmmu.fa.p/hw_arm_strongarm.c.o libqemu-arm-softmmu.fa.p/hw_arm_allwinner-a10.c.o libqemu-arm-softmmu.fa.p/hw_arm_cubieboard.c.o libqemu-arm-softmmu.fa.p/hw_arm_allwinner-h3.c.o libqemu-arm-softmmu.fa.p/hw_arm_orangepi.c.o libqemu-arm-softmmu.fa.p/hw_arm_bcm2835_peripherals.c.o libqemu-arm-softmmu.fa.p/hw_arm_bcm2836.c.o libqemu-arm-softmmu.fa.p/hw_arm_raspi.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32f405_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx25.c.o libqemu-arm-softmmu.fa.p/hw_arm_imx25_pdk.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx31.c.o libqemu-arm-softmmu.fa.p/hw_arm_kzm.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx6.c.o libqemu-arm-softmmu.fa.p/hw_arm_aspeed_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_aspeed.c.o libqemu-arm-softmmu.fa.p/hw_arm_aspeed_ast2600.c.o libqemu-arm-softmmu.fa.p/hw_arm_mps2.c.o libqemu-arm-softmmu.fa.p/hw_arm_mps2-tz.c.o libqemu-arm-softmmu.fa.p/hw_arm_msf2-soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_musca.c.o libqemu-arm-softmmu.fa.p/hw_arm_armsse.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx7.c.o libqemu-arm-softmmu.fa.p/hw_arm_mcimx7d-sabre.c.o libqemu-arm-softmmu.fa.p/hw_arm_smmu-common.c.o libqemu-arm-softmmu.fa.p/hw_arm_smmuv3.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx6ul.c.o libqemu-arm-softmmu.fa.p/hw_arm_mcimx6ul-evk.c.o libqemu-arm-softmmu.fa.p/hw_arm_nrf51_soc.c.o libqemu-arm-softmmu.fa.p/target_arm_cpu.c.o libqemu-arm-softmmu.fa.p/target_arm_crypto_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_debug_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_gdbstub.c.o libqemu-arm-softmmu.fa.p/target_arm_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_iwmmxt_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_m_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_mve_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_neon_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_op_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_tlb_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_translate.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-m-nocp.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-mve.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-neon.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-vfp.c.o libqemu-arm-softmmu.fa.p/target_arm_vec_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_vfp_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_cpu_tcg.c.o libqemu-arm-softmmu.fa.p/target_arm_kvm-stub.c.o libqemu-arm-softmmu.fa.p/trace_control-target.c.o libqemu-arm-softmmu.fa.p/dump_dump.c.o libqemu-arm-softmmu.fa.p/softmmu_arch_init.c.o libqemu-arm-softmmu.fa.p/softmmu_balloon.c.o libqemu-arm-softmmu.fa.p/softmmu_cpus.c.o libqemu-arm-softmmu.fa.p/softmmu_cpu-throttle.c.o libqemu-arm-softmmu.fa.p/softmmu_datadir.c.o libqemu-arm-softmmu.fa.p/softmmu_globals.c.o libqemu-arm-softmmu.fa.p/softmmu_physmem.c.o libqemu-arm-softmmu.fa.p/softmmu_ioport.c.o libqemu-arm-softmmu.fa.p/softmmu_rtc.c.o libqemu-arm-softmmu.fa.p/softmmu_runstate.c.o libqemu-arm-softmmu.fa.p/softmmu_memory.c.o libqemu-arm-softmmu.fa.p/softmmu_memory_mapping.c.o libqemu-arm-softmmu.fa.p/softmmu_qtest.c.o libqemu-arm-softmmu.fa.p/softmmu_vl.c.o libqemu-arm-softmmu.fa.p/softmmu_cpu-timers.c.o libqemu-arm-softmmu.fa.p/softmmu_runstate-action.c.o libqemu-arm-softmmu.fa.p/softmmu_icount.c.o libqemu-arm-softmmu.fa.p/cpu.c.o libqemu-arm-softmmu.fa.p/disas.c.o libqemu-arm-softmmu.fa.p/gdbstub.c.o libqemu-arm-softmmu.fa.p/page-vary.c.o libqemu-arm-softmmu.fa.p/migration_dirtyrate.c.o libqemu-arm-softmmu.fa.p/migration_ram.c.o libqemu-arm-softmmu.fa.p/migration_target.c.o libqemu-arm-softmmu.fa.p/monitor_misc.c.o libqemu-arm-softmmu.fa.p/semihosting_config.c.o libqemu-arm-softmmu.fa.p/semihosting_console.c.o libqemu-arm-softmmu.fa.p/semihosting_arm-compat-semi.c.o libqemu-arm-softmmu.fa.p/hw_block_virtio-blk.c.o libqemu-arm-softmmu.fa.p/hw_block_dataplane_virtio-blk.c.o libqemu-arm-softmmu.fa.p/hw_char_virtio-serial-bus.c.o libqemu-arm-softmmu.fa.p/hw_core_machine-qmp-cmds.c.o libqemu-arm-softmmu.fa.p/hw_core_numa.c.o libqemu-arm-softmmu.fa.p/hw_cpu_arm11mpcore.c.o libqemu-arm-softmmu.fa.p/hw_cpu_realview_mpcore.c.o libqemu-arm-softmmu.fa.p/hw_cpu_a9mpcore.c.o libqemu-arm-softmmu.fa.p/hw_cpu_a15mpcore.c.o libqemu-arm-softmmu.fa.p/hw_display_vga.c.o libqemu-arm-softmmu.fa.p/hw_display_omap_lcdc.c.o libqemu-arm-softmmu.fa.p/hw_intc_allwinner-a10-pic.c.o libqemu-arm-softmmu.fa.p/hw_intc_arm_gicv3_cpuif_common.c.o libqemu-arm-softmmu.fa.p/hw_intc_arm_gicv3_cpuif.c.o libqemu-arm-softmmu.fa.p/hw_intc_armv7m_nvic.c.o libqemu-arm-softmmu.fa.p/hw_intc_aspeed_vic.c.o libqemu-arm-softmmu.fa.p/hw_intc_exynos4210_gic.c.o libqemu-arm-softmmu.fa.p/hw_intc_exynos4210_combiner.c.o libqemu-arm-softmmu.fa.p/hw_intc_omap_intc.c.o libqemu-arm-softmmu.fa.p/hw_intc_bcm2835_ic.c.o libqemu-arm-softmmu.fa.p/hw_intc_bcm2836_control.c.o libqemu-arm-softmmu.fa.p/hw_misc_allwinner-cpucfg.c.o libqemu-arm-softmmu.fa.p/hw_misc_imx6_src.c.o libqemu-arm-softmmu.fa.p/hw_misc_iotkit-sysctl.c.o libqemu-arm-softmmu.fa.p/hw_net_virtio-net.c.o libqemu-arm-softmmu.fa.p/hw_scsi_virtio-scsi.c.o libqemu-arm-softmmu.fa.p/hw_scsi_virtio-scsi-dataplane.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-balloon.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-crypto.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-crypto-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-rng.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-iommu.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-input-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-rng-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-balloon-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-scsi-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-blk-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-net-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-serial-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-iommu-pci.c.o libqemu-arm-softmmu.fa.p/tcg_optimize.c.o libqemu-arm-softmmu.fa.p/tcg_region.c.o libqemu-arm-softmmu.fa.p/tcg_tcg.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-common.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-op.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-op-gvec.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-op-vec.c.o libqemu-arm-softmmu.fa.p/fpu_softfloat.c.o libqemu-arm-softmmu.fa.p/accel_accel-common.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-all.c.o libqemu-arm-softmmu.fa.p/accel_tcg_cpu-exec-common.c.o libqemu-arm-softmmu.fa.p/accel_tcg_cpu-exec.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-runtime-gvec.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-runtime.c.o libqemu-arm-softmmu.fa.p/accel_tcg_translate-all.c.o libqemu-arm-softmmu.fa.p/accel_tcg_translator.c.o libqemu-arm-softmmu.fa.p/accel_tcg_cputlb.c.o libqemu-arm-softmmu.fa.p/accel_tcg_hmp.c.o libqemu-arm-softmmu.fa.p/accel_stubs_hax-stub.c.o libqemu-arm-softmmu.fa.p/accel_stubs_xen-stub.c.o libqemu-arm-softmmu.fa.p/accel_stubs_kvm-stub.c.o libqemu-arm-softmmu.fa.p/accel_dummy-cpus.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops-mttcg.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops-icount.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops-rr.c.o libqemu-arm-softmmu.fa.p/accel_qtest_qtest.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._arm-softmmu-gdbstub-xml.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-types-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-visit-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-events-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-commands-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-types-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-visit-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-events-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-commands-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-introspect.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-types.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-visit.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-commands.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-init-commands.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-events.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-emit-events.c.o qemu-system-arm-unsigned.p/softmmu_main.c.o -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0 -L/usr/local/opt/curl/lib -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-force_load libhwcore.fa -Wl,-force_load libqom.fa -Wl,-force_load libio.fa -Wl,-force_load libcrypto.fa -Wl,-force_load libauthz.fa -Wl,-force_load libblockdev.fa -Wl,-force_load libblock.fa -Wl,-force_load libchardev.fa -Wl,-force_load libqmp.fa -fstack-protector-strong -fPIC -Wl,-rpath,/usr/local/Cellar/pixman/0.42.2/lib libfdt.a libcapstone.a libqemuutil.a libmigration.fa libhwcore.fa libqom.fa libio.fa libcrypto.fa libauthz.fa libblockdev.fa libblock.fa libchardev.fa libqmp.fa @block.syms @qemu.syms -lz /usr/local/Cellar/pixman/0.42.2/lib/libpixman-1.dylib @block.syms -lutil -lm -L/usr/local/Cellar/glib/2.78.1/lib -L/usr/local/opt/gettext/lib -lgthread-2.0 -lglib-2.0 -lintl -lz -framework CoreFoundation -framework IOKit -lc++
ld: warning: -undefined error is deprecated
ld: warning: ignoring duplicate libraries: '-lc++', '-lz'
[3/3] /Users/laris/coding/picsimlab/build_all/qemu/scripts/entitlement.sh qemu-system-arm qemu-system-arm-unsigned ../pc-bios/qemu.rsrc
laris commented 7 months ago

repeat to test:

  1. in build path rm -rf qemu-system-arm qemu-system-arm-unsigned
  2. make clean
  3. ninja -d keeprsp then will generated qemu-system-arm qemu-system-arm-unsigned file but no qemu-system-arm.rsp
ninja -d keeprsp
[820/2547] Compiling C object libqemuutil.a.p/meson-generated_.._trace_trace-hw_ppc.c.o
[1095/2547] Linking static target libqemuutil.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_cacheflush.c.o) has n
o symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_stats64.c.o) has no s
ymbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_int128.c.o) has no sy
mbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(stubs_module-opts.c.o) has
 no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_cacheflush.c.o) has n
o symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_stats64.c.o) has no s
ymbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_int128.c.o) has no sy
mbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(stubs_module-opts.c.o) has
 no symbols
[1240/2547] Compiling C object libblock.fa.p/block_file-posix.c.o
../block/file-posix.c:3330:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort );
                 ^~~~~~~~~~~~
                 kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Head
ers/IOKitLib.h:143:1: note: 'IOMasterPort' has been explicitly marked deprecated here
IOMasterPort( mach_port_t       bootstrapPort,
^
1 warning generated.
[1268/2547] Linking static target libchardev.fa
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libchardev.fa(chardev_char-parallel.c.o)
 has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libchardev.fa(chardev_char-parallel.c.o)
 has no symbols
[1436/2547] Compiling C object libcommon.fa.p/hw_char_stm32_uart.c.o
../hw/char/stm32_uart.c:230:13: warning: explicitly assigning value of variable of type 'uint64_t' (aka 'unsigned long long') to itself [-Wse
lf-assign]
  curr_time = curr_time; // Avoid "variable unused" compiler error
  ~~~~~~~~~ ^ ~~~~~~~~~
1 warning generated.
[1458/2547] Compiling C object libcommon.fa.p/hw_display_sii9022.c.o
../hw/display/sii9022.c:69:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
    switch (event) {
            ^~~~~
../hw/display/sii9022.c:69:13: note: add missing switch cases
    switch (event) {
            ^
1 warning generated.
[1459/2547] Compiling C object libcommon.fa.p/hw_display_ssd0303.c.o
../hw/display/ssd0303.c:190:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
    switch (event) {
            ^~~~~
../hw/display/ssd0303.c:190:13: note: add missing switch cases
    switch (event) {
            ^
1 warning generated.
[1497/2547] Compiling C object libcommon.fa.p/hw_i2c_smbus_slave.c.o
../hw/i2c/smbus_slave.c:67:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
    switch (event) {
            ^~~~~
../hw/i2c/smbus_slave.c:67:13: note: add missing switch cases
    switch (event) {
            ^
1 warning generated.
[1642/2547] Compiling C object libcommon.fa.p/hw_net_rtl8139.c.o
../hw/net/rtl8139.c:2159:21: warning: variable 'send_count' set but not used [-Wunused-but-set-variable]
                int send_count = 0;
                    ^
1 warning generated.
[1648/2547] Compiling C object libcommon.fa.p/hw_net_tulip.c.o
../hw/net/tulip.c:873:15: warning: variable 'n' set but not used [-Wunused-but-set-variable]
    int word, n;
              ^
1 warning generated.
[1671/2547] Compiling C object libcommon.fa.p/hw_nvram_eeprom_at24c.c.o
../hw/nvram/eeprom_at24c.c:59:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
    switch (event) {
            ^~~~~
../hw/nvram/eeprom_at24c.c:59:13: note: add missing switch cases
    switch (event) {
            ^
1 warning generated.
[1739/2547] Compiling C object libcommon.fa.p/hw_sensor_lsm303dlhc_mag.c.o
../hw/sensor/lsm303dlhc_mag.c:419:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
    switch (event) {
            ^~~~~
../hw/sensor/lsm303dlhc_mag.c:419:13: note: add missing switch cases
    switch (event) {
            ^
1 warning generated.
[1908/2547] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx.c.o
../hw/arm/pxa2xx.c:1293:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
    switch (event) {
            ^~~~~
../hw/arm/pxa2xx.c:1293:13: note: add missing switch cases
    switch (event) {
            ^
1 warning generated.
[1998/2547] Compiling C object libqemu-arm-softmmu.fa.p/migration_ram.c.o
../migration/ram.c:1292:31: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
                              migrate_release_ram() &
                              ^~~~~~~~~~~~~~~~~~~~~~~
                                                    &&
../migration/ram.c:1292:31: note: cast one or both operands to int to silence this warning
1 warning generated.
[2055/2547] Linking target tests/bench/qht-bench
ld: warning: -undefined error is deprecated
[2056/2547] Linking target tests/bench/benchmark-crypto-hash
ld: warning: -undefined error is deprecated
[2057/2547] Linking target tests/bench/benchmark-crypto-hmac
ld: warning: -undefined error is deprecated
[2066/2547] Linking target tests/bench/benchmark-crypto-cipher
ld: warning: -undefined error is deprecated
[2242/2547] Linking target qemu-system-arm-unsigned
ld: warning: -undefined error is deprecated
ld: warning: ignoring duplicate libraries: '-lc++', '-lz'
[2255/2547] Linking target tests/unit/check-qstring
ld: warning: -undefined error is deprecated
[2256/2547] Linking target tests/unit/check-qlist
ld: warning: -undefined error is deprecated
[2257/2547] Linking target tests/unit/check-qnull
ld: warning: -undefined error is deprecated
[2259/2547] Linking target tests/unit/check-qnum
ld: warning: -undefined error is deprecated
[2260/2547] Linking target tests/unit/check-qdict
ld: warning: -undefined error is deprecated
[2262/2547] Linking target tests/unit/check-qlit
ld: warning: -undefined error is deprecated
[2265/2547] Linking target tests/unit/check-qobject
ld: warning: -undefined error is deprecated
[2266/2547] Linking target tests/unit/check-block-qdict
ld: warning: -undefined error is deprecated
[2270/2547] Linking target tests/unit/check-qjson
ld: warning: -undefined error is deprecated
[2273/2547] Linking target tests/unit/test-clone-visitor
ld: warning: -undefined error is deprecated
[2276/2547] Linking target tests/unit/test-forward-visitor
ld: warning: -undefined error is deprecated
[2278/2547] Linking target tests/unit/test-qobject-output-visitor
ld: warning: -undefined error is deprecated
[2280/2547] Linking target tests/unit/test-string-output-visitor
ld: warning: -undefined error is deprecated
[2281/2547] Linking target tests/unit/test-bitmap
ld: warning: -undefined error is deprecated
[2284/2547] Linking target tests/unit/test-opts-visitor
ld: warning: -undefined error is deprecated
[2285/2547] Linking target tests/unit/test-string-input-visitor
ld: warning: -undefined error is deprecated
[2288/2547] Linking target tests/unit/test-x86-cpuid
ld: warning: -undefined error is deprecated
[2289/2547] Linking target tests/unit/test-div128
ld: warning: -undefined error is deprecated
[2290/2547] Linking target tests/unit/test-qobject-input-visitor
ld: warning: -undefined error is deprecated
[2291/2547] Linking target tests/unit/test-shift128
ld: warning: -undefined error is deprecated
[2292/2547] Linking target tests/unit/test-visitor-serialization
ld: warning: -undefined error is deprecated
[2300/2547] Linking target tests/unit/test-mul64
ld: warning: -undefined error is deprecated
[2302/2547] Linking target tests/unit/rcutorture
ld: warning: -undefined error is deprecated
[2303/2547] Linking target tests/unit/test-int128
ld: warning: -undefined error is deprecated
[2304/2547] Linking target tests/unit/test-rcu-list
ld: warning: -undefined error is deprecated
[2306/2547] Linking target tests/unit/test-rcu-simpleq
ld: warning: -undefined error is deprecated
[2307/2547] Linking target tests/unit/test-rcu-tailq
ld: warning: -undefined error is deprecated
[2308/2547] Linking target tests/unit/test-rcu-slist
ld: warning: -undefined error is deprecated
[2311/2547] Linking target tests/unit/test-bitops
ld: warning: -undefined error is deprecated
[2313/2547] Linking target tests/unit/test-qht
ld: warning: -undefined error is deprecated
[2315/2547] Linking target tests/unit/test-bitcnt
ld: warning: -undefined error is deprecated
[2316/2547] Linking target tests/unit/test-qdist
ld: warning: -undefined error is deprecated
[2321/2547] Linking target tests/unit/check-qom-interface
ld: warning: -undefined error is deprecated
[2322/2547] Linking target tests/unit/test-qgraph
ld: warning: -undefined error is deprecated
[2323/2547] Linking target tests/fp/fp-test-log2
ld: warning: -undefined error is deprecated
[2326/2547] Linking target tests/fp/fp-bench
ld: warning: -undefined error is deprecated
[2327/2547] Linking target tests/fp/fp-test
ld: warning: -undefined error is deprecated
[2331/2547] Linking target tests/unit/test-uuid
ld: warning: -undefined error is deprecated
[2332/2547] Linking target tests/unit/test-cutils
ld: warning: -undefined error is deprecated
[2333/2547] Linking target tests/unit/test-logging
ld: warning: -undefined error is deprecated
[2338/2547] Linking target tests/unit/test-qapi-util
ld: warning: -undefined error is deprecated
[2343/2547] Linking target tests/unit/check-qom-proplist
ld: warning: -undefined error is deprecated
[2344/2547] Linking target tests/unit/ptimer-test
ld: warning: -undefined error is deprecated
[2345/2547] Linking target tests/unit/test-qemu-opts
ld: warning: -undefined error is deprecated
[2346/2547] Linking target tests/unit/test-qmp-event
ld: warning: -undefined error is deprecated
[2347/2547] Linking target tests/unit/test-keyval
ld: warning: -undefined error is deprecated
[2350/2547] Linking target tests/unit/test-coroutine
ld: warning: -undefined error is deprecated
[2358/2547] Linking target tests/unit/test-aio-multithread
ld: warning: -undefined error is deprecated
[2361/2547] Linking target tests/unit/test-smp-parse
ld: warning: -undefined error is deprecated
[2363/2547] Linking target tests/unit/test-aio
ld: warning: -undefined error is deprecated
[2368/2547] Linking target tests/unit/test-thread-pool
ld: warning: -undefined error is deprecated
[2372/2547] Linking target tests/unit/test-throttle
ld: warning: -undefined error is deprecated
[2378/2547] Linking target tests/unit/test-bdrv-graph-mod
ld: warning: -undefined error is deprecated
[2379/2547] Linking target tests/unit/test-hbitmap
ld: warning: -undefined error is deprecated
[2382/2547] Linking target tests/unit/test-blockjob
ld: warning: -undefined error is deprecated
[2383/2547] Linking target tests/unit/test-blockjob-txn
ld: warning: -undefined error is deprecated
[2384/2547] Linking target tests/unit/test-crypto-hash
ld: warning: -undefined error is deprecated
[2386/2547] Linking target tests/unit/test-crypto-hmac
ld: warning: -undefined error is deprecated
[2388/2547] Linking target tests/unit/test-authz-simple
ld: warning: -undefined error is deprecated
[2389/2547] Linking target tests/unit/test-crypto-cipher
ld: warning: -undefined error is deprecated
[2392/2547] Linking target tests/unit/test-crypto-secret
ld: warning: -undefined error is deprecated
[2394/2547] Linking target tests/unit/test-block-backend
ld: warning: -undefined error is deprecated
[2399/2547] Linking target tests/unit/test-authz-list
ld: warning: -undefined error is deprecated
[2400/2547] Linking target tests/unit/test-write-threshold
ld: warning: -undefined error is deprecated
[2402/2547] Linking target tests/unit/test-bdrv-drain
ld: warning: -undefined error is deprecated
[2403/2547] Linking target tests/unit/test-block-iothread
ld: warning: -undefined error is deprecated
[2404/2547] Linking target tests/unit/test-io-task
ld: warning: -undefined error is deprecated
[2405/2547] Linking target tests/unit/test-authz-listfile
ld: warning: -undefined error is deprecated
[2414/2547] Linking target tests/unit/test-io-channel-socket
ld: warning: -undefined error is deprecated
[2416/2547] Linking target tests/unit/test-io-channel-file
ld: warning: -undefined error is deprecated
[2418/2547] Linking target tests/unit/test-io-channel-command
ld: warning: -undefined error is deprecated
[2420/2547] Linking target tests/unit/test-io-channel-buffer
ld: warning: -undefined error is deprecated
[2421/2547] Linking target tests/unit/test-crypto-ivgen
ld: warning: -undefined error is deprecated
[2425/2547] Linking target tests/unit/test-crypto-afsplit
ld: warning: -undefined error is deprecated
[2427/2547] Linking target tests/unit/test-crypto-block
ld: warning: -undefined error is deprecated
[2431/2547] Linking target tests/unit/test-xbzrle
ld: warning: -undefined error is deprecated
[2433/2547] Linking target tests/unit/test-timed-average
ld: warning: -undefined error is deprecated
[2434/2547] Linking target tests/unit/test-iov
ld: warning: -undefined error is deprecated
[2435/2547] Linking target tests/unit/test-base64
ld: warning: -undefined error is deprecated
[2437/2547] Linking target tests/unit/test-bufferiszero
ld: warning: -undefined error is deprecated
[2442/2547] Linking target tests/unit/test-image-locking
ld: warning: -undefined error is deprecated
[2448/2547] Linking target tests/unit/test-replication
ld: warning: -undefined error is deprecated
[2449/2547] Linking target tests/unit/test-yank
ld: warning: -undefined error is deprecated
[2450/2547] Linking target tests/qtest/cmsdk-apb-dualtimer-test
ld: warning: -undefined error is deprecated
[2452/2547] Linking target tests/qtest/cmsdk-apb-timer-test
ld: warning: -undefined error is deprecated
[2453/2547] Linking target tests/unit/test-qdev-global-props
ld: warning: -undefined error is deprecated
[2454/2547] Linking target tests/qtest/sse-timer-test
ld: warning: -undefined error is deprecated
[2455/2547] Linking target tests/unit/test-util-sockets
ld: warning: -undefined error is deprecated
[2457/2547] Linking target tests/unit/test-qmp-cmds
ld: warning: -undefined error is deprecated
[2462/2547] Linking target tests/qtest/cmsdk-apb-watchdog-test
ld: warning: -undefined error is deprecated
[2464/2547] Linking target tests/qtest/pflash-cfi02-test
ld: warning: -undefined error is deprecated
[2465/2547] Linking target tests/qtest/aspeed_smc-test
ld: warning: -undefined error is deprecated
[2467/2547] Linking target tests/qtest/aspeed_hace-test
ld: warning: -undefined error is deprecated
[2469/2547] Linking target tests/unit/test-vmstate
ld: warning: -undefined error is deprecated
[2472/2547] Linking target tests/qtest/npcm7xx_adc-test
ld: warning: -undefined error is deprecated
[2473/2547] Linking target tests/unit/test-char
ld: warning: -undefined error is deprecated
[2474/2547] Linking target tests/qtest/npcm7xx_gpio-test
ld: warning: -undefined error is deprecated
[2478/2547] Linking target tests/qtest/npcm7xx_pwm-test
ld: warning: -undefined error is deprecated
[2479/2547] Linking target tests/qtest/npcm7xx_rng-test
ld: warning: -undefined error is deprecated
[2483/2547] Linking target tests/qtest/boot-serial-test
ld: warning: -undefined error is deprecated
[2484/2547] Linking target tests/qtest/npcm7xx_watchdog_timer-test
ld: warning: -undefined error is deprecated
[2485/2547] Linking target tests/qtest/npcm7xx_smbus-test
ld: warning: -undefined error is deprecated
[2486/2547] Linking target tests/qtest/hexloader-test
ld: warning: -undefined error is deprecated
[2490/2547] Linking target tests/qtest/fuzz-megasas-test
ld: warning: -undefined error is deprecated
[2492/2547] Linking target tests/qtest/npcm7xx_timer-test
ld: warning: -undefined error is deprecated
[2495/2547] Linking target tests/qtest/fuzz-virtio-scsi-test
ld: warning: -undefined error is deprecated
[2496/2547] Linking target tests/qtest/fuzz-lsi53c895a-test
ld: warning: -undefined error is deprecated
[2498/2547] Linking target tests/qtest/fuzz-sdcard-test
ld: warning: -undefined error is deprecated
[2502/2547] Linking target tests/qtest/microbit-test
ld: warning: -undefined error is deprecated
[2503/2547] Linking target tests/qtest/cdrom-test
ld: warning: -undefined error is deprecated
[2504/2547] Linking target tests/qtest/arm-cpu-features
ld: warning: -undefined error is deprecated
[2505/2547] Linking target tests/qtest/machine-none-test
ld: warning: -undefined error is deprecated
[2510/2547] Linking target tests/qtest/device-introspect-test
ld: warning: -undefined error is deprecated
[2511/2547] Linking target tests/qtest/test-arm-mptimer
ld: warning: -undefined error is deprecated
[2515/2547] Linking target tests/qtest/qmp-test
ld: warning: -undefined error is deprecated
[2516/2547] Linking target tests/qtest/qmp-cmd-test
ld: warning: -undefined error is deprecated
[2517/2547] Linking target tests/qtest/qom-test
ld: warning: -undefined error is deprecated
[2518/2547] Linking target tests/qtest/test-hmp
ld: warning: -undefined error is deprecated
[2547/2547] Linking target tests/qtest/qos-test
ld: warning: -undefined error is deprecated
laris commented 7 months ago

I tried to reduce the backed simulator but still cannot compile picsimlab. provide some files as reference.

laris commented 7 months ago

I almost pass and only one error now.

override CXXFLAGS+= -D_LIBCPP_HAS_NO_OFF_T_FUNCTIONS
override CXXFLAGS+= -D_DARWIN_C_SOURCE

lib/rcontrol.cc:132:13: error: value of type '__bind<int &, sockaddr *, unsigned long>' is not contextually convertible to 'bool'
        if (bind(listenfd, (sockaddr*)&serv, sizeof(serv))) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lcgamboa commented 7 months ago

Try to replace: if (bind(listenfd, (sockaddr*)&serv, sizeof(serv))) { with: if (bind(listenfd, (sockaddr*)&serv, sizeof(serv)) != 0) {

laris commented 7 months ago

I update two bind to (::bind(listenfd, (sockaddr*)&serv, sizeof(serv))) and fixed.

laris commented 7 months ago

I got SEGFAULT :) Maybe need other steps

PICSimLab: Version "0.9.1 231112 DARWIN native"
PICSimLab: Command Line: ./picsimlab --help 
PICSimLab Caught SIGSEGV: Segmentation Fault
laris commented 7 months ago

looks like works now after add OBJS+= boards/bridge_gpsim.o

laris commented 7 months ago
PICSimLab: Version "0.9.1 231112 DARWIN native"
PICSimLab: Command Line: ./picsimlab 
PICSimLab: Error closing PICSimLab in last time! 
Using default mode.
 Erro log file: /Users/user/Library/Application Support/picsimlab/picsimlab_error1.txt
 If the problem persists, please consider opening an issue on github..PICSimLab: Load Config from file "/Users/user/Library/Application Support/picsimlab/picsimlab_1.ini"
PICSimLab: Window position x=384 y=411
PICSimLab: Window scale  1.03 
PICSimLab: Using board "Arduino Uno"
PICSimLab: Instance number 1
PICSimLab: Opening "/Users/laris/Library/Application Support/picsimlab/mdump_Arduino_Uno_atmega328p_1.hex"
PICSimLab: Error on Port Open /dev/tnt2! 
/dev/tnt2: No such file or directory
12:42:49 AM: Debug: 2 threads were not terminated by the application.
PICSimLab: Debug On=1  Type=GDB Port=1235
avr_gdb_init listening on port 1235
PICSimLab: Remote Control Port 5001
Spare parts: parts[00] (Step Motor) created 
Spare parts: parts[01] (Text Box) created 
Spare parts: parts[02] (IO Virtual Term) created 
laris commented 7 months ago

Is it possible to separate the backend simulator/emulator when compile the full package? · Issue #98 · lcgamboa/picsimlab

https://github.com/laris/picsimlab

forked version, only provide simavr backend and AVR boards

OBJS+= boards/bsim_simavr.o # simavr backend OBJS+= boards/board_Arduino_Mega.o OBJS+= boards/board_Arduino_Nano.o OBJS+= boards/board_Arduino_Uno.o OBJS+= boards/board_Franzininho_DIY.o