|
|
Joined: Apr 2006
Posts: 737 Likes: 1
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 737 Likes: 1 |
Anytime I got the megadriv.c error recently, I found that running make without any -j flag allowed me to complete compile. Not sure why, though.
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
What could it be? SVN r7890, Windows, 32-bit, MinGW (GCC 4.4.3) downloaded from mamedev.org, clean compilation using either make TARGET=mess or make TARGET=mess tools I get this error:
Compiling src/mame/drivers/megadriv.c...
src/mame/drivers/megadriv.c: In function 'void driver_init_x32x(running_machine*
)':
src/mame/drivers/megadriv.c:6577: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [obj/windows/mess/mame/drivers/megadriv.o] Error 1
SVN r7890 compile is working for me (GCC 4.4.3 32-bit, WinXP Pro SP3) make TARGET=mess make TARGET=mess tools You really make a clean compile ? Try to make all (src + obj)new. Meanwhile, you can use bobz daily SVN build .
Last edited by Anna Wu; 04/24/10 01:37 PM.
|
|
|
|
Joined: Aug 2004
Posts: 1,458 Likes: 9
Very Senior Member
|
Very Senior Member
Joined: Aug 2004
Posts: 1,458 Likes: 9 |
I fixed this in r7884, by changing _32x to x32x, seems the compiler doesn't like the underscore.
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Uhh, no. That error means your RAM is faulty and/or overheated. Changing random things about the code (e.g. the underscore) may make it succeed for a time, but it's not actually fixing the problem and it makes the code uglier. (This is why building without -j helps - the CPU is working less and the system is cooler).
Last edited by R. Belmont; 04/24/10 02:45 PM.
|
|
|
|
Joined: Aug 2009
Posts: 671
Senior Member
|
Senior Member
Joined: Aug 2009
Posts: 671 |
Hi I had the same problem. But it only started after moving to 0.137. 0.136 didn't had this problem.
|
|
|
|
Joined: Sep 2007
Posts: 40
Member
|
Member
Joined: Sep 2007
Posts: 40 |
On my Pentium 4 HT the problem, which persisted when building without -j, has been solved by adding -j2.
|
|
|
|
Joined: Dec 1999
Posts: 1,180 Likes: 2
Very Senior Member
|
Very Senior Member
Joined: Dec 1999
Posts: 1,180 Likes: 2 |
I'm not quick to rule out genuine bugs in GCC these days....
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
ICEs that only happen sometimes on some machines are hardware faults 9 times out of 10.
|
|
|
|
Joined: Dec 2006
Posts: 534
Senior Member
|
Senior Member
Joined: Dec 2006
Posts: 534 |
r7892 Fujitsu FM-Towns Rainbow Islands Extra Version (locks up after first island) Death Brade (music doesn't work, scrolling issues) Viewpoint (offset graphics)
- Barry Rodewald
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Very cool
|
|
|
3 members (AJR, 2 invisible),
315
guests, and
1
robot. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,320
Posts121,930
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|
|