[flext] ARM Linux crash unless -O0 used
Jamie Bullock
jamie at jamiebullock.com
Mon Mar 31 14:24:42 UTC 2014
Hi,
I'm trying to build a flext library for the Udoo Quad platform, which uses an Ubuntu variant on ARM...
$ uname -a
Linux udoo 3.0.35 #1 SMP PREEMPT Mon Mar 3 15:17:07 CET 2014 armv7l armv7l armv7l GNU/Linux
If I compile with -O0, everything works fine. However with O2 or O3 I get a crash as soon as the library loads.
Unfortunately this means getting a useful backtrace is difficult:
Program received signal SIGBUS, Bus error.
0x2b09d32c in ?? () from ./ml.pd_linux
(gdb) bt
#0 0x2b09d32c in ?? () from ./ml.pd_linux
#1 0x2ac5d418 in malloc () from /lib/arm-linux-gnueabi/libc.so.6
#2 0x00000008 in ?? ()
#3 0x00000008 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Any ideas?
Jamie
More information about the flext
mailing list