[maemo-developers] [maemo-developers] Strange behavior with -O3 CFLAGS on ARM
From: Rudá Moura ruda.moura at indt.org.brDate: Tue Aug 9 00:02:12 EEST 2005
- Previous message: [maemo-developers] wlan rfmon
- Next message: [maemo-developers] Strange behavior with -O3 CFLAGS on ARM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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? This is my setup: - scratchbox 0.9.8.4, gcc 3.3.4, libc 2.3.2, python 2.4, pygame 1.6. Rudá
- Previous message: [maemo-developers] wlan rfmon
- Next message: [maemo-developers] Strange behavior with -O3 CFLAGS on ARM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]