[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336225: g++ needs lots of RAM.



Package: g++-4.0
Version: 4.0.2-1
Severity: important

kernel: 2.6.8-2-686
libc6: 2.3.5-7

Hi,,

Im, mantainer of VisualBoyAdvance  and I have this bug.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334235
look at end of this email,,  I copy bug in it.

I cant compile vba with g++-4.0 or g++-3.4,
Vba just can be compiled with g++-3.3.

With g++4  ,  a lot of memory was dispended and program do not compile.

with g++3.4  ,  vba compile, and after a  while , i received this error

/usr/bin/g++-3.4 -fno-exceptions -I/usr/include/SDL -D_REENTRANT -g
-O2 -DPROFILING -DMMX -DDEV_VERSION   -o VisualBoyAdvance  SDL.o
debugger.o 2xSaI.o Cheats.o EEprom.o Flash.o GBA.o Gfx.o Globals.o
Mode0.o Mode1.o Mode2.o Mode3.o Mode4.o Mode5.o RTC.o Sound.o Sram.o
Text.o Util.o admame.o agbprint.o armdis.o bilinear.o bios.o elf.o
expr-lex.o expr.o exprNode.o getopt.o getopt1.o hq2x.o interframe.o
memgzio.o motionblur.o pixel.o remote.o scanline.o simple2x.o unzip.o
../gb/libgb.a ../prof/libprof.a ../i386/lib386.a -L/usr/lib -lSDL
-lpthread -lpthread -lpng -lz
`.gnu.linkonce.t._Z14CPUWriteMemoryjj' referenced in section `.rodata'
of GBA.o: defined in discarded section
`.gnu.linkonce.t._Z14CPUWriteMemoryjj' of GBA.o
`.gnu.linkonce.t._Z14CPUWriteMemoryjj' referenced in section `.rodata'
of GBA.o: defined in discarded section
`.gnu.linkonce.t._Z14CPUWriteMemoryjj' of GBA.o
`.gnu.linkonce.t._Z14CPUWriteMemoryjj' referenced in section `.rodata'
of GBA.o: defined in discarded section
`.gnu.linkonce.t._Z14CPUWriteMemoryjj' of GBA.o


----------
Your package is failing to build on some arches because g++ seems
to need lots of RAM.  On arm and mipsel it failed with a message
like:
cc1plus: out of memory allocating 616522820 bytes after a total of
47400632 byt es
make[3]: *** [GBA.o] Error 1

While on amd64, it gets OOM killed (after using more than 1 GB of
RAM) and you get:
g++: Internal error: Killed (program cc1plus)
---------------

Thanks,
Jose Carlos



Reply to: