[uae] Re: problem compiling

  • From: Martin Garton <martin@xxxxxxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 8 Apr 2004 11:03:03 +0100 (BST)

On Wed, 7 Apr 2004, Giorgio Moscardi wrote:

> btw, i got another problem during the rest of the compilation:
> gcc -I../src/include -I../src -I../src -I.. -c -O2 -fomit-frame-pointer  
> -Wall 
> -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -O2 
> -march=i486 -mcpu=i686  -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 
> -DUNALIGNED_PROFITABLE -fno-strength-reduce 
> -DREGPARAM="__attribute__((regparm(3)))" -DOPTIMIZED_FLAGS -DX86_ASSEMBLY 
> -DJIT -DNATMEM_OFFSET=0x50000000 -I/usr/include/SDL -D_REENTRANT -DUSE_SDL 
> -DNO_MAIN_IN_MAIN_C -DAGA -DAUTOCONFIG -DFILESYS -DUAE_FILESYS_THREADS 
> -DSCSIEMU -DCDTV -DCD32 -DBSDSOCKET -DSUPPORT_THREADS -DENFORCER   cpuemu_6.c 
> -o cpuemu_6.o
> gcc: Internal error: Killed (program cc1)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> distcc[20649] ERROR: compile on zero failed
> make[3]: *** [cpuemu_6.o] Error 1
> make[3]: Leaving directory `/tmp/uae-0.8.25-20040302/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/uae-0.8.25-20040302/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/uae-0.8.25-20040302/src'
> make: *** [all-recursive] Error 1

I got this on a "low" memory machine (64Mb). How much memory do you have?  

My solution on the machine in question was to use an older gcc. (ie,
2.9x.x) Not ideal, I know, but worked for me.

Regards,
Martin.



Other related posts: