Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06125 Compiling Minor Always Jan 12, 2016, 17:19 Jan 18, 2016, 17:50
Tester aceshigh1 View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Invalid report OS Linux
Status [?] Closed Driver
Version 0.169 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 06125: Unable to compile with USE_QTDEBUG = 0 and no libqt-dev
Description I'm getting several errors in the linking phase of compiling MAME under Ubuntu 15.04 amd64.

There are basically 2 kinds of errors:
1) undefined reference to `__cxa_throw_bad_array_new_length'
2) undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'

It could be:
A) the linker failing because there is no libqt-dev installed;
B) a problem with my installation of GCC4.9.
Steps To Reproduce 1) Make sure libqt*-dev is not installed
2) Edit makefile uncommenting and setting USE_QTDEBUG = 0
3) make
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
txt file icon err.txt (6,176 bytes) Jan 12, 2016, 17:19 Uploaded by aceshigh1
full stderr
[Show Content]
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.12346
Robbbert
Senior Tester
Jan 15, 2016, 12:11
edited on: Jan 15, 2016, 12:12
You need GCC 5.3.0 at least.

Also, this kind of problem should be reported at the SDLMAME forum, rather than here.
User avatar
No.12347
mahlemiut
Developer
Jan 15, 2016, 20:58
No, GCC 5.3 is only required for mingw (needs Posix threading, I believe). Non-Windows should work with GCC 4.9 or later. (I use 5.1.1)
User avatar
No.12352
aceshigh1
Tester
Jan 18, 2016, 08:11
Actually, upgrading GCC to 5.3 solved the issue so the problem was letter B: my bad.
Thanks, Robbbert and sorry for the inconvenience.
User avatar
No.12355
NekoEd
Senior Tester
Jan 18, 2016, 17:50
Issue resolved by reporter as local toolchain issue. Closing as invalid.