MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: mame 0152 running on ARM produces segmentation fault
02/20/14 06:20 PM


(awesomeness snipped, read his post for details)

> Technically resource_pool is relying on non-portable behavior, but fixing it the
> "right" way would mean rearranging a bunch of the memory allocation code so that the
> memory_entry gets populated after g++ fixes up the pointer. Or just do the simple
> workaround -- add an ARM-specific #ifdef that uses 8 instead of sizeof(size_t), and
> cross your fingers that g++ never needs padding on other platforms.

Fantastic! This should be able to get us moving forward again on ARM. Now where'd I put my ARM OLPC?







Entire thread
Subject Posted by Posted on
* mame 0152 running on ARM produces segmentation fault ole 02/09/14 11:33 PM
. * Re: mame 0152 running on ARM produces segmentation fault MooglyGuy  02/12/14 10:34 AM
. * Re: mame 0152 running on ARM produces segmentation fault ole  02/16/14 03:56 AM
. * Re: mame 0152 running on ARM produces segmentation fault R. Belmont  02/12/14 05:51 PM
. * Re: mame 0152 running on ARM produces segmentation fault sz72  02/11/14 10:58 PM
. * Re: mame 0152 running on ARM produces segmentation fault ole  02/16/14 03:28 AM
. * Re: mame 0152 running on ARM produces segmentation fault R. Belmont  02/18/14 05:47 PM
. * Re: mame 0152 running on ARM produces segmentation fault AnonymousDeveloper  02/20/14 04:55 AM
. * Re: mame 0152 running on ARM produces segmentation fault R. Belmont  03/11/14 06:09 PM
. * Re: mame 0152 running on ARM produces segmentation fault R. Belmont  02/20/14 06:20 PM
. * Re: mame 0152 running on ARM produces segmentation fault ole  02/19/14 12:51 AM
. * Re: mame 0152 running on ARM produces segmentation fault not6  03/13/14 12:42 AM
. * Re: mame 0152 running on ARM produces segmentation fault R. Belmont  02/12/14 05:52 PM
. * Re: mame 0152 running on ARM produces segmentation fault R. Belmont  02/10/14 08:16 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 38 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 6739