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

Re: Problem with g++-4.0



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.


[]
Jose Carlos


Justin Pryzby escreveu:

Hi, All

Im mantainer of visualboyadvance and I have this bug

*http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334235*

This ocour when I try to compile "vba"  against g++4.0

If I try to compile with g++3.0  , I have no errors.

What Can I do ? just force compile with g++3.0 :? or ope a bug against g++4.0 ?
Could you test with g++-3.4?  3.4 and 4.0 have the same ABI, so 3.4 is
at least acceptible (though not ideal).  If 3.4 works then a temporary
workaround is to build-depend on that, plus ensuring that you actually
use it (and not just "g++"), and filing a bug on gcc-4.0.

Justin




--
José Carlos do Nascimento <josecarlos.nascimento@varig.com>
Analista de Sistemas
VARIG Brazilian Airlines - SAODT
GGTI - Gerencia Geral de Tecnologia da Informação
Tel.: + 55-0XX-11-5091-2632



Reply to: