- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
07882 | Compiling | Critical (emulator) | Always | Feb 24, 2021, 19:04 | Feb 25, 2021, 00:28 |
Tester | MrGW | View Status | Public | Platform | MAME (Self-compiled) |
Assigned To | Resolution | No change required | OS | Linux (32-bit) | |
Status [?] | Closed | Driver | |||
Version | 0.229 | Fixed in Version | Build | 32-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 07882: N/A: Compiler error on Raspberry Pi | ||||
Description | Attached in a file below due to line size issues | ||||
Steps To Reproduce |
Download Mame source: git clone -b mame0229 --depth 1 https://github.com/mamedev/mame.git mame0229 make TOOLS=1 NOWERROR=1 Wait a while -- error will show up at the end. |
||||
Additional Information |
gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 GNU ld (GNU Binutils for Raspbian) 2.31.1 |
||||
Github Commit | |||||
Flags | 32-bit specific | ||||
Regression Version | |||||
Affected Sets / Systems | N/A | ||||
Attached Files
|
compile.txt (3,766 bytes) Feb 25, 2021, 00:14 Uploaded by Tafoid Compile Error 0.229 for rpi [Show Content] [Hide Content]Getting a compile error when it's linking 'mame' (at the end). /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_aspace.o): in function `address_space_specific<1, 1, 3, (endianness_t)0>::install_readwrite_handler(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, emu::device_delegate<unsigned char (address_space&)>, emu::device_delegate<void (address_space&, unsigned char)>, unsigned long long, int)': emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE25install_readwrite_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEENS3_IFvS5_hEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE25install_readwrite_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEENS3_IFvS5_hEEEyi]+0x3ec): undefined reference to `.LC27' /usr/bin/ld: emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE25install_readwrite_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEENS3_IFvS5_hEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE25install_readwrite_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEENS3_IFvS5_hEEEyi]+0x400): undefined reference to `.LC28' /usr/bin/ld: emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE25install_readwrite_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEENS3_IFvS5_hEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE25install_readwrite_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEENS3_IFvS5_hEEEyi]+0x404): undefined reference to `.LC26' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_aspace.o): in function `address_space_specific<1, 1, 3, (endianness_t)0>::install_write_handler(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, emu::device_delegate<void (address_space&, unsigned char)>, unsigned long long, int)': emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE21install_write_handlerEjjjjjN3emu15device_delegateIFvR13address_spacehEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE21install_write_handlerEjjjjjN3emu15device_delegateIFvR13address_spacehEEEyi]+0x324): undefined reference to `.LC29' /usr/bin/ld: emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE21install_write_handlerEjjjjjN3emu15device_delegateIFvR13address_spacehEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE21install_write_handlerEjjjjjN3emu15device_delegateIFvR13address_spacehEEEyi]+0x330): undefined reference to `.LC28' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_aspace.o): in function `address_space_specific<1, 1, 3, (endianness_t)0>::install_read_handler(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, emu::device_delegate<unsigned char (address_space&)>, unsigned long long, int)': emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE20install_read_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE20install_read_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEEyi]+0x324): undefined reference to `.LC25' /usr/bin/ld: emumem_aspace.cpp:(.text._ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE20install_read_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEEyi[_ZN22address_space_specificILi1ELi1ELi3EL12endianness_t0EE20install_read_handlerEjjjjjN3emu15device_delegateIFhR13address_spaceEEEyi]+0x32c): undefined reference to `_ZN27handler_entry_read_delegateILi0EL' collect2: error: ld returned 1 exit status make[2]: *** [mame.make:269: ../../../../../mame] Error 1 make[1]: *** [Makefile:106: mame] Error 2 make: *** [makefile:1397: linux] Error 2 | ||||
Relationships
There are no relationship linked to this issue. |
Notes
3
No.18482
Tafoid Administrator
Feb 24, 2021, 19:22
|
related to 07860 ? |
---|---|
No.18483
MrGW Tester
Feb 24, 2021, 20:45
|
I believe it's different. It looks like a linker error during the compile right at the end. |
No.18485
MrGW Tester
Feb 25, 2021, 00:28
|
Quick update. I added this option to a 'useroptions.mak' file and the compile completed without error: LDOPTS = -z muldefs I don't like to use this option since it can lead to some serious issues, but MAME appears to be running OK. Hoping for a proper fix rather than this workaround. Thanks |