- --
Viewing Issue Advanced Details
[ Jump to Notes ]
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
07835 | Compiling | Major | Always | Jan 3, 2021, 15:38 | Jan 14, 2021, 10:50 |
Tester | bbegin | View Status | Public | Platform | MAME (Self-compiled) |
Assigned To | Resolution | Invalid report | OS | Linux (32-bit) | |
Status [?] | Closed | Driver | |||
Version | 0.227 | Fixed in Version | Build | 32-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 07835: [Linux] [Raspberry Pi 4] Linking errors with 0.227 (previous versions OK) | ||||
Description |
All the source files build successfully. However, I get multiple errors at the Linking phase. [Tafoid] Due to length of lines and how it is malforming the bug display, this is been reuploaded uploaded as a .txt file |
||||
Steps To Reproduce |
On a Raspberry Pi 4 with Raspberry Pi OS Lite (Buster)/SDL 2.0.10 (without X11), I use the following build command-line : make ARCHOPTS="-mcpu=cortex-a72 -mtune=cortex-a72 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations -fprefetch-loop-arrays -fexpensive-optimizations" NO_X11=1 NOWERROR=1 NO_USE_XINPUT=1 NO_USE_XINPUT_WII_LIGHTGUN_HACK=1 NO_OPENGL=1 USE_QTDEBUG=0 DEBUG=0 REGENIE=1 NO_BGFX=1 FORCE_DRC_C_BACKEND=1 |
||||
Additional Information |
# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/8/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Raspbian 8.3.0-6+rpi1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1) # uname -a Linux arcade 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux |
||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | |||||
Attached Files
|
Pi4_0227 Compile Error.txt (7,973 bytes) Jan 3, 2021, 16:08 Uploaded by Tafoid Pi4_02227 Compile Error.txt [Show Content] [Hide Content][...] Done. Generated 382/382 projects. Linking mame... /usr/bin/ld: ../../../../../scripts/mame_mame/libces.a(galgames.o): in function `void address_space::cache<1, 0, (endianness_t)1>(emu::detail::memory_access_cache<1, 0, (endianness_t)1>&)':galgames.cpp:(.text._ZN13address_space5cacheILi1ELi0EL12endianness_t1EEEvRN3emu6detail19memory_access_cacheIXT_EXT0_EXT1_EEE[_ZN13address_space5cacheILi1ELi0EL12endianness_t1EEEvRN3emu6detail19memory_access_cacheIXT_EXT0_EXT1_EEE]+0x88): undefined reference to `address_space::add_change_notifier(std::function<void (read_or_write)>)' /usr/bin/ld: ../../../../../scripts/mame_mame/libdynax.a(dynax_blitter_rev2.o): in function `void address_space::cache<0, 0, (endianness_t)0>(emu::detail::memory_access_cache<0, 0, (endianness_t)0>&)':dynax_blitter_rev2.cpp:(.text._ZN13address_space5cacheILi0ELi0EL12endianness_t0EEEvRN3emu6detail19memory_access_cacheIXT_EXT0_EXT1_EEE[_ZN13address_space5cacheILi0ELi0EL12endianness_t0EEEvRN3emu6detail19memory_access_cacheIXT_EXT0_EXT1_EEE]+0x88): undefined reference to `address_space::add_change_notifier(std::function<void (read_or_write)>)' /usr/bin/ld: ../../../../../scripts/mame_mame/libskeleton.a(mindset.o): in function `mindset_state::machine_start()':mindset.cpp:(.text+0x3198): undefined reference to `address_space::add_change_notifier(std::function<void (read_or_write)>)' /usr/bin/ld: ../../../../../scripts/mame_mame/libtrs.a(6883sam.o): in function `sam6883_device::device_start()':6883sam.cpp:(.text+0x162c): undefined reference to `address_space::add_change_notifier(std::function<void (read_or_write)>)' /usr/bin/ld: 6883sam.cpp:(.text+0x16e8): undefined reference to `address_space::add_change_notifier(std::function<void (read_or_write)>)' /usr/bin/ld: ../../../../../scripts/mame_mame/libtrs.a(6883sam.o):6883sam.cpp:(.text+0x18a8): more undefined references to `address_space::add_change_notifier(std::function<void (read_or_write)>)' follow /usr/bin/ld: ../../../../../scripts/src/libemu.a(points.o): in function `debug_watchpoint::~debug_watchpoint()':points.cpp:(.text+0x534): undefined reference to `address_space::remove_change_notifier(int)' /usr/bin/ld: ../../../../../scripts/src/libemu.a(points.o): in function `debug_watchpoint::debug_watchpoint(device_debug*, symbol_table&, int, address_space&, read_or_write, unsigned int, unsigned int, char const*, char const*)':points.cpp:(.text+0x1e88): undefined reference to `address_space::add_change_notifier(std::function<void (read_or_write)>)' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem.o): in function `memory_manager::initialize()':emumem.cpp:(.text+0x3d94): undefined reference to `memory_manager::allocate(device_memory_interface&)' /usr/bin/ld: emumem.cpp:(.text+0x3dc4): undefined reference to `address_space::prepare_map()' /usr/bin/ld: emumem.cpp:(.text+0x3e08): undefined reference to `address_space::populate_from_map(address_map*)' /usr/bin/ld: emumem.cpp:(.text+0x3e90): undefined reference to `memory_manager::allocate(device_memory_interface&)' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_mview.o): in function `memory_view_entry_specific<1, 3, -3, (endianness_t)1>::install_read_tap(unsigned int, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<void (unsigned int, unsigned long long&, unsigned long long)>, memory_passthrough_handler*)':emumem_mview.cpp:(.text._ZN26memory_view_entry_specificILi1ELi3ELin3EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler[_ZN26memory_view_entry_specificILi1ELi3ELin3EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler]+0x248): undefined reference to `address_space::make_mph()' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_mview.o): in function `memory_view_entry_specific<0, 3, -3, (endianness_t)1>::install_read_tap(unsigned int, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<void (unsigned int, unsigned long long&, unsigned long long)>, memory_passthrough_handler*)':emumem_mview.cpp:(.text._ZN26memory_view_entry_specificILi0ELi3ELin3EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler[_ZN26memory_view_entry_specificILi0ELi3ELin3EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler]+0x248): undefined reference to `address_space::make_mph()' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_mview.o): in function `memory_view_entry_specific<1, 3, -3, (endianness_t)0>::install_read_tap(unsigned int, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<void (unsigned int, unsigned long long&, unsigned long long)>, memory_passthrough_handler*)':emumem_mview.cpp:(.text._ZN26memory_view_entry_specificILi1ELi3ELin3EL12endianness_t0EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler[_ZN26memory_view_entry_specificILi1ELi3ELin3EL12endianness_t0EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler]+0x248): undefined reference to `address_space::make_mph()' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_mview.o): in function `memory_view_entry_specific<0, 3, -3, (endianness_t)0>::install_read_tap(unsigned int, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<void (unsigned int, unsigned long long&, unsigned long long)>, memory_passthrough_handler*)':emumem_mview.cpp:(.text._ZN26memory_view_entry_specificILi0ELi3ELin3EL12endianness_t0EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler[_ZN26memory_view_entry_specificILi0ELi3ELin3EL12endianness_t0EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler]+0x248): undefined reference to `address_space::make_mph()' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_mview.o): in function `memory_view_entry_specific<1, 3, -2, (endianness_t)1>::install_read_tap(unsigned int, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<void (unsigned int, unsigned long long&, unsigned long long)>, memory_passthrough_handler*)':emumem_mview.cpp:(.text._ZN26memory_view_entry_specificILi1ELi3ELin2EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler[_ZN26memory_view_entry_specificILi1ELi3ELin2EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler]+0x250): undefined reference to `address_space::make_mph()' /usr/bin/ld: ../../../../../scripts/src/libemu.a(emumem_mview.o):emumem_mview.cpp:(.text._ZN26memory_view_entry_specificILi0ELi3ELin2EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler[_ZN26memory_view_entry_specificILi0ELi3ELin2EL12endianness_t1EE16install_read_tapEjjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvjRyyEEP26memory_passthrough_handler]+0x250): more undefined references to `address_space::make_mph()' follow collect2: error: ld returned 1 exit status make[2]: *** [mame.make:269: ../../../../../mame] Error 1 make[1]: *** [Makefile:1156: mame] Error 2 make: *** [makefile:1389: linux] Error 2 | ||||
Relationships
There are no relationship linked to this issue. |
Notes
5
No.18324
Fujix Administrator
Jan 4, 2021, 07:37
|
Do we take care of Raspberry Pi? |
---|---|
No.18326
bbegin Tester
Jan 5, 2021, 07:53
|
Resolved. After à close examination, an object file was incomplete, explaining the linking error. Sorry about that, my apologies. |
No.18327
ozfalcon Tester
Jan 5, 2021, 08:26
|
Fujix >>> Do we take care of Raspberry Pi? "makefile" PLATFORM := arm OS := linux |
No.18328
Robbbert Senior Tester
Jan 5, 2021, 11:31
|
Thanks for letting us know that you've fixed it. Closed. |
No.18375
Fujix Administrator
Jan 14, 2021, 10:50
|
Thank you. |