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

Re: Problem with g++-4.0



Jose Carlos do Nascimento wrote:

> Hi, Justin,
> 
> I tested with g++ 3.4  but I get error :(
> 
> look.
> 
> /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
> 
> I compiled with gcc3.0 and all works ok.
> 
> I will open bug against gcc4 and gcc3.4.

This looks much more likely to be a linker (package "binutils") bug.

-- 
ksig --random|



Reply to: