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

Re: Problem with g++-4.0



On Tue, Nov 01, 2005 at 03:21:27PM -0500, Nathanael Nerode wrote:
> 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
> > `.gnu.linkonce.t._Z14CPUWriteMemoryjj' referenced in section `.rodata'
> > of GBA.o: defined in discarded section
> > 
> > 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.
Why do you say that?  I was going to send an email that said the same
thing, but couldn't justify it, so stopped halfway through.

Jose, what happens if you use different compile options?  For both the
compile and the link.

-- 
Clear skies,
Justin



Reply to: