Page 2 of 3 < 1 2 3 >
Topic Options
#78889 - 05/08/12 07:23 PM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
Good news, couriersud's workaround works (I need to add it for ARM builds next ;-) The next version should build unattended on PowerPC.

Top
#79453 - 05/22/12 10:12 PM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
MacBox360 Offline
Member

Registered: 01/20/07
Posts: 55
I can confirm that 0.146 builds flawlessy on my G4 PPC with OSX 10.5.8 without errors or exceptions.
A very good job, really, a well done release! :-) Compliments!

Top
#79454 - 05/22/12 10:13 PM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
Yup, I've been building on my G5 pretty much every time someone changed something to make sure pies stayed away from my face on this one ;-)

Top
#79813 - 06/03/12 03:55 AM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
And now we have a new breakage on PPC OSX. Vas Crabb, any idea on this one?

Code:
Linking mame...
ld: bl out of range (-16839504 max is +/-16M) from __static_initialization_and_destruction_0(int, int)at 0x036DDDC0 in __StaticInit of obj/sdl/mame/atari.a(asteroid.o) to __Z16malloc_file_linemPKci$island_2 at 0x026CEAAC in __text of  mame in __static_initialization_and_destruction_0(int, int)from obj/sdl/mame/atari.a(asteroid.o)
collect2: ld returned 1 exit status
make: *** [mame] Error 1

Top
#79814 - 06/03/12 05:22 AM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
Vas Crabb Offline
Very Senior Member

Registered: 02/08/04
Posts: 1381
Loc: Sydney, Australia
It means the code has grown too large for relative jump instructions to reach all of it. You could try building with options to produce branch islands. I think you give "-mlongcall" to the GCC when compiling (calls are slower, but code can grow bigger).

Top
#79850 - 06/04/12 03:39 AM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
-mlongcall is the right flag according to docs, but it didn't help frown

Top
#80407 - 07/04/12 05:51 PM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
MacBox360 Offline
Member

Registered: 01/20/07
Posts: 55
I have a suggestion, just an idea, I hope it might help.
Since there are a number of drivers that require so much computation power that older PPC machines can't simply satisfy, a solution could be to exclude from compilation some drivers in order to mantain the code smaller enough to remain within the limits of the GCC compiler.
If one of the goal of MAME project is not only the preservation but also the playability it has little sense to play (on legacy systems like the PowerMacs) a game that can't go over few FPS with scattering graphics and jerky sounds.
The idea is to have a check during the compilation that say: "if the target is a Mac PPC then skip from build SEGA Model 3, Naomi, Namco PS2, Chihiro, and so on..."
I don't know what other Mac (PPC) MAME users around think about that, but in my humble opinion this could be a good way to still benefit from (usable) driver progress without have to deal with code too much heavy to be useful for playing.

Top
#80432 - 07/05/12 07:16 PM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: MacBox360]
Just Desserts Offline
Very Senior Member

Registered: 05/23/09
Posts: 1237
Originally Posted By: MacBox360
I have a suggestion, just an idea, I hope it might help.
Since there are a number of drivers that require so much computation power that older PPC machines can't simply satisfy, a solution could be to exclude from compilation some drivers in order to mantain the code smaller enough to remain within the limits of the GCC compiler.


That's a terrible idea, and the MAME team is not going to do that.

Originally Posted By: MacBox360
If one of the goal of MAME project is not only the preservation but also the playability


I'm going to stop you right there and inform you that the goal of the MAME project has never, EVER, EVER been about "playability" as well as preservation. It has ALWAYS been about preservation ONLY.

Top
#80433 - 07/05/12 07:54 PM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
Oh, I wouldn't say flat out that we're not going to, but it certainly adds some variables to the "do I continue to push that stone up the hill" calculus. 0.146 final may simply be declared end of the line - as far as I know most other projects gave up on PPC OS X a year or more ago.

Top
#80437 - 07/06/12 07:42 AM Re: 0.145u7 does NOT compile on PowerPC OS X [Re: R. Belmont]
MacBox360 Offline
Member

Registered: 01/20/07
Posts: 55
@Just Desserts: I agree for the most part, the goal of MAME project is out of question but here we are discussing about a way to (and limited to a specific MAME port: the OSX PPC build) to still permit a compilation reducing the number of driver cutting out the most hungry in term of computation power.
I think a similar thing is already done for some MAME ports like the handhelds or the Nintendo Wii so it is only a choice of the programmer that do the port for a specific platform, this can or cannot be approved by the core MAME team, but the final user of those devices is more than happy to can play at least the good oldies on its platform.

@R.Belmont: Since I am a Mac Intel user too I could easily agree (speaking for me only) in dropping the OSX PPC support but if some classic driver refinements will be done in future development (and there will be for sure) it would be a pity to cannot benefit from this because of some heavy drivers (we are AGAIN speaking only of a specific port, NOT the MAME core project) take space in building process keeping the executable from be done.

Mr. Belmont (and other few developers) have done an enormous and great done work in keeping alive the PPC support for SDLMAME and for that we will be grateful forever. The choice could be at this point if going ahead leaving behind some drivers that legacy hardware could not simply run in useful way or dropping the OSX/PPC support at all: we will miss it but life (and technology) goes on.

Anyway, thanks again for all the PPC fun! ;-)

Top
Page 2 of 3 < 1 2 3 >


Moderator:  R. Belmont 
Who's Online
7 registered (Haze, Phil Bennett, Pernod, Tafoid, etabeta78, Dr.Venom, LoganB), 17 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4345 Members
9 Forums
7224 Topics
87049 Posts

Max Online: 183 @ 03/06/12 06:21 PM