[flext] ARM Linux crash unless -O0 used

Thomas Grill gr at grrrr.org
Mon Mar 31 21:18:33 UTC 2014


No idea,
but i'll start compiling for the Beaglebone black soon. Let's see...
gr~~~


Am 31.03.2014 um 16:24 schrieb Jamie Bullock <jamie at jamiebullock.com>:

> 
> 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
> 
> 
> _______________________________________________
> http://grrrr.org/ext/flext
> 
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://grrrr.org/pipermail/flext/attachments/20140331/2b394a74/attachment.sig>


More information about the flext mailing list