Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03415 Compiling Minor Always Aug 31, 2009, 12:43 Jan 6, 2010, 13:54
Tester belegdol View Status Public Platform SDLMAME
Assigned To aaron Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.133u4 Fixed in Version 0.136u1 Build
Fixed in Git Commit Github Pull Request #
Summary 03415: unidasm fails to link when ldplayer is the specified target
Description Due to introduction of unidasm, it is no longer possible to build ldplayer. Linking of unidasm fails, it most likely should not be build at all when TARGET=ldplayer is specifed.

Compiling src/tools/unidasm.c...
Linking unidasm...
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x10): undefined reference to `cpu_disassemble_adsp21xx'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x28): undefined reference to `cpu_disassemble_alpha8201'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x40): undefined reference to `cpu_disassemble_arm'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x58): undefined reference to `cpu_disassemble_arm7arm'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x70): undefined reference to `cpu_disassemble_arm7thumb'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x88): undefined reference to `cpu_disassemble_asap'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa0): undefined reference to `cpu_disassemble_avr8'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xb8): undefined reference to `cpu_disassemble_ccpu'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xd0): undefined reference to `cpu_disassemble_cdp1802'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xe8): undefined reference to `cpu_disassemble_cop410'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x100): undefined reference to `cpu_disassemble_cop420'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x118): undefined reference to `cpu_disassemble_cop444'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x130): undefined reference to `cpu_disassemble_cp1610'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x148): undefined reference to `cpu_disassemble_cquestsnd'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x160): undefined reference to `cpu_disassemble_cquestrot'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x178): undefined reference to `cpu_disassemble_cquestlin'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x190): undefined reference to `cpu_disassemble_dsp32c'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x1a8): undefined reference to `cpu_disassemble_dsp56k'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x1c0): undefined reference to `cpu_disassemble_hyperstone_generic'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x1d8): undefined reference to `cpu_disassemble_esrip'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x1f0): undefined reference to `cpu_disassemble_f8'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x208): undefined reference to `cpu_disassemble_g65816_generic'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x220): undefined reference to `cpu_disassemble_h6280'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x238): undefined reference to `cpu_disassemble_h8'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x250): undefined reference to `cpu_disassemble_hd6309'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x268): undefined reference to `cpu_disassemble_x86_32'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x280): undefined reference to `cpu_disassemble_i4004'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x298): undefined reference to `cpu_disassemble_i8085'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x2b0): undefined reference to `cpu_disassemble_x86_16'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x2c8): undefined reference to `cpu_disassemble_x86_16'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x2e0): undefined reference to `cpu_disassemble_i960'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x2f8): undefined reference to `cpu_disassemble_jaguargpu'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x310): undefined reference to `cpu_disassemble_jaguardsp'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x328): undefined reference to `cpu_disassemble_x86_16'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x340): undefined reference to `cpu_disassemble_x86_32'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x358): undefined reference to `cpu_disassemble_x86_64'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x370): undefined reference to `cpu_disassemble_konami'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x388): undefined reference to `cpu_disassemble_lh5801'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x3a0): undefined reference to `cpu_disassemble_lr35902'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x3b8): undefined reference to `cpu_disassemble_m37710_generic'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x3d0): undefined reference to `cpu_disassemble_m6502'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x3e8): undefined reference to `cpu_disassemble_m65sc02'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x400): undefined reference to `cpu_disassemble_m65c02'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x418): undefined reference to `cpu_disassemble_m65ce02'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x430): undefined reference to `cpu_disassemble_m6510'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x448): undefined reference to `cpu_disassemble_deco16'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x460): undefined reference to `cpu_disassemble_m4510'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x478): undefined reference to `cpu_disassemble_m6800'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x490): undefined reference to `cpu_disassemble_m6801'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x4a8): undefined reference to `cpu_disassemble_m6802'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x4c0): undefined reference to `cpu_disassemble_m6803'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x4d8): undefined reference to `cpu_disassemble_hd63701'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x4f0): undefined reference to `cpu_disassemble_nsc8105'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x508): undefined reference to `cpu_disassemble_m68000'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x520): undefined reference to `cpu_disassemble_m68008'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x538): undefined reference to `cpu_disassemble_m68010'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x550): undefined reference to `cpu_disassemble_m68020'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x568): undefined reference to `cpu_disassemble_m68030'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x580): undefined reference to `cpu_disassemble_m68040'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x598): undefined reference to `cpu_disassemble_m6805'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x5b0): undefined reference to `cpu_disassemble_m6809'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x5c8): undefined reference to `cpu_disassemble_mb86233'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x5e0): undefined reference to `cpu_disassemble_mb88'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x628): undefined reference to `cpu_disassemble_i8051'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x640): undefined reference to `cpu_disassemble_i8052'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x658): undefined reference to `cpu_disassemble_i80c51'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x670): undefined reference to `cpu_disassemble_i80c52'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x688): undefined reference to `cpu_disassemble_ds5002fp'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x6a0): undefined reference to `cpu_disassemble_minx'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x6b8): undefined reference to `cpu_disassemble_mips3be'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x6d0): undefined reference to `cpu_disassemble_mips3le'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x6e8): undefined reference to `cpu_disassemble_psxcpu_generic'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x700): undefined reference to `cpu_disassemble_r3000be'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x718): undefined reference to `cpu_disassemble_r3000le'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x730): undefined reference to `cpu_disassemble_nec_generic'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x748): undefined reference to `cpu_disassemble_pdp1'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x760): undefined reference to `cpu_disassemble_tx0_64kw'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x778): undefined reference to `cpu_disassemble_tx0_8kw'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x790): undefined reference to `cpu_disassemble_pic16c5x'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x7a8): undefined reference to `cpu_disassemble_powerpc'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x7c0): undefined reference to `cpu_disassemble_rsp'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x7d8): undefined reference to `cpu_disassemble_s2650'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x7f0): undefined reference to `cpu_disassemble_saturn'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x808): undefined reference to `cpu_disassemble_sc61860'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x820): undefined reference to `cpu_disassemble_se3208'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x838): undefined reference to `cpu_disassemble_sh2'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x850): undefined reference to `cpu_disassemble_sh4'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x868): undefined reference to `cpu_disassemble_sharc'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x880): undefined reference to `cpu_disassemble_sm8500'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x898): undefined reference to `cpu_disassemble_spc700'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x8b0): undefined reference to `cpu_disassemble_ssem'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x8c8): undefined reference to `cpu_disassemble_ssp1601'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x8e0): undefined reference to `cpu_disassemble_t11'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x8f8): undefined reference to `cpu_disassemble_tlcs900'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x910): undefined reference to `cpu_disassemble_tms0980'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x928): undefined reference to `cpu_disassemble_tms1000'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x940): undefined reference to `cpu_disassemble_tms1100'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x958): undefined reference to `cpu_disassemble_tms32010'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x970): undefined reference to `cpu_disassemble_tms32025'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x988): undefined reference to `cpu_disassemble_tms32031'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x9a0): undefined reference to `cpu_disassemble_tms32051'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x9b8): undefined reference to `cpu_disassemble_tms34010'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x9d0): undefined reference to `cpu_disassemble_tms34020'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0x9e8): undefined reference to `cpu_disassemble_tms57002'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa00): undefined reference to `cpu_disassemble_tms7000'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa18): undefined reference to `cpu_disassemble_upd7810'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa30): undefined reference to `cpu_disassemble_upd7807'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa48): undefined reference to `cpu_disassemble_upd7801'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa60): undefined reference to `cpu_disassemble_upd78c05'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa78): undefined reference to `cpu_disassemble_v60'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xa90): undefined reference to `cpu_disassemble_v70'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xaa8): undefined reference to `cpu_disassemble_v810'
obj/sdl/ldplayer/tools/unidasm.o:(.rodata+0xac0): undefined reference to `cpu_disassemble_z180'
collect2: ld returned 1 exit status
Steps To Reproduce make PTR64=1 TARGET=ldplayer SYMBOLS=1 OPTIMIZE=2 'OPT_FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DINI_PATH="\"/etc/mame;\""'
Additional Information
Github Commit
Flags
Regression Version 0.133u4
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.04886
Tafoid
Administrator
Aug 31, 2009, 13:30
edited on: Aug 31, 2009, 15:57
Confirmed on baseline Windows build.

While it crashes out trying to link unidasm.c, it build the target "LDPLAYER.EXE" fine. I also tested a tiny.mak [SUBTARGET=tiny] and it does the same thing,. successfully building "MAMETINY.EXE" but not linking unidasm.c
User avatar
No.04930
belegdol
Tester
Sep 10, 2009, 10:58
Yeah, the summary is a bit inaccurate - it's unidasm that does not link with tiny or ldplayer targets. And btw, it's still present in 0.133u5.
User avatar
No.05078
belegdol
Tester
Oct 28, 2009, 19:07
Let me specify what problem it causes. I'm maintaining SDLMAME RPM packages, and these used to include ldplayer. The thing is that in case of any error, the RPM build process would stop upon any error, so it does not really help that unidasm could be built successfully afterwards.