[maemo-developers] [maemo-developers] Strange behavior with -O3 CFLAGS on ARM

From: Gustavo Barbieri barbieri at gmail.com
Date: Tue Aug 9 14:09:55 EEST 2005
On 8/8/05, Rudá Moura <ruda.moura at indt.org.br> wrote:
> Hello list,
> 
> I was amazed by a (possible) nasty bug in Pygame for ARM architecture.
> Whenever I try to open and close pygame.mixer module and then exiting
> the Python interpreter I got a segmentation fault. This isn't happening
> on i386 architecture.
> 
> I thought it could be a bug in Pygame so I started to debug it. Then I
> realize that compiling without optimizations the bug was not triggered.
> Well, in resume: pygame was never the problem, the problem was in
> compiling Python 2.4 with -O3 CFLAGS and then compiling PyGame with -O3,
> this just make bugged code for ARM. So I recompiled everything with -O2
> CFLAGS to be more conservative.
> 
> Anyone having problem with -O3 on ARM?

Hum... maybe that's the problem with my "test" pygame. It does opened
the sound mixer even if it didn't use it.

-- 
Gustavo Sverzut Barbieri
---------------------------------------
Computer Engineer 2001 - UNICAMP
GPSL - Grupo Pro Software Livre
Cell..: +55 (19) 9165 8010
Jabber: gsbarbieri at jabber.org
  ICQ#: 17249123
   MSN: barbieri at gmail.com
 Skype: gsbarbieri
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net

More information about the maemo-developers mailing list