Topic Options
#63416 - 14/07/10 03:33 AM Error compiling (SDL)MAME on x86 ubuntu 10.4
franciscohs Offline
Member

Registered: 10/07/08
Posts: 36
I'm not sure if this is caused by a missing package or something, but it doesn't seem so. I tried this with mainline MAME 0.137 and 0.138 with the same problem. I can compile this on another 64bit architecture and same version of Ubuntu. (and same GCC package version, but different architecture)
Any ideas?

mame@MAME:~/mame0138$ make
Compiling src/emu/cpu/tms57002/tms57002.c...
{standard input}: Assembler messages:
{standard input}:1771: Warning: end of file not at end of a line; newline inserted
{standard input}:3601: Error: suffix or operands invalid for `xor'
{standard input}:3601: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <[url=file:///usr/share/doc/gcc-4.4/README.Bugs][url=file:///usr/share/doc/gcc-4.4/README.Bugs][url=file:///usr/share/doc/gcc-4.4/README.Bugs]file:///usr/share/doc/gcc-4.4/README.Bugs[/url][/url][/url]> for instructions.
make: *** [obj/sdl/mame/emu/cpu/tms57002/tms57002.o] Error 1

Top
#63508 - 20/07/10 05:55 PM Re: Error compiling (SDL)MAME on x86 ubuntu 10.4 [Re: franciscohs]
wallyweek Offline
Senior Member

Registered: 19/03/08
Posts: 108
Loc: Italy

Which arch are you trying to build for?
_________________________
Master of Sarcastic Wit
Linux User #182984

Top
#63609 - 29/07/10 11:29 PM Re: Error compiling (SDL)MAME on x86 ubuntu 10.4 [Re: wallyweek]
Belegdol Offline
Senior Member

Registered: 06/03/04
Posts: 490
Loc: Poland
I just got similar errors when trying to update the Fedora package to 0.139, on both rawhide and Fedora 13. u4 built fine, was there a change in src/emu/cpu/tms57002/tms57002.c since then?

Top
#63611 - 30/07/10 12:20 AM Re: Error compiling (SDL)MAME on x86 ubuntu 10.4 [Re: Belegdol]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
That error means either your GCC is broken or you have bad RAM. Latest builds beautifully for me on up2date Fedora 13 x64.

Someone might actually tell me if the file indicated is missing a CR/LF at the end too.

Top
#63615 - 30/07/10 07:56 AM Re: Error compiling (SDL)MAME on x86 ubuntu 10.4 [Re: R. Belmont]
qmc2 Offline
Senior Member

Registered: 29/05/08
Posts: 391
Loc: Germany
FWIW, I've had no problems with 0.139 on openSUSE 11.2 x64.

Top
#63616 - 30/07/10 08:27 AM Re: Error compiling (SDL)MAME on x86 ubuntu 10.4 [Re: qmc2]
Malice Offline
Member

Registered: 02/06/01
Posts: 61
I was recently building MAME 0.138 with the Intel C++ compiler on Windows and got an interesting message that maybe relevant.

Compiling src/emu/cpu/tms57002/tms57002.c...
tms57002.c
An internal threshold was exceeded for routine ?cpu_execute_tms57002@@YAHPEAVrun
ning_device@@H@Z and optimization level may be reduced. See http://software.intel.com/en-us/articles/internal-threshold-was-exceeded for more information and ad
vice.

Top
#63621 - 30/07/10 11:46 AM Re: Error compiling (SDL)MAME on x86 ubuntu 10.4 [Re: Malice]
Belegdol Offline
Senior Member

Registered: 06/03/04
Posts: 490
Loc: Poland
Well, I requeued the builds and now they went fine. Strange.

Top


Moderator:  R. Belmont 
Who's Online
1 registered (Micko), 14 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4015 Members
9 Forums
6214 Topics
63592 Posts

Max Online: 162 @ 01/05/07 03:28 AM