Closed sergiobenrocha2 closed 9 years ago
g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared -Wl,--no-undefined -Wl,--version-script=src/libretro/link.T -o desmume_libretro.so src/armcpu.o src/arm_instructions.o src/bios.o src/cp15.o src/common.o src/emufile.o src/encrypt.o src/FIFO.o src/firmware.o src/GPU.o src/mc.o src/path.o src/readwrite.o src/wifi.o src/MMU.o src/NDSSystem.o src/render3D.o src/rtc.o src/saves.o src/slot1.o src/slot2.o src/SPU.o src/matrix.o src/gfx3d.o src/thumb_instructions.o src/utils/advanscene.o src/utils/datetime.o src/utils/emufat.o src/utils/fsnitro.o src/utils/xstring.o src/utils/decrypt/crc.o src/utils/decrypt/decrypt.o src/utils/decrypt/header.o src/utils/task.o src/utils/vfat.o src/utils/libfat/cache.o src/utils/libfat/directory.o src/utils/libfat/disc.o src/utils/libfat/fatdir.o src/utils/libfat/fatfile.o src/utils/libfat/filetime.o src/utils/libfat/file_allocation_table.o src/utils/libfat/libfat.o src/utils/libfat/libfat_public_api.o src/utils/libfat/lock.o src/utils/libfat/partition.o src/utils/tinyxml/tinystr.o src/utils/tinyxml/tinyxml.o src/utils/tinyxml/tinyxmlerror.o src/utils/tinyxml/tinyxmlparser.o src/addons/slot2_auto.o src/addons/slot2_mpcf.o src/addons/slot2_paddle.o src/addons/slot2_gbagame.o src/addons/slot2_none.o src/addons/slot2_rumblepak.o src/addons/slot2_guitarGrip.o src/addons/slot2_expMemory.o src/addons/slot2_piano.o src/addons/slot2_passme.o src/addons/slot1_none.o src/addons/slot1_r4.o src/addons/slot1comp_mc.o src/addons/slot1comp_rom.o src/addons/slot1comp_protocol.o src/addons/slot1_retail_mcrom.o src/addons/slot1_retail_mcrom_debug.o src/addons/slot1_retail_nand.o src/addons/slot1_retail_auto.o src/cheatSystem.o src/texcache.o src/rasterize.o src/mic.o src/driver.o src/libretro/libretro.o src/libretro/scrc32.o src/arm_jit.o src/utils/AsmJit/core/assembler.o src/utils/AsmJit/core/assert.o src/utils/AsmJit/core/buffer.o src/utils/AsmJit/core/compiler.o src/utils/AsmJit/core/compilercontext.o src/utils/AsmJit/core/compilerfunc.o src/utils/AsmJit/core/compileritem.o src/utils/AsmJit/core/context.o src/utils/AsmJit/core/cpuinfo.o src/utils/AsmJit/core/defs.o src/utils/AsmJit/core/func.o src/utils/AsmJit/core/logger.o src/utils/AsmJit/core/memorymanager.o src/utils/AsmJit/core/memorymarker.o src/utils/AsmJit/core/operand.o src/utils/AsmJit/core/stringbuilder.o src/utils/AsmJit/core/stringutil.o src/utils/AsmJit/core/virtualmemory.o src/utils/AsmJit/core/zonememory.o src/utils/AsmJit/x86/x86assembler.o src/utils/AsmJit/x86/x86compiler.o src/utils/AsmJit/x86/x86compilercontext.o src/utils/AsmJit/x86/x86compilerfunc.o src/utils/AsmJit/x86/x86compileritem.o src/utils/AsmJit/x86/x86cpuinfo.o src/utils/AsmJit/x86/x86defs.o src/utils/AsmJit/x86/x86func.o src/utils/AsmJit/x86/x86operand.o src/utils/AsmJit/x86/x86util.o src/utils/ConvertUTF.o src/fs-linux.o src/ROMReader.o src/utils/dlditool.o src/version.o -lpthread src/armcpu.o: In function `_MMU_accesstime<0, (MMU_ACCESS_TYPE)0u, 32, (MMU_ACCESS_DIRECTION)0u, true>': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: undefined reference to `DebugEventData' src/armcpu.o: In function `HandleDebugEvent(EDEBUG_EVENT)': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/debug.h:210: undefined reference to `HandleDebugEvent_Read()' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/debug.h:211: undefined reference to `HandleDebugEvent_Write()' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/debug.h:212: undefined reference to `HandleDebugEvent_Execute()' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/debug.h:213: undefined reference to `HandleDebugEvent_ACL_Exception()' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/debug.h:214: undefined reference to `HandleDebugEvent_CacheMiss()' src/arm_instructions.o: In function `_MMU_accesstime<0, (MMU_ACCESS_TYPE)1u, 16, (MMU_ACCESS_DIRECTION)1u, true>': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: undefined reference to `DebugEventData' src/arm_instructions.o: In function `_MMU_accesstime<0, (MMU_ACCESS_TYPE)1u, 32, (MMU_ACCESS_DIRECTION)1u, true>': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' src/arm_instructions.o:/home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: more undefined references to `DebugEventData' follow src/NDSSystem.o: In function `NDS_exec(int)': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/NDSSystem.cpp:1935: undefined reference to `DEBUG_Notify' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/NDSSystem.cpp:1935: undefined reference to `DebugNotify::NextFrame()' src/NDSSystem.o: In function `NDS_FakeBoot()': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/NDSSystem.cpp:2219: undefined reference to `DEBUG_reset()' src/thumb_instructions.o: In function `_MMU_accesstime<0, (MMU_ACCESS_TYPE)1u, 32, (MMU_ACCESS_DIRECTION)0u, true>': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: undefined reference to `DebugEventData' src/thumb_instructions.o: In function `_MMU_accesstime<0, (MMU_ACCESS_TYPE)1u, 32, (MMU_ACCESS_DIRECTION)1u, true>': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: undefined reference to `DebugEventData' src/thumb_instructions.o: In function `_MMU_accesstime<0, (MMU_ACCESS_TYPE)1u, 16, (MMU_ACCESS_DIRECTION)1u, true>': /home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:322: undefined reference to `DebugEventData' src/thumb_instructions.o:/home/sergio/Projects/libretro/desmume/desmume/desmume/src/MMU_timing.h:323: more undefined references to `DebugEventData' follow collect2: error: ld returned 1 exit status
desmume crashing after I load a 7z rom, I need these debug symbols to do a proper back trace.
Fixed, thanks @athairus
desmume crashing after I load a 7z rom, I need these debug symbols to do a proper back trace.