[SDL] gcc generating illegal instructions
A-Steinhoff at web.de
Sat Jan 3 03:07:10 PST 2009
"Donny Viszneki" <donny.viszneki at gmail.com> schrieb am 03.01.2009 01:10:39:
> On Fri, Jan 2, 2009 at 6:50 PM, Sam Lantinga <slouken at devolution.com> wrote:
> > What is the backtrace? What are the compiler options being used to build SDL?
Good point ... I had recently problems with the -O2 optimization with access to PCI interfaces.
An other point could be the configuration of the data segment ... if a string is overwriting the assigned space of a character array it is possible that this makes no visible problems with an older gcc. But with gcc 4.x the application will crash ... happened to me recently. As you know: absent of failures doesn't mean your code is error free ...
> On Fri, Jan 2, 2009 at 6:50 PM, Albert Zeyer
> <albert.zeyer at rwth-aachen.de> wrote:
> > Such errors could also indicate some hardware problems or too less memory. I
> > often had similar errors when I tried to compile a very big package (like
> > KDE or Qt) with only 256MB of memory.
> Yeah I hope there's nothing wrong with my machine. I've never heard of
> that second thing though. Both possibilities are a little scary.
> > If you are sure that is not the case for you, perhaps post the problem in
> > the GCC bugtracker.
> I'm certainly considering it. In the meantime I've found that if I use
> doubles instead of floats, the problem doesn't seem to show up. In any
> case I'll be sure to try to put together a test case at some point in
> the future -- but I doubt that will be today.
> Maybe I'll run a memory test overnight...
> SDL mailing list
> SDL at lists.libsdl.org
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
More information about the SDL