Previous Thread
Next Thread
Print Thread
Joined: Mar 2008
Posts: 154
Senior Member
OP Offline
Senior Member
Joined: Mar 2008
Posts: 154

amd64 build of m68000 driver code fails on forthcoming Ubuntu 14.04 (gcc 4.8.2):

Code:
Generating M68K source files...
obj/sdl64/build/m68kmake obj/sdl64/emu/cpu/m68000 src/emu/cpu/m68000/m68k_in.c
In src/emu/cpu/m68000/m68k_in.c, near or on line 2718:
	Unknown M68KMAKE directive [
INT32 ea = M68KMAKE_GET_EA_AY_8;]

(full log here)

On i386 code builds fine. I searched the forum, but I couldn't find anything in previous posts. Am I missing something?

Thanks in advance! smile



Master of Sarcastic Wit
Linux User #182984
Joined: Mar 2001
Posts: 17,132
Likes: 163
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,132
Likes: 163
Either you somehow damaged the source tree or they managed to break GCC in some way that doesn't show up in anyone else's 4.8.2. (There is, unfortunately, precedent for the latter).

Joined: Jan 2014
Posts: 3
R
Ryo Offline
Member
Offline
Member
R
Joined: Jan 2014
Posts: 3
Hi,

I've got the same/exact error with
Code:
Modèle de thread: posix
gcc version 4.8.1 (Funtoo 4.8.1-r3) 


Switching to
Code:
Modèle de thread: posix
gcc version 4.6.4 (Funtoo 4.6.4-r2) 


solved the issue.
GCC-4.8.2 isn't available on my toolchain yet.

Full gcc specs avalaible here

Joined: Jan 2014
Posts: 3
R
Ryo Offline
Member
Offline
Member
R
Joined: Jan 2014
Posts: 3
I forgot to mention :

The fail was with sdlmame 0.148_p1 on 64bits arch.
I've just successfully compiled 0.149 with gcc-4.8.1

Joined: Mar 2001
Posts: 17,132
Likes: 163
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,132
Likes: 163
What about 0.152? 0.148 and 0.149 are over a year old.

Joined: Jan 2014
Posts: 3
R
Ryo Offline
Member
Offline
Member
R
Joined: Jan 2014
Posts: 3
hi,

The 0.152 package was not available on my distro.
I made one this morning, it compiled fine.

Joined: Mar 2008
Posts: 154
Senior Member
OP Offline
Senior Member
Joined: Mar 2008
Posts: 154
I've tried several builds, but got always the same error, with 64bit only. Weird.

Source is fine AFAIK, I'll dig this a bit deeper ASAP, I'm even considering switching to 4.7 to see whether 4.8 is broken.



Master of Sarcastic Wit
Linux User #182984
Joined: Mar 2008
Posts: 154
Senior Member
OP Offline
Senior Member
Joined: Mar 2008
Posts: 154

As ludicrous as it sounds, looks like the issue is related to the infamous Win CR/LF. crazy

I agreed with the Debian maintainer to remove any sed black magic from the original source tarball building rules, so I did a

Code:
svn export svn://dspnet.fr/mame/tags/mame0152 mame-0.152


Do you reckon it would be sound to make this the ultimate source tarball building rule instead of mangling the mame052s.exe archive? smile

Thanks in advance!
smile




Master of Sarcastic Wit
Linux User #182984

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (Olivier Galibert), 25 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,266
Posts121,303
Members5,064
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com